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

bytestreamexample.cc

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 #include "bytestreamexample.h"
00012 
00013 byteStreamExample::byteStreamExample(
00014     const Id& n,
00015     char* fefile,
00016     char* befile
00017 )
00018 :
00019     // network initialization
00020     ProcessNetwork(n),
00021 
00022     // fifo initialization
00023     argumentsIn(id("argumentsIn")),
00024     fileNameIn(id("fileNameIn")),
00025     nrBytesIn(id("nrBytesIn")),
00026 
00027     argumentsOut(id("argumentsOut")),
00028     fileNameOut(id("fileNameOut")),
00029     nrBytesOut(id("nrBytesOut")),
00030     
00031     byteStream(id("byteStream")),
00032 
00033     // process initialization
00034     frontEnd(
00035         id("frontEnd"),
00036         fileNameIn, 
00037         nrBytesIn,
00038         byteStream
00039     ),
00040     backEnd(
00041         id("backEnd"),
00042         fileNameOut, 
00043         nrBytesOut,
00044         byteStream
00045     ),
00046     controlFE(
00047         id("controlFE"), 
00048         argumentsIn,
00049         fileNameIn, 
00050         nrBytesIn
00051     ),
00052     controlBE(
00053         id("controlBE"), 
00054         argumentsOut,
00055         fileNameOut, 
00056         nrBytesOut
00057     ),
00058     bytestream_usrFE(
00059         id("bytestream_usrFE"),
00060         argumentsIn,
00061         fefile
00062     ),
00063     bytestream_usrBE(
00064         id("bytestream_usrBE"),
00065         argumentsOut,
00066         befile
00067     )
00068 {}

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