VR-Engage  2.3
Loading...
Searching...
No Matches
slewToCue.h
Go to the documentation of this file.
1/*********************************************************************************
2** Copyright (c) 2026 MAK Technologies, Inc.
3** All rights reserved.
4*********************************************************************************/
5
6/**
7* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
8* !!!!!!!!!This is an auto-generated file. Any changes will be destroyed!!!!!!!!!!!
9* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10* Generated from: /home/data/exports/DEV-CAM-BML-305/nightly/3375/libsrc/framework/vreMessages/slewToCue.lua
11*/
12#pragma once
13
16#include <vreMessages/export.h>
17#include <vlpi/entityIdentifier.h>
18#include <string>
19#include <matrix/vlVector.h>
20#include <matrix/vlTaitBryan.h>
21
22namespace makVre
23{
24//! \brief Message type identifier for SlewToCueMessage.
25constexpr const char* SlewToCueMessageType = "system.input.slewToCue";
26
27/**
28 * \class SlewToCueMessage
29 * \brief Used to slew a system's art part to a specified orientation, with worldPosition used for coordinate conversion. Set overrideActive to false to allow original controller to control the specified system.
30 *
31 * Message type: "system.input.slewToCue"
32 *
33 * \note This is an auto-generated class. Do not modify directly.
34 */
36{
37public:
38
39 //! \brief Data payload for SlewToCueMessage.
41 {
42 //! \brief Default constructor.
44
45 //! \name Data Members
46 //! \{
47
48 DtEntityIdentifier myEntityId;
49 std::string mySystemName;
51 DtTaitBryan myWorldOrientation;
53 //! \}
54
55 //! \name Operators
56 //! \{
57 bool operator==(const SlewToCueData& rhs) const;
58 bool operator!=(const SlewToCueData& rhs) const;
59 //! \}
60 };
61
62 //! \brief Destructor.
63 virtual ~SlewToCueMessage() override;
64
65 //! \name Static Creators
66 //! \{
67 //! \brief Create a new default instance.
68 //! \return A dynamically allocated default message. Caller takes ownership.
70
71 //! \brief Create a copy of the given message.
72 //! \param origMsg The message to copy. Must not be null.
73 //! \return A dynamically allocated copy. Caller takes ownership.
75
76 //! \brief Create a new message initialized with the given data.
77 //! \param data The data payload to initialize the message with.
78 //! \return A dynamically allocated message. Caller takes ownership.
80 //! \}
81
82 //! \name Type Identity
83 //! \{
84 //! \brief Get the message type string for this message class.
85 static const std::string& theType();
86
87 //! \brief Get the message identifier for this message class.
89
90 //! \brief Get the version number for this message class.
92
93 //! \brief Get the message type string for this instance.
94 virtual const std::string& type() const override;
95
96 //! \brief Get the message identifier for this instance.
97 virtual const makVre::DtVreMessageId& messageId() const override;
98 //! \}
99
100 //! \name Accessors
101 //! \{
102 virtual const DtEntityIdentifier& getEntityId() const;
103 virtual void setEntityId(const DtEntityIdentifier& val);
104
105 virtual const std::string& getSystemName() const;
106 virtual void setSystemName(const std::string& val);
107
108 virtual const DtVector& getWorldPosition() const;
109 virtual void setWorldPosition(const DtVector& val);
110
111 virtual const DtTaitBryan& getWorldOrientation() const;
112 virtual void setWorldOrientation(const DtTaitBryan& val);
113
114 virtual bool getOverrideActive() const;
115 virtual void setOverrideActive(bool val);
116 //! \}
117
118 //! \name Serialization
119 //! \{
120 //! \copydoc makVre::DtVreMessage::messageSize()
121 virtual int messageSize() const override;
122
123 //! \brief Decode a message from a byte buffer.
124 //! \param buffer The raw byte buffer to decode from.
125 //! \param length The length of the buffer in bytes.
126 //! \return A dynamically allocated decoded message. Caller takes ownership.
127 static makVre::DtVreMessage* decode(char* buffer, int length);
128
129 //! \brief Get a copy of the message data.
131
132 //! \brief Get a copy of the message data (const).
134 //! \}
135
136 //! \name Operators
137 //! \{
138 bool operator==(const SlewToCueMessage& rhs) const;
139 bool operator!=(const SlewToCueMessage& rhs) const;
140 //! \}
141
142protected:
144
145 //! \copydoc makVre::DtVreMessage::serialize()
146 virtual void serialize(DtStreamWriter& writer) const override;
147
148 //! \copydoc makVre::DtVreMessage::deserialize()
149 virtual void deserialize(DtStreamReader& reader) override;
150
151protected:
154
156};
157} // namespace makVre
158
Reader class for decoding values from a byte array.
Definition byteStream.h:43
Writer class for encoding values into a byte array.
Definition byteStream.h:166
Abstract base class for all VREngage messages.
Definition vreMessage.h:50
Message identifier class for the VREngage messaging system.
Definition vreMessageId.h:35
virtual void setOverrideActive(bool val)
SlewToCueData myData
Definition slewToCue.h:155
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
bool operator==(const SlewToCueMessage &rhs) const
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
SlewToCueData getData() const
Get a copy of the message data (const).
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static makVre::DtVreMessageId theMessageId
Definition slewToCue.h:152
virtual void setSystemName(const std::string &val)
virtual const DtVector & getWorldPosition() const
virtual void setWorldPosition(const DtVector &val)
static UInt64 theVersionNumber()
Get the version number for this message class.
virtual void setEntityId(const DtEntityIdentifier &val)
static SlewToCueMessage * createFromData(const SlewToCueData data)
Create a new message initialized with the given data.
virtual const DtEntityIdentifier & getEntityId() const
SlewToCueData getData()
Get a copy of the message data.
virtual ~SlewToCueMessage() override
Destructor.
bool operator!=(const SlewToCueMessage &rhs) const
virtual const std::string & type() const override
Get the message type string for this instance.
virtual int messageSize() const override
Get a copy of the message data.
virtual void setWorldOrientation(const DtTaitBryan &val)
static const std::string & theType()
Get the message type string for this instance.
static UInt64 theVersion
Definition slewToCue.h:153
virtual const DtTaitBryan & getWorldOrientation() const
virtual const std::string & getSystemName() const
static SlewToCueMessage * createFrom(SlewToCueMessage *origMsg)
Create a copy of the given message.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
static SlewToCueMessage * create()
Create a copy of the given message.
virtual bool getOverrideActive() const
Defines export macros for the VREngage Messages library.
#define VREMESSAGES_DLL
Export/import macro for non-Windows platforms.
Definition export.h:39
!
Definition glsVreMessageUtil.h:50
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
constexpr const char * SlewToCueMessageType
Message type identifier for SlewToCueMessage.
Definition slewToCue.h:25
Data payload for SlewToCueMessage.
Definition slewToCue.h:41
bool operator==(const SlewToCueData &rhs) const
bool operator!=(const SlewToCueData &rhs) const
DtTaitBryan myWorldOrientation
Definition slewToCue.h:51
DtEntityIdentifier myEntityId
Definition slewToCue.h:48
DtVector myWorldPosition
Definition slewToCue.h:50
std::string mySystemName
Definition slewToCue.h:49
bool myOverrideActive
Definition slewToCue.h:52
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.