VR-Engage  2.3
Loading...
Searching...
No Matches
vrfRewind.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/vrfRun.lua
11*/
12#pragma once
13
16#include <vreMessages/export.h>
17
18namespace makVre
19{
20//! \brief Message type identifier for VrfRewindMessage.
21constexpr const char* VrfRewindMessageType = "vrf.rewind";
22
23/**
24 * \class VrfRewindMessage
25 * \brief Send to cause the DtVrfRemoteControlConnector to rewind the scenario.
26 *
27 * Message type: "vrf.rewind"
28 *
29 * \note This is an auto-generated class. Do not modify directly.
30 */
32{
33public:
34
35 //! \brief Data payload for VrfRewindMessage.
37 {
38 //! \brief Default constructor.
40
41 //! \name Data Members
42 //! \{
43
44 //! \}
45
46 //! \name Operators
47 //! \{
48 bool operator==(const VrfRewindData& rhs) const;
49 bool operator!=(const VrfRewindData& rhs) const;
50 //! \}
51 };
52
53 //! \brief Destructor.
54 virtual ~VrfRewindMessage() override;
55
56 //! \name Static Creators
57 //! \{
58 //! \brief Create a new default instance.
59 //! \return A dynamically allocated default message. Caller takes ownership.
61
62 //! \brief Create a copy of the given message.
63 //! \param origMsg The message to copy. Must not be null.
64 //! \return A dynamically allocated copy. Caller takes ownership.
66
67 //! \brief Create a new message initialized with the given data.
68 //! \param data The data payload to initialize the message with.
69 //! \return A dynamically allocated message. Caller takes ownership.
71 //! \}
72
73 //! \name Type Identity
74 //! \{
75 //! \brief Get the message type string for this message class.
76 static const std::string& theType();
77
78 //! \brief Get the message identifier for this message class.
80
81 //! \brief Get the version number for this message class.
83
84 //! \brief Get the message type string for this instance.
85 virtual const std::string& type() const override;
86
87 //! \brief Get the message identifier for this instance.
88 virtual const makVre::DtVreMessageId& messageId() const override;
89 //! \}
90
91 //! \name Accessors
92 //! \{
93
94 //! \}
95
96 //! \name Serialization
97 //! \{
98 //! \copydoc makVre::DtVreMessage::messageSize()
99 virtual int messageSize() const override;
100
101 //! \brief Decode a message from a byte buffer.
102 //! \param buffer The raw byte buffer to decode from.
103 //! \param length The length of the buffer in bytes.
104 //! \return A dynamically allocated decoded message. Caller takes ownership.
105 static makVre::DtVreMessage* decode(char* buffer, int length);
106
107 //! \brief Get a copy of the message data.
109
110 //! \brief Get a copy of the message data (const).
112 //! \}
113
114 //! \name Operators
115 //! \{
116 bool operator==(const VrfRewindMessage& rhs) const;
117 bool operator!=(const VrfRewindMessage& rhs) const;
118 //! \}
119
120protected:
122
123 //! \copydoc makVre::DtVreMessage::serialize()
124 virtual void serialize(DtStreamWriter& writer) const override;
125
126 //! \copydoc makVre::DtVreMessage::deserialize()
127 virtual void deserialize(DtStreamReader& reader) override;
128
129protected:
132
134};
135} // namespace makVre
136
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
bool operator!=(const VrfRewindMessage &rhs) const
static VrfRewindMessage * createFromData(const VrfRewindData data)
Create a new message initialized with the given data.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual ~VrfRewindMessage() override
Destructor.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static UInt64 theVersion
Definition vrfRewind.h:131
virtual const std::string & type() const override
Get the message type string for this instance.
static VrfRewindMessage * create()
Create a copy of the given message.
static makVre::DtVreMessageId theMessageId
Definition vrfRewind.h:130
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual int messageSize() const override
Get a copy of the message data.
static UInt64 theVersionNumber()
Get the version number for this message class.
VrfRewindData myData
Definition vrfRewind.h:133
static const std::string & theType()
Get the message type string for this instance.
static VrfRewindMessage * createFrom(VrfRewindMessage *origMsg)
Create a copy of the given message.
bool operator==(const VrfRewindMessage &rhs) const
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
VrfRewindData getData()
Get a copy of the message data.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
VrfRewindData getData() const
Get a copy of the message data (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 * VrfRewindMessageType
Message type identifier for VrfRewindMessage.
Definition vrfRewind.h:21
Data payload for VrfRewindMessage.
Definition vrfRewind.h:37
bool operator==(const VrfRewindData &rhs) const
bool operator!=(const VrfRewindData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.