The Entity base class.
More...
#include <Entity.hpp>
◆ ~Entity()
| eprosima::safedds::dds::Entity::~Entity |
( |
| ) |
|
|
protecteddefaultnoexcept |
Protected destructor ownership defined on creation.
◆ Entity() [1/3]
| eprosima::safedds::dds::Entity::Entity |
( |
| ) |
|
|
protecteddefaultnoexcept |
◆ Entity() [2/3]
| eprosima::safedds::dds::Entity::Entity |
( |
const Entity & |
| ) |
|
|
protecteddefaultnoexcept |
◆ Entity() [3/3]
| eprosima::safedds::dds::Entity::Entity |
( |
Entity && |
| ) |
|
|
protecteddefaultnoexcept |
◆ enable()
| virtual ReturnCode eprosima::safedds::dds::Entity::enable |
( |
| ) |
|
|
pure virtualnoexcept |
Enables the entity.
- Returns
- ReturnCode
◆ get_instance_handle()
| virtual InstanceHandle eprosima::safedds::dds::Entity::get_instance_handle |
( |
| ) |
const |
|
pure virtualnoexcept |
Retrieves the instance handler that represents the Entity.
- Returns
- Reference to the InstanceHandle
◆ get_spinnable() [1/2]
Deletes get_spinnable for rvalue objects to avoid usage of a dangling pointer (Helix Rule-6.4.2)
- Returns
- Pointer to the ISpinnable interface
◆ get_spinnable() [2/2]
Retrieves the spinnable interface of the entity in case it has one, otherwise returns nullptr.
- Returns
- Pointer to the ISpinnable interface
◆ get_status_changes()
| virtual StatusMask eprosima::safedds::dds::Entity::get_status_changes |
( |
| ) |
const |
|
pure virtualnoexcept |
Retrieves the set of triggered statuses in the Entity.
- Returns
- StatusMask with the triggered statuses set to 1
◆ get_statuscondition()
| virtual StatusCondition* eprosima::safedds::dds::Entity::get_statuscondition |
( |
| ) |
& |
|
pure virtualnoexcept |
Retrieves entity status condition. Can only be used on lvalue objects.
- Returns
- StatusCondition pointer
◆ is_enabled()
| virtual bool eprosima::safedds::dds::Entity::is_enabled |
( |
| ) |
const |
|
pure virtualnoexcept |
Check if the entity and its hierarchically ascending entities are enabled.
- Returns
- true if the entity and its hierarchically ascending entities are enabled, false otherwise
◆ operator=() [1/2]
| Entity& eprosima::safedds::dds::Entity::operator= |
( |
const Entity & |
| ) |
|
|
protecteddefaultnoexcept |
Copy operator allowed.
- Returns
- Entity&.
◆ operator=() [2/2]
| Entity& eprosima::safedds::dds::Entity::operator= |
( |
Entity && |
| ) |
|
|
protecteddefaultnoexcept |
Movement operator allowed.
- Returns
- Entity&.
The documentation for this class was generated from the following file:
- build/docs/user_manual/main/tmp/include/safedds/dds/Entity.hpp