VR-Engage  2.2
Loading...
Searching...
No Matches
cigiSimEntityComponentPublisherBase.h
Go to the documentation of this file.
1/*******************************************************************************
2** Copyright (c) 2024 MAK Technologies, Inc.
3** All rights reserved.
4*******************************************************************************/
5#pragma once
6
9
10#include <vrfobjcore/simObjectReference.h>
11
12namespace makVre
13{
14
16 : public DtSpSubClass<DtCigiSimEntityComponentPublisherBase, DtCigiPublisherBase>
17{
18public:
21
23 virtual DtSimObjectReference simObject();
24
25 virtual Cigi_uint16 cigiId() const = 0;
26
27 virtual std::string sharedKey() override;
28
29protected:
30 virtual void initCigi() override;
31
32 virtual void setCigiId(Cigi_uint16 id) = 0;
33};
34
35} // namespace makVre
virtual std::string sharedKey() override
Key to uniquely idenfity the shared data instance associated with the Sim object represented by this ...
virtual DtCigiSimEntityPublisher::Sptr parentEntity()
virtual ~DtCigiSimEntityComponentPublisherBase() override
Definition cigiSimEntityComponentPublisherBase.h:20
virtual void initCigi() override
Derived Publisher classes should override initCigi() to set initial values in the CIGI data.
DtCigiSimEntityComponentPublisherBase()
Definition cigiSimEntityComponentPublisherBase.h:19
virtual DtSimObjectReference simObject()
virtual void setCigiId(Cigi_uint16 id)=0
virtual Cigi_uint16 cigiId() const =0
std::shared_ptr< DtSpObject > Sptr
Shared pointer type alias.
Definition baseClass.h:99
Contains the DLL export macro.
#define CIGIHOST_DLL
Definition export.h:20
Include export definitions for this library.
Definition glsVreMessageUtil.h:49