An object that represents a data connection between entity components.
More...
#include <omEngineConnection.h>
An object that represents a data connection between entity components.
om::engine::base::Connection::Connection |
( |
| ) |
|
|
inline |
Create a new default connection that is not connected to anything.
om::engine::base::Connection::Connection |
( |
Connector * |
newConnector1, |
|
|
Connector * |
newConnector2 |
|
) |
| |
|
inline |
Create a new connection between the specified two connectors.
Connector* om::engine::base::Connection::getConnector1 |
( |
| ) |
const |
|
inline |
Return a pointer to the first connector in this connection, the source of the data.
void om::engine::base::Connection::setConnector1 |
( |
Connector * |
newConnector1 | ) |
|
|
inline |
Set a pointer to the first connector in this connection, the source of the data.
Connector* om::engine::base::Connection::getConnector2 |
( |
| ) |
const |
|
inline |
Return a pointer to the second connector in this connection, the source of the data.
void om::engine::base::Connection::setConnector2 |
( |
Connector * |
newConnector2 | ) |
|
|
inline |
Set a pointer to the second connector in this connection, the source of the data.
const Time& om::engine::base::Connection::getPeriod |
( |
| ) |
const |
|
inline |
Return the nominal period at which this connection should be updated during a simulation.
void om::engine::base::Connection::setPeriod |
( |
const Time & |
newPeriod | ) |
|
|
inline |
Set the nominal period at which this connection should be updated during a simulation.
Return a reference to an object that contains boolean parameters of the connection.
Return an object that contains boolean parameters of the connection.
void om::engine::base::Connection::setFlags |
( |
const ConnectionFlags & |
newFlags | ) |
|
|
inline |
Set an object that contains boolean parameters of the connection.
Return whether or not the specified boolan flag is set for this connection.
Return whether or not all of the specified boolan flags are set for this connection.
Set whether or not the specified boolan flag is set for this connection.
Bool om::engine::base::Connection::isDisabled |
( |
| ) |
const |
|
inline |
Return whether or not this connection is currently disabled.
Bool om::engine::base::Connection::getIsEnabled |
( |
| ) |
const |
|
inline |
Return whether or not this connection is currently enabled.
void om::engine::base::Connection::setIsEnabled |
( |
Bool |
newIsEnabled | ) |
|
|
inline |
Set whether or not this connection should be enabled.
The documentation for this class was generated from the following file: