Main Page | Compound List | File List | Compound Members | File Members

bytestreambe.h

Go to the documentation of this file.
00001 /*--------------------------------------------------------------------
00002  *
00003  * (C) Copyright Koninklijke Philips Electronics NV 2006. 
00004  * All rights reserved. This software is licensed under the terms of
00005  * version 2.1 of the GNU Lesser General Public License as published 
00006  * by the Free Software Foundation. For licensing and warranty
00007  * information, see the file COPYING in the main directory.
00008  *
00009  *------------------------------------------------------------------*/
00010 
00011 #ifndef BYTESTREAMBE_H
00012 #define BYTESTREAMBE_H
00013 
00014 #include "yapi.h"
00015 #include "vya.h"
00016 
00017 class byteStreamBE : public VYAprocess
00018 {
00019 public:
00020     // constructor
00021     byteStreamBE(
00022         const Id&             n,
00023         In<VYAfileName>&      fileNameF,
00024         In<int>&              nrBytesF,
00025         In<unsigned char>&    byteStreamF
00026     );
00027 
00028     // type member function
00029     const char* type() const;
00030 
00031     // main member function
00032     void main();
00033 
00034 private:
00035     // formal parameters
00036     InPort<VYAfileName>       fileNameP;
00037     InPort<int>               nrBytesP;
00038     InPort<unsigned char>     byteStreamP;
00039 
00040     // member variables
00041     VYAfileName               fileName;
00042     int                       nrBytes;
00043 };
00044 
00045 #endif //BYTESTREAMBE_H

Generated on Wed Feb 15 14:52:43 2006 for bytestreamfebe by doxygen 1.3.2