Base class for all reactor elements. More...
#include <xronos/sdk/element.hh>
Public Member Functions | |
auto | name () const noexcept -> const std::string & |
The name of the current element. | |
auto | fqn () const noexcept -> const std::string & |
The fully qualified name of the current element. | |
virtual | ~Element ()=default |
Virtual destructor. | |
Base class for all reactor elements.
Reactor elements are objects that can be contained by reactors and that have special meaning to the Xronos framework.
|
nodiscardnoexcept |
The name of the current element.
A name should be unique within the current reactor and should contain only word characters (alphanumeric and underscore).
|
nodiscardnoexcept |
The fully qualified name of the current element.
This should be globally unique and is computed as the "."-separated concatenation of the all parent reactors, starting from the top-level environment, followed by the current element's name.