VR-Engage  2.2
Loading...
Searching...
No Matches
cigiSimObjectPublisherBase.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
12#include <vlpi/entityIdentifier.h>
13
14namespace makVre
15{
16
18 : public DtSpSubClass<DtCigiSimObjectPublisherBase, DtCigiEntityPublisherBase>
19{
20public:
22 virtual ~DtCigiSimObjectPublisherBase() override {}
23
24 virtual Sptr setEntityId(const DtEntityIdentifier& id);
25 virtual const DtEntityIdentifier& entityId() const;
26
27 virtual std::string sharedKey() override;
28
29 virtual DtSimObjectReference simObject() const;
30
31 virtual bool init() override;
32
33protected:
34 DtEntityIdentifier myEntityId;
35 DtSimObjectReference mySimObject;
36};
37
38} // namespace makVre
Base class for Publishers creating CIGI entities.
virtual bool init() override
virtual const DtEntityIdentifier & entityId() const
virtual std::string sharedKey() override
Key to uniquely idenfity the shared data instance associated with the Sim object represented by this ...
virtual Sptr setEntityId(const DtEntityIdentifier &id)
DtEntityIdentifier myEntityId
Definition cigiSimObjectPublisherBase.h:34
DtCigiSimObjectPublisherBase()
Definition cigiSimObjectPublisherBase.h:21
virtual ~DtCigiSimObjectPublisherBase() override
Definition cigiSimObjectPublisherBase.h:22
DtSimObjectReference mySimObject
Definition cigiSimObjectPublisherBase.h:35
virtual DtSimObjectReference simObject() const
std::shared_ptr< DtCigiSimObjectPublisherBase > Sptr
Definition baseClass.h:184
Contains the DLL export macro.
#define CIGIHOST_DLL
Definition export.h:20
Include export definitions for this library.
Definition glsVreMessageUtil.h:49