![]() |
VR-Link API Documentation for DIS
|
Instances of DtAggregateStateEncoder are used to take state information from an aggregate state repository and place it into an aggregate state PDU. More...
Inheritance diagram for DtAggregateStateEncoder:
Collaboration diagram for DtAggregateStateEncoder:Public Member Functions | |
| DtAggregateStateEncoder () | |
| Constructor. | |
| virtual | ~DtAggregateStateEncoder () |
| Destructor. | |
| DtAggregateStateEncoder (const DtAggregateStateEncoder &orig) | |
| Copy constructor. | |
| DtAggregateStateEncoder & | operator= (const DtAggregateStateEncoder &orig) |
| Assignment operator. | |
| virtual DtAggregateStatePdu * | stateMsg (const DtAggregateStateRepository &stateRep, const DtAggregateStateRepository &asSeenByRemote) |
| Constructs a PDU from the state repository. | |
Protected Member Functions | |
| virtual bool | sendNeeded (const DtAggregateStateRepository &stateRep, const DtAggregateStateRepository &asSeenByRemote) |
| Determine if a state message needs to be sent. | |
| virtual void | fillOut (const DtAggregateStateRepository &stateRep, const DtAggregateStateRepository &asSeenByRemote, DtAggregateStatePdu *pdu) |
| Fill out a state message which reflects a state repository. | |
Protected Attributes | |
| DtAggregateStatePdu | myAsPdu |
Instances of DtAggregateStateEncoder are used to take state information from an aggregate state repository and place it into an aggregate state PDU.
Constructor.
| virtual DtAggregateStateEncoder::~DtAggregateStateEncoder | ( | ) | [virtual] |
Destructor.
Copy constructor.
| virtual void DtAggregateStateEncoder::fillOut | ( | const DtAggregateStateRepository & | stateRep, |
| const DtAggregateStateRepository & | asSeenByRemote, | ||
| DtAggregateStatePdu * | pdu | ||
| ) | [protected, virtual] |
Fill out a state message which reflects a state repository.
| DtAggregateStateEncoder& DtAggregateStateEncoder::operator= | ( | const DtAggregateStateEncoder & | orig | ) |
Assignment operator.
| virtual bool DtAggregateStateEncoder::sendNeeded | ( | const DtAggregateStateRepository & | stateRep, |
| const DtAggregateStateRepository & | asSeenByRemote | ||
| ) | [protected, virtual] |
Determine if a state message needs to be sent.
| virtual DtAggregateStatePdu* DtAggregateStateEncoder::stateMsg | ( | const DtAggregateStateRepository & | stateRep, |
| const DtAggregateStateRepository & | asSeenByRemote | ||
| ) | [virtual] |
Constructs a PDU from the state repository.
stateMsg determines whether an Aggregate PDU needs to be sent and constructs one of it does.
DtAggregateStatePdu DtAggregateStateEncoder::myAsPdu [protected] |