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

bytestream_env.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 BYTESTREAM_ENV_H
00012 #define BYTESTREAM_ENV_H
00013 
00014 #include "yapi.h"
00015 #include "vya.h"
00016 #include "bytestream_args.h"
00017 
00018 class byteStreamEnv : public Process
00019 {
00020 public:
00021     // constructor
00022     byteStreamEnv(
00023         const Id&               n,
00024         In<byteStream_args_t>&  febeArgsF,
00025         Out<VYAfileName>&       fileNameF,
00026         Out<int>&               nrBytesF
00027     );
00028 
00029     // type member function
00030     const char* type() const;
00031 
00032     // main member function
00033     void main();
00034 
00035 private:
00036     InPort<byteStream_args_t>   febeArgsP;
00037     OutPort<VYAfileName>        fileNameP;
00038     OutPort<int>                nrBytesP;
00039 };
00040 
00041 #endif // BYTESTREAM_ENV_H

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