|
VR-Engage
2.2
|
#include <cigiSimEntityPositionPublisher.h>
Public Member Functions | |
| DtCigiSimEntityPositionPublisher () | |
| virtual | ~DtCigiSimEntityPositionPublisher () override |
| virtual Cigi_uint16 | cigiId () const override |
Public Member Functions inherited from makVre::DtCigiPublisherTemplate< CigiBaseEntityPositionCtrl, DtCigiSimEntityPositionPublisher, DtCigiSimEntityComponentPublisherBase > | |
| DtCigiPublisherTemplate () | |
| virtual | ~DtCigiPublisherTemplate () override |
| CigiData * | cigi () |
| CigiData *const | cigi () const |
| CigiData * | shared () |
| CigiData *const | shared () const |
Public Member Functions inherited from makVre::DtSpSubClass< DtCigiSimEntityPositionPublisher, DtCigiSimEntityComponentPublisherBase > | |
| DtSpSubClass () | |
| virtual | ~DtSpSubClass () |
| Sptr | self () |
| std::string | type () const override |
Public Member Functions inherited from makVre::DtCigiSimEntityComponentPublisherBase | |
| DtCigiSimEntityComponentPublisherBase () | |
| virtual | ~DtCigiSimEntityComponentPublisherBase () override |
| virtual DtCigiSimEntityPublisher::Sptr | parentEntity () |
| virtual DtSimObjectReference | simObject () |
| virtual std::string | sharedKey () override |
Public Member Functions inherited from makVre::DtSpSubClass< DtCigiSimEntityComponentPublisherBase, DtCigiPublisherBase > | |
| DtSpSubClass () | |
| Sptr | self () |
Public Member Functions inherited from makVre::DtCigiPublisherBase | |
| DtCigiPublisherBase () | |
| virtual | ~DtCigiPublisherBase () override |
| DtCigiDataBase * | shared () |
| DtCigiDataBase *const | shared () const |
| virtual bool | init () override |
| virtual void | setEnabled (bool enabled) |
| virtual bool | enabled () const |
| virtual void | tick (double dt) |
| template<class CHILD_T> | |
| std::shared_ptr< CHILD_T > | addNewChild (const std::string &name="") |
| virtual bool | addChild (Sptr child) override |
| virtual void | publish (CigiOutgoingMsg &out) |
| virtual void | setNeedsReceiptConfirmation (bool needs) |
| virtual bool | needsReceiptConfirmation () const |
| virtual void | receiptConfirmed () |
| virtual double | lastSent () |
| virtual void | markDirty (bool childrenToo=false) |
| virtual void | markClean (bool childrenToo=false) |
Public Member Functions inherited from makVre::DtSpSubClass< DtCigiPublisherBase, DtTreeClass< DtCigiPublisherBase, DtCigiObjectBase > > | |
| DtSpSubClass () | |
| Sptr | self () |
Public Member Functions inherited from makVre::DtTreeClass< DtCigiPublisherBase, DtCigiObjectBase > | |
| DtTreeClass () | |
| virtual | ~DtTreeClass () override |
| virtual void | setOwnsChildren (bool owns) |
| virtual bool | ownsChildren () |
| virtual bool | removeChild (Sptr child) |
| virtual void | removeAllChildren () |
| virtual bool | forEachChild (ForChildFn fn) |
| virtual Sptr | findChild (FindChildFn fn) |
| virtual Sptr | findChild (const std::string &name) |
| virtual bool | isChild (Sptr child) |
| virtual unsigned int | numChildren () |
| virtual bool | hasChildren () |
| virtual Sptr | parent () |
Public Member Functions inherited from makVre::DtSpSubClass< DtCigiPublisherBase, DtCigiObjectBase > | |
| DtSpSubClass () | |
| Sptr | self () |
Public Member Functions inherited from makVre::DtCigiObjectBase | |
| DtCigiObjectBase () | |
| virtual | ~DtCigiObjectBase () override |
| CigiData * | cigi () |
| CigiData *const | cigi () const |
| virtual Cigi_uint16 | cigiType () |
| virtual Sptr | setSession (DtCigiSession &session) |
| virtual DtCigiSession & | session () const |
| virtual unsigned int | sessionVersion () const |
| virtual void | markDirty () |
| virtual void | markClean () |
| virtual bool | isDirty () const |
Public Member Functions inherited from makVre::DtSpSubClass< DtCigiObjectBase > | |
| DtSpSubClass () | |
| Sptr | self () |
Public Member Functions inherited from makVre::DtSpObject | |
| DtSpObject () | |
| virtual | ~DtSpObject () |
| Sptr | self () |
| virtual void | setName (const std::string &name) |
| virtual std::string | name () const |
Protected Member Functions | |
| virtual void | setCigiId (Cigi_uint16 id) override |
| virtual void | updateShared () override |
| virtual void | updateCigi () override |
Protected Member Functions inherited from makVre::DtCigiPublisherTemplate< CigiBaseEntityPositionCtrl, DtCigiSimEntityPositionPublisher, DtCigiSimEntityComponentPublisherBase > | |
| DtCigiDataBase * | createCigi () override |
| bool | verifySharedType () override |
Protected Member Functions inherited from makVre::DtCigiSimEntityComponentPublisherBase | |
| virtual void | initCigi () override |
Protected Member Functions inherited from makVre::DtCigiPublisherBase | |
| virtual void | setupShared () |
| virtual void | initShared () |
| virtual void | write (CigiOutgoingMsg &out) |
| virtual void | createChildren () |
| virtual void | tickChildren (double dt) |
| virtual void | publishChildren (CigiOutgoingMsg &out) |
Protected Member Functions inherited from makVre::DtTreeClass< DtCigiPublisherBase, DtCigiObjectBase > | |
| virtual void | setParent (Sptr parent) |
| virtual void | pruneChildren () |
Protected Member Functions inherited from makVre::DtCigiObjectBase | |
| DtCigiDataBase * | cigiBase () |
| DtCigiDataBase *const | cigiBase () const |
| template<typename VALUE_T> | |
| bool | updateValue (VALUE_T *value, VALUE_T source) |
|
inline |
|
inlineoverridevirtual |
|
overridevirtual |
Implements makVre::DtCigiSimEntityComponentPublisherBase.
|
overrideprotectedvirtual |
Implements makVre::DtCigiSimEntityComponentPublisherBase.
|
overrideprotectedvirtual |
Derived Publisher classes should override updateShared() to update values in the shared CIGI data object.
updateShared() is called only by the first Publisher for each shared data instance to publish() during each Host frame.
Reimplemented from makVre::DtCigiPublisherBase.
|
overrideprotectedvirtual |
Derived Publisher classes should override updateCigi() to update values in the CIGI data.
If shared data is used, the expected pattern is to copy values from shared data into CIGI data at this point. updateShared() is called, if necessary, before updateCigi() so that shared data contains the most recent object state.
updateCigi() is called during publish(), before write(). updateCigi() is expected to set the dirty flag true if there are changes to the CIGI data. write() will be called only if this Publisher is marked dirty.
Reimplemented from makVre::DtCigiPublisherBase.