adevs
Public Member Functions | Public Attributes | List of all members
adevs::PortValue< VALUE, PORT > Class Template Reference

#include <adevs_digraph.h>

Public Member Functions

 PortValue ()
 Constructor.
 
 PortValue (const PortValue &src)
 Copy constructor.
 
 PortValue (PORT port, const VALUE &value)
 Create an object with the specified port and value.
 
const PortValue< VALUE, PORT > & operator= (const PortValue< VALUE, PORT > &src)
 Assignment operator.
 
 ~PortValue ()
 Destructor.
 

Public Attributes

PORT port
 The port on which the value appears.
 
VALUE value
 The value appearing on the port.
 

Detailed Description

template<class VALUE, class PORT = int>
class adevs::PortValue< VALUE, PORT >

The components of a digraph model must use PortValue objects as their basic I/O type: the port and value types are template arguments. The default port type is an integer.


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