| makVrf::DtSimRemoteEntityNetInterface::DtSimRemoteEntityNetInterface |
( |
| ) |
|
|
private |
read/writable constructor
| virtual makVrf::DtSimRemoteEntityNetInterface::~DtSimRemoteEntityNetInterface |
( |
| ) |
|
|
virtual |
destructor; calls destroyPublisher()
assignment operator; see note on copy constructor above
| virtual bool makVrf::DtSimRemoteEntityNetInterface::init |
( |
| ) |
|
|
virtual |
override of base class init(). Registers for post update callbacks on reflected object.
| virtual void makVrf::DtSimRemoteEntityNetInterface::onTick |
( |
| ) |
|
|
virtual |
| virtual void makVrf::DtSimRemoteEntityNetInterface::updateFromReflectedObject |
( |
| ) |
|
|
pure virtual |
| virtual void makVrf::DtSimRemoteEntityNetInterface::setupFromNetworkRepository |
( |
| ) |
|
|
virtual |
initializes parts of the local repository from the network state rep. This needs to be done after the call to setReflectedObject()
| virtual void makVrf::DtSimRemoteEntityNetInterface::setReflectedObject |
( |
DtReflectedObject * |
reflectedObject | ) |
|
|
virtual |
For local entities, a publisher can be created or supplied via a set<>Publisher call. For remote entities a reflected object is used instead, and must always be supplied (there is no create equivalent to the local entity network interface). This function also sets the network state repository pointer (myBaseNetworkState) to the repository created by this reflected object.
| virtual void makVrf::DtSimRemoteEntityNetInterface::clearReflectedObject |
( |
| ) |
|
|
virtual |
| virtual void makVrf::DtSimRemoteEntityNetInterface::toBeRemoved |
( |
| ) |
|
|
virtual |
| virtual const DtReflectedObject* makVrf::DtSimRemoteEntityNetInterface::reflectedObject |
( |
| ) |
const |
|
virtual |
- Returns
- The pointer to the VR-Link reflected object being used to represent this remote entity
| virtual DtReflectedObject* makVrf::DtSimRemoteEntityNetInterface::reflectedObject |
( |
| ) |
|
|
virtual |
| virtual bool makVrf::DtSimRemoteEntityNetInterface::isLocal |
( |
| ) |
const |
|
inlinevirtual |
| virtual void makVrf::DtSimRemoteEntityNetInterface::setUpdateReceived |
( |
bool |
updateReceived | ) |
|
|
virtual |
Setting update received to true will cause updateFromRemoteObject() to be called on the next tick.
| virtual bool makVrf::DtSimRemoteEntityNetInterface::updateReceived |
( |
| ) |
const |
|
virtual |
Check to see if an update has been received from the network.
This function will return the objNetInterface passed in, cast to a DtSimRemoteEntityNetInterface*, provided the objNetInterface is indeed an remote entity network interface.
| static void makVrf::DtSimRemoteEntityNetInterface::reflectedObjectUpdateCallbackFunction |
( |
DtReflectedObject * |
obj, |
|
|
void * |
userData |
|
) |
| |
|
static |
| virtual void makVrf::DtSimRemoteEntityNetInterface::updateUUIDIfNeeded |
( |
| ) |
|
|
virtual |
| virtual bool makVrf::DtSimRemoteEntityNetInterface::wantsToCreatePublisher |
( |
| ) |
const |
|
inlinevirtual |
| virtual RTI::ObjectClassHandle makVrf::DtSimRemoteEntityNetInterface::objectClassHandle |
( |
| ) |
const |
|
virtual |
| virtual void makVrf::DtSimRemoteEntityNetInterface::initializeRemoteStateComponents |
( |
| ) |
|
|
protectedvirtual |
| bool makVrf::DtSimRemoteEntityNetInterface::myUpdateReceived |
|
protected |
Set to true by post-update callback; set to false after update has been processed.
The documentation for this class was generated from the following file: