SyDEVS  v0.6.5
Multiscale Simulation and Systems Modeling Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sydevs::systems::port< dmode, dgoal, T > Class Template Reference

A generic port class template declaration. More...

#include <port.h>

Inherits sydevs::systems::port_base< dmode, dgoal, T >.

Additional Inherited Members

- Public Member Functions inherited from sydevs::systems::port_base< dmode, dgoal, T >
 port_base (const port_base &)=delete
 No copy constructor. More...
 
port_baseoperator= (const port_base &)=delete
 No copy assignment. More...
 
 port_base (port_base &&)=default
 Move constructor. More...
 
port_baseoperator= (port_base &&)=default
 Move assignment. More...
 
virtual ~port_base ()=default
 Destructor. More...
 
const std::string & port_name () const
 Returns the name of the port. More...
 
int64 port_index () const
 Returns the index of the port within the encompassing node_interface object. More...
 
int64 node_index () const
 Returns the index of the node within the encompassing node_structure object. More...
 
const node_interfaceexternal_interface () const
 Returns the encomassing node_interface object. More...
 
- Protected Member Functions inherited from sydevs::systems::port_base< dmode, dgoal, T >
 port_base (const std::string &port_name, int64 port_index, node_interface &external_interface)
 

Detailed Description

template<data_mode dmode, data_goal dgoal, typename T>
class sydevs::systems::port< dmode, dgoal, T >

A generic port class template declaration.

port<dmode, dgoal> will never be instantiated, since all four possible combinations of dmode and dgoal values have associated template specializations.


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