VR-Engage  2.2
Loading...
Searching...
No Matches
cigiSimEntityArtPartPublisher.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 <CigiBaseArtPartCtrl.h>
11
12namespace makVre
13{
14
16 : public DtCigiPublisherTemplate<CigiBaseArtPartCtrl, DtCigiSimEntityArtPartPublisher,
17 DtCigiSimEntityComponentPublisherBase>
18{
19public:
22
23 virtual Sptr setPartNumber(unsigned int number);
24 virtual unsigned int partNumber() const;
25
26 virtual Cigi_uint16 cigiId() const override;
27
28 virtual std::string sharedKey() override;
29
30protected:
31 virtual void setCigiId(Cigi_uint16 id) override;
32
33 virtual void initShared() override;
34 virtual void initCigi() override;
35
36 virtual void updateShared() override;
37 virtual void updateCigi() override;
38
39protected:
40 unsigned int myPartNumber;
41};
42
43} // namespace makVre
virtual Cigi_uint16 cigiId() const override
virtual void initCigi() override
Derived Publisher classes should override initCigi() to set initial values in the CIGI data.
unsigned int myPartNumber
Definition cigiSimEntityArtPartPublisher.h:40
DtCigiSimEntityArtPartPublisher()
Definition cigiSimEntityArtPartPublisher.h:20
virtual std::string sharedKey() override
Key to uniquely idenfity the shared data instance associated with the Sim object represented by this ...
virtual Sptr setPartNumber(unsigned int number)
virtual ~DtCigiSimEntityArtPartPublisher() override
Definition cigiSimEntityArtPartPublisher.h:21
virtual void updateShared() override
Derived Publisher classes should override updateShared() to update values in the shared CIGI data obj...
virtual unsigned int partNumber() const
virtual void setCigiId(Cigi_uint16 id) override
virtual void updateCigi() override
Derived Publisher classes should override updateCigi() to update values in the CIGI data.
virtual void initShared() override
Derived Publisher classes should override initShared() to set inital values in the shared CIGI data o...
std::shared_ptr< DtCigiSimEntityArtPartPublisher > 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