Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

selectimpl.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 <sys/types.h>
00012 #include "selectimpl.h"
00013 #include "networkimpl.h"
00014 #include "portimpl.h"
00015 #include "baseRte.h"
00016 #include "rteselect.h"
00017 
00018 SelectImpl::SelectImpl(const IdBase& n) : SelectBase (n), impl(0)
00019 { 
00020   NetworkImpl::RTE()->create(*this);
00021 }
00022 
00023 SelectImpl::~SelectImpl()
00024 { 
00025   delete impl;
00026 }
00027 
00028 unsigned int SelectImpl::select() 
00029 {
00030   return impl->select();
00031 }
00032 
00033 void SelectImpl::pushBack(const InPortImpl& p, unsigned int n) 
00034 {
00035   impl->pushBack(p, n);
00036 }
00037 
00038 void SelectImpl::pushBack(const OutPortImpl& p, unsigned int n)
00039 {
00040   impl->pushBack(p, n);
00041 }
00042 
00043 rteSelect* SelectImpl::rte() const 
00044 { 
00045   return impl; 
00046 }

Generated on Wed Feb 15 14:52:39 2006 for yapi by doxygen 1.3.2