VR-Engage  2.2
Loading...
Searching...
No Matches
makVre::DtCigiSimEntityPublisherV4 Class Reference

#include <cigiSimEntityPublisherV4.h>

Inheritance diagram for makVre::DtCigiSimEntityPublisherV4:
[legend]

Public Member Functions

 DtCigiSimEntityPublisherV4 ()
 
virtual ~DtCigiSimEntityPublisherV4 () override
 
- Public Member Functions inherited from makVre::DtCigiPublisherTemplate< CigiEntityCtrlV4, DtCigiSimEntityPublisherV4, DtCigiSimEntityPublisher, DtCigiDataCreator >
 DtCigiPublisherTemplate ()
 
virtual ~DtCigiPublisherTemplate () override
 
CigiDatacigi ()
 
CigiData *const cigi () const
 
CigiDatashared ()
 
CigiData *const shared () const
 
- Public Member Functions inherited from makVre::DtSpSubClass< DtCigiSimEntityPublisherV4, DtCigiSimEntityPublisher >
 DtSpSubClass ()
 
virtual ~DtSpSubClass ()
 
Sptr self ()
 
std::string type () const override
 
- Public Member Functions inherited from makVre::DtCigiSimEntityPublisher
 DtCigiSimEntityPublisher ()
 
virtual ~DtCigiSimEntityPublisher () override
 
- Public Member Functions inherited from makVre::DtCigiPublisherTemplate< CigiBaseEntityCtrl, DtCigiSimEntityPublisher, DtCigiSimObjectPublisherBase >
 DtCigiPublisherTemplate ()
 
CigiDatacigi ()
 
CigiData *const cigi () const
 
CigiDatashared ()
 
CigiData *const shared () const
 
- Public Member Functions inherited from makVre::DtSpSubClass< DtCigiSimEntityPublisher, DtCigiSimObjectPublisherBase >
 DtSpSubClass ()
 
Sptr self ()
 
- Public Member Functions inherited from makVre::DtCigiSimObjectPublisherBase
 DtCigiSimObjectPublisherBase ()
 
virtual ~DtCigiSimObjectPublisherBase () override
 
virtual Sptr setEntityId (const DtEntityIdentifier &id)
 
virtual const DtEntityIdentifier & entityId () const
 
virtual std::string sharedKey () override
 
virtual DtSimObjectReference simObject () const
 
virtual bool init () override
 
- Public Member Functions inherited from makVre::DtSpSubClass< DtCigiSimObjectPublisherBase, DtCigiEntityPublisherBase >
 DtSpSubClass ()
 
Sptr self ()
 
std::string type () const override
 
- Public Member Functions inherited from makVre::DtCigiEntityPublisherBase
 DtCigiEntityPublisherBase ()
 
virtual ~DtCigiEntityPublisherBase () override
 
virtual Cigi_uint16 cigiId () const
 
- Public Member Functions inherited from makVre::DtCigiPublisherTemplate< CigiBaseEntityCtrl, DtCigiEntityPublisherBase >
 DtCigiPublisherTemplate ()
 
CigiDatacigi ()
 
CigiData *const cigi () const
 
CigiDatashared ()
 
CigiData *const shared () const
 
- Public Member Functions inherited from makVre::DtSpSubClass< DtCigiEntityPublisherBase, DtCigiPublisherBase >
 DtSpSubClass ()
 
Sptr self ()
 
- Public Member Functions inherited from makVre::DtCigiPublisherBase
 DtCigiPublisherBase ()
 
virtual ~DtCigiPublisherBase () override
 
DtCigiDataBaseshared ()
 
DtCigiDataBase *const shared () const
 
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
 
CigiDatacigi ()
 
CigiData *const cigi () const
 
virtual Cigi_uint16 cigiType ()
 
virtual Sptr setSession (DtCigiSession &session)
 
virtual DtCigiSessionsession () 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 initShared () override
 
virtual void initCigi () override
 
virtual void updateShared () override
 
virtual void updateCigi () override
 
- Protected Member Functions inherited from makVre::DtCigiPublisherTemplate< CigiEntityCtrlV4, DtCigiSimEntityPublisherV4, DtCigiSimEntityPublisher, DtCigiDataCreator >
DtCigiDataBasecreateCigi () override
 
bool verifySharedType () override
 
- Protected Member Functions inherited from makVre::DtCigiSimEntityPublisher
virtual void createChildren () override
 
- Protected Member Functions inherited from makVre::DtCigiEntityPublisherBase
virtual void tickChildren (double dt) override
 
virtual void publishChildren (CigiOutgoingMsg &out) override
 
virtual void unpublish ()
 
- Protected Member Functions inherited from makVre::DtCigiPublisherBase
virtual void setupShared ()
 
virtual void write (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
DtCigiDataBasecigiBase ()
 
DtCigiDataBase *const cigiBase () const
 
template<typename VALUE_T>
bool updateValue (VALUE_T *value, VALUE_T source)
 

Additional Inherited Members

- Public Types inherited from makVre::DtCigiPublisherTemplate< CigiEntityCtrlV4, DtCigiSimEntityPublisherV4, DtCigiSimEntityPublisher, DtCigiDataCreator >
using Cigi
 
using CigiData
 
- Public Types inherited from makVre::DtSpSubClass< DtCigiSimEntityPublisherV4, DtCigiSimEntityPublisher >
using Super
 
using Ptr
 
using Sptr
 
using Wptr
 
- Public Types inherited from makVre::DtCigiPublisherTemplate< CigiBaseEntityCtrl, DtCigiSimEntityPublisher, DtCigiSimObjectPublisherBase >
using Cigi
 
using CigiData
 
- Public Types inherited from makVre::DtSpSubClass< DtCigiSimEntityPublisher, DtCigiSimObjectPublisherBase >
using Super
 
using Ptr
 
using Sptr
 
using Wptr
 
- Public Types inherited from makVre::DtSpSubClass< DtCigiSimObjectPublisherBase, DtCigiEntityPublisherBase >
using Super
 
using Ptr
 
using Sptr
 
using Wptr
 
- Public Types inherited from makVre::DtCigiPublisherTemplate< CigiBaseEntityCtrl, DtCigiEntityPublisherBase >
using Cigi
 
using CigiData
 
- Public Types inherited from makVre::DtSpSubClass< DtCigiEntityPublisherBase, DtCigiPublisherBase >
using Super
 
using Ptr
 
using Sptr
 
using Wptr
 
- Public Types inherited from makVre::DtSpSubClass< DtCigiPublisherBase, DtTreeClass< DtCigiPublisherBase, DtCigiObjectBase > >
using Super
 
using Ptr
 
using Sptr
 
using Wptr
 
- Public Types inherited from makVre::DtTreeClass< DtCigiPublisherBase, DtCigiObjectBase >
using Sptr
 
using ForChildFn
 
using FindChildFn
 
- Public Types inherited from makVre::DtSpSubClass< DtCigiPublisherBase, DtCigiObjectBase >
using Super
 
using Ptr
 
using Sptr
 
using Wptr
 
- Public Types inherited from makVre::DtCigiObjectBase
using Cigi = CigiBasePacket
 
using CigiData = DtCigiDataTemplate<CigiBasePacket, DtCigiObjectBase>
 
using CigiBasePtr = std::shared_ptr<DtCigiDataBase>
 
- Public Types inherited from makVre::DtSpSubClass< DtCigiObjectBase >
using Super
 
using Ptr
 
using Sptr
 
using Wptr
 
- Public Types inherited from makVre::DtSpObject
using Ptr = DtSpObject*
 
using Sptr = std::shared_ptr<DtSpObject>
 
using Wptr = std::weak_ptr<DtSpObject>
 
- Static Public Member Functions inherited from makVre::DtSpSubClass< DtCigiSimEntityPublisherV4, DtCigiSimEntityPublisher >
static std::string Type ()
 
static std::shared_ptr< DtCigiSimEntityPublisherV4create ()
 
static void registerCreator ()
 
static std::shared_ptr< DtCigiSimEntityPublisherV4createVersion (unsigned int version)
 
static void registerCreatorVersion (unsigned int version)
 
- Static Public Member Functions inherited from makVre::DtSpSubClass< DtCigiSimEntityPublisher, DtCigiSimObjectPublisherBase >
static std::string Type ()
 
static std::shared_ptr< DtCigiSimEntityPublishercreate ()
 
static void registerCreator ()
 
static std::shared_ptr< DtCigiSimEntityPublishercreateVersion (unsigned int version)
 
static void registerCreatorVersion (unsigned int version)
 
- Static Public Member Functions inherited from makVre::DtSpSubClass< DtCigiSimObjectPublisherBase, DtCigiEntityPublisherBase >
static std::string Type ()
 
static std::shared_ptr< DtCigiSimObjectPublisherBasecreate ()
 
static void registerCreator ()
 
static std::shared_ptr< DtCigiSimObjectPublisherBasecreateVersion (unsigned int version)
 
static void registerCreatorVersion (unsigned int version)
 
- Static Public Member Functions inherited from makVre::DtSpSubClass< DtCigiEntityPublisherBase, DtCigiPublisherBase >
static std::string Type ()
 
static std::shared_ptr< DtCigiEntityPublisherBasecreate ()
 
static void registerCreator ()
 
static std::shared_ptr< DtCigiEntityPublisherBasecreateVersion (unsigned int version)
 
static void registerCreatorVersion (unsigned int version)
 
- Static Public Member Functions inherited from makVre::DtSpSubClass< DtCigiPublisherBase, DtTreeClass< DtCigiPublisherBase, DtCigiObjectBase > >
static std::string Type ()
 
static std::shared_ptr< DtCigiPublisherBasecreate ()
 
static void registerCreator ()
 
static std::shared_ptr< DtCigiPublisherBasecreateVersion (unsigned int version)
 
static void registerCreatorVersion (unsigned int version)
 
- Static Public Member Functions inherited from makVre::DtSpSubClass< DtCigiPublisherBase, DtCigiObjectBase >
static std::string Type ()
 
static std::shared_ptr< DtCigiPublisherBasecreate ()
 
static void registerCreator ()
 
static std::shared_ptr< DtCigiPublisherBasecreateVersion (unsigned int version)
 
static void registerCreatorVersion (unsigned int version)
 
- Static Public Member Functions inherited from makVre::DtSpSubClass< DtCigiObjectBase >
static std::string Type ()
 
static std::shared_ptr< DtCigiObjectBasecreate ()
 
static void registerCreator ()
 
static std::shared_ptr< DtCigiObjectBasecreateVersion (unsigned int version)
 
static void registerCreatorVersion (unsigned int version)
 
- Static Public Member Functions inherited from makVre::DtSpObject
template<class AS_T>
static std::shared_ptr< AS_T > cast (Sptr p)
 
template<class AS_T>
static std::shared_ptr< AS_T > unsafe_cast (Sptr p)
 
- Protected Types inherited from makVre::DtTreeClass< DtCigiPublisherBase, DtCigiObjectBase >
using Wptr
 
using OwnedChildList
 
using UnownedChildList
 
using ChildNameMap
 
- Static Protected Member Functions inherited from makVre::DtSpSubClass< DtCigiSimEntityPublisherV4, DtCigiSimEntityPublisher >
static std::shared_ptr< DtBaseCreator< DtCigiSimEntityPublisherV4 > > & creator ()
 
static std::shared_ptr< DtBaseCreator< DtCigiSimEntityPublisherV4 > > & creatorVersion (unsigned int version)
 
- Static Protected Member Functions inherited from makVre::DtSpSubClass< DtCigiSimEntityPublisher, DtCigiSimObjectPublisherBase >
static std::shared_ptr< DtBaseCreator< DtCigiSimEntityPublisher > > & creator ()
 
static std::shared_ptr< DtBaseCreator< DtCigiSimEntityPublisher > > & creatorVersion (unsigned int version)
 
- Static Protected Member Functions inherited from makVre::DtSpSubClass< DtCigiSimObjectPublisherBase, DtCigiEntityPublisherBase >
static std::shared_ptr< DtBaseCreator< DtCigiSimObjectPublisherBase > > & creator ()
 
static std::shared_ptr< DtBaseCreator< DtCigiSimObjectPublisherBase > > & creatorVersion (unsigned int version)
 
- Static Protected Member Functions inherited from makVre::DtSpSubClass< DtCigiEntityPublisherBase, DtCigiPublisherBase >
static std::shared_ptr< DtBaseCreator< DtCigiEntityPublisherBase > > & creator ()
 
static std::shared_ptr< DtBaseCreator< DtCigiEntityPublisherBase > > & creatorVersion (unsigned int version)
 
- Static Protected Member Functions inherited from makVre::DtSpSubClass< DtCigiPublisherBase, DtTreeClass< DtCigiPublisherBase, DtCigiObjectBase > >
static std::shared_ptr< DtBaseCreator< DtCigiPublisherBase > > & creator ()
 
static std::shared_ptr< DtBaseCreator< DtCigiPublisherBase > > & creatorVersion (unsigned int version)
 
- Static Protected Member Functions inherited from makVre::DtSpSubClass< DtCigiPublisherBase, DtCigiObjectBase >
static std::shared_ptr< DtBaseCreator< DtCigiPublisherBase > > & creator ()
 
static std::shared_ptr< DtBaseCreator< DtCigiPublisherBase > > & creatorVersion (unsigned int version)
 
- Static Protected Member Functions inherited from makVre::DtSpSubClass< DtCigiObjectBase >
static std::shared_ptr< DtBaseCreator< DtCigiObjectBase > > & creator ()
 
static std::shared_ptr< DtBaseCreator< DtCigiObjectBase > > & creatorVersion (unsigned int version)
 
- Protected Attributes inherited from makVre::DtCigiSimObjectPublisherBase
DtEntityIdentifier myEntityId
 
DtSimObjectReference mySimObject
 
- Protected Attributes inherited from makVre::DtCigiPublisherBase
CigiBasePtr mySharedData
 
bool myEnabled
 
bool myNeedsConfirmation
 
double myLastSentToIg
 
- Protected Attributes inherited from makVre::DtTreeClass< DtCigiPublisherBase, DtCigiObjectBase >
OwnedChildList myOwnedChildren
 
UnownedChildList myUnownedChildren
 
ChildNameMap myChildrenByName
 
bool myOwnsChildren
 
Wptr myParent
 
- Protected Attributes inherited from makVre::DtCigiObjectBase
CigiBasePtr myCigiData
 
DtCigiSessionmySession
 
bool myDirty
 
- Protected Attributes inherited from makVre::DtSpObject
std::string myName
 

Constructor & Destructor Documentation

◆ DtCigiSimEntityPublisherV4()

makVre::DtCigiSimEntityPublisherV4::DtCigiSimEntityPublisherV4 ( )
inline

◆ ~DtCigiSimEntityPublisherV4()

virtual makVre::DtCigiSimEntityPublisherV4::~DtCigiSimEntityPublisherV4 ( )
inlineoverridevirtual

Member Function Documentation

◆ initShared()

virtual void makVre::DtCigiSimEntityPublisherV4::initShared ( )
overrideprotectedvirtual

Derived Publisher classes should override initShared() to set inital values in the shared CIGI data object.

Reimplemented from makVre::DtCigiPublisherBase.

◆ initCigi()

virtual void makVre::DtCigiSimEntityPublisherV4::initCigi ( )
overrideprotectedvirtual

Derived Publisher classes should override initCigi() to set initial values in the CIGI data.

Reimplemented from makVre::DtCigiEntityPublisherBase.

◆ updateShared()

virtual void makVre::DtCigiSimEntityPublisherV4::updateShared ( )
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.

◆ updateCigi()

virtual void makVre::DtCigiSimEntityPublisherV4::updateCigi ( )
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.


The documentation for this class was generated from the following file: