RaftLib  0.3a
C++ Stream Processing Template Library
portbase.hpp
1 
23 #ifndef _PORTBASE_HPP_
24 #define _PORTBASE_HPP_ 1
25 
26 #include "portiterator.hpp"
27 
28 class PortBase
29 {
30 public:
31  PortBase() = default;
32  virtual ~PortBase() = default;
43  virtual FIFO& operator[]( const std::string port_name ) = 0;
44 
50  virtual bool hasPorts() = 0;
57  virtual PortIterator begin() = 0;
64  virtual PortIterator end() = 0;
65 
66 };
67 #endif /* END _PORTBASE_HPP_ */
Definition: portbase.hpp:28
virtual PortIterator begin()=0
virtual PortIterator end()=0
Definition: fifo.hpp:41
Definition: portiterator.hpp:32
virtual bool hasPorts()=0
virtual FIFO & operator[](const std::string port_name)=0