|
xentara-workbench-plugin v1.0.1
The Xentara Workbench Plugin Framework
|
A description of a Xentara event. More...
#include <xentara/workbench/process/Event.hpp>
Public Member Functions | |
| template<std::convertible_to< std::string_view > Name> | |
| Event (Name &&name, io::Directions ioDirections={}) | |
| Constructor. | |
| Event (std::string &&name, io::Directions ioDirections={}) | |
| Constructor that moves a name from an existing std::string. | |
| constexpr auto | name () const &noexcept -> std::string_view |
| Gets the name. | |
| constexpr auto | name () &&noexcept -> std::string && |
| Moves the name out of the event. | |
| auto | ioDirections () const -> io::Directions |
| Gets the relevant I/O directions. | |
Static Public Attributes | |
Standard Events | |
| static const Event | kChanged |
| The standard event for the change event of a data point. | |
| static const Event | kConnected |
| The standard event for the connection event of an I/O component. | |
| static const Event | kDisconnected |
| The standard event for the disconnection event of an I/O component. | |
A description of a Xentara event.
|
explicit |
Constructor.
| name | The name of the event, in UTF-8 encoding. |
| ioDirections | The I/O directions. The I/O directions are used for I/O events to specify whether a data point should inherit this event from its attached input and/or output. |
|
explicit |
Constructor that moves a name from an existing std::string.
| name | The name of the event, in UTF-8 encoding. |
| ioDirections | The I/O directions. The I/O directions are used for I/O events to specify whether a data point should inherit this event from its attached input and/or output. |
| auto xentara::workbench::process::Event::ioDirections | ( | ) | const -> io::Directions |
Gets the relevant I/O directions.
|
constexprnoexcept |
Moves the name out of the event.
|
constexprnoexcept |
Gets the name.
|
static |
The standard event for the change event of a data point.
|
static |
The standard event for the connection event of an I/O component.
|
static |
The standard event for the disconnection event of an I/O component.