• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
CDP Studio logo

CDP Studio

The no-code and full-code software development tool for distributed control systems and HMI

  • Doc
  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Products
    • Automation Designer
    • HMI Designer
    • Maritime HMIs
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Framework - Sequencer
  • Event

Event Class

(Sequencer::Event)

The Event represents message event input/output used to send or receive messages. More...

Header: #include <Event>
Inherits: MessageArgument
  • List of all members, including inherited members

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
  • 49 public functions inherited from CDPBaseObject
  • 27 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
  • 10 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)

The content of this document is confidential information not to be published without the consent of CDP Technologies AS.

CDP Technologies AS, www.cdpstudio.com

Get started with CDP Studio today

Let us help you take your great ideas and turn them into the products your customer will love.

Try CDP Studio for free
Why CDP Studio?

CDP Technologies AS
Hundsværgata 8,
P.O. Box 144
6001 Ålesund, Norway

Tel: +47 990 80 900
E-mail: info@cdptech.com

Company

About CDP

Contact us

Services

Partners

Blog

Developers

Get started

User manuals

Support

Document download

Release notes

My account

Follow CDP

  • LinkedIn
  • YouTube
  • GitHub

© Copyright 2025 CDP Technologies. Privacy and cookie policy.

Return to top