Event Class
(Sequencer::Event)The Event represents message event input/output used to send or receive messages. More...
Header: | #include <Event> |
Inherits: | MessageArgument |
Public Functions
Event() | |
~Event() override | |
std::string | Data() const |
bool | DecodeData(const std::vector<ArgumentBase *> &arguments, const MessagePacketHandle &eventData) const |
std::string | EncodeData(const std::vector<ArgumentBase *> &arguments) const |
unsigned short | GetId() const |
bool | IsDataArgument(ArgumentBase *argument) |
void | SetId(unsigned short id) |
Reimplemented Public Functions
virtual void | Create(const char *shortName, CDPBaseObject *pParentObject) override |
virtual CDP::StudioAPI::CDPValueType | GetNodeValueType() const override |
- 19 public functions inherited from MessageArgument
- 46 public functions inherited from CDPBaseObject
- 26 public functions inherited from CDP::StudioAPI::CDPNode
- 22 public functions inherited from CDP::StudioAPI::ICDPNode
Additional Inherited Members
- 1 static public member inherited from CDPBaseObject
- 1 protected function inherited from CDP::StudioAPI::CDPNode
- 11 protected variables inherited from CDPBaseObject
Detailed Description
The Event represents message event input/output used to send or receive messages.
Input events trigger the processing of parent Sequencer block, they also may list local arguments in Data
member that will be decoded and assigned to arguments from the incoming message if present.
Output events can be sent or triggered by parent Sequencer block and their Data
member may also list local arguments to be encoded into the outgoing event message.
Member Function Documentation
Event::Event()
Default constructs an instance of Event.
Event::~Event()
Destroys the instance of Event.
[override virtual]
void Event::Create(const char *shortName, CDPBaseObject *pParentObject)
std::string Event::Data() const
bool Event::DecodeData(const std::vector<ArgumentBase *> &arguments, const MessagePacketHandle &eventData) const
std::string Event::EncodeData(const std::vector<ArgumentBase *> &arguments) const
unsigned short Event::GetId() const
[override virtual]
CDP::StudioAPI::CDPValueType Event::GetNodeValueType() const
bool Event::IsDataArgument(ArgumentBase *argument)
void Event::SetId(unsigned short id)
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.