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 | |
| void | Create(const char *shortName, CDPBaseObject *pParentObject) 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 |
| CDP::StudioAPI::CDPValueType | GetNodeValueType() const override |
| bool | IsDataArgument(ArgumentBase *argument) |
| void | SetId(unsigned short id) |
- 19 public functions inherited from MessageArgument
- 9 public functions inherited from ValueNode
- 8 public functions inherited from CDP::StudioAPI::AbstractValueListener
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.
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
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.