SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
PortManager< T > Class Template Reference

#include <PortManager.h>

Inheritance diagram for PortManager< T >:

Public Member Functions

 PortManager ()
 
size_t size () const
 
size_t add (const T &item)
 
void remove (const PortId &id)
 
operator[] (const PortId &id) const
 
std::vector< T > operator[] (const std::string &name) const
 
bool hasPort (const PortId &id) const
 
void set_module (ModuleInterface *mod)
 
std::vector< T > view () const
 

Constructor & Destructor Documentation

Member Function Documentation

size_t add ( const T &  item)
Todo:
: who should manage port indexes?
bool hasPort ( const PortId id) const
T operator[] ( const PortId id) const
Todo:
: need a way to detect and create arbitrary dynamic ports from serialized files.
std::vector< T > operator[] ( const std::string &  name) const
void remove ( const PortId id)
void set_module ( ModuleInterface mod)
inline
size_t size ( ) const
std::vector< T > view ( ) const

The documentation for this class was generated from the following file: