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 RTESELECT_H 00012 #define RTESELECT_H 00013 00014 class InPortImpl; 00015 class OutPortImpl; 00016 00017 #include "selectimpl.h" 00018 00019 class rteSelect 00020 { 00021 public: 00022 rteSelect(SelectImpl& s); 00023 virtual ~rteSelect(); 00024 00025 const SelectImpl* api() const; 00026 00027 virtual void pushBack(const InPortImpl& p, unsigned int n) = 0; 00028 virtual void pushBack(const OutPortImpl& p, unsigned int n) = 0; 00029 00030 virtual unsigned int select() = 0; 00031 00032 protected: 00033 SelectImpl* base; 00034 }; 00035 00036 #endif