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

The digraph model requires components to use PortValue objects as their basic I/O type.

Public Fields

[more]PORT port
The port on which the value appears
[more]VALUE value
The value appearing on the port

Public Methods

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


Documentation

The digraph model requires components to use PortValue objects as their basic I/O type. The port and value types are template arguments. The default port type is an integer.
o PortValue()
Constructor

o PortValue(const PortValue& src)
Copy constructor

o PortValue(PORT port, const VALUE& value)
Create an object with the specified port and value

oconst PortValue<VALUE,PORT> & operator=(const PortValue<VALUE, PORT>& src)
Assignment operator

o ~PortValue()
Destructor

oPORT port
The port on which the value appears

oVALUE value
The value appearing on the port


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.