|
SyDEVS
v0.7
Simulation-based analysis of complex systems involving people, devices, physical elements, and dynamic environments.
|
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_base & | operator= (const port_base &)=delete |
| No copy assignment. More... | |
| port_base (port_base &&)=default | |
| Move constructor. More... | |
| port_base & | operator= (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_interface & | external_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) | |
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.