|
Safe DDS
|
Any entity that implements this interface is able to spin, meaning that this entity needs to do a periodic synchronization action. More...
#include <ISpinnable.hpp>
Public Member Functions | |
| virtual void | spin (const TimePoint &timepoint) noexcept=0 |
| Secuential synchronization interface. More... | |
| virtual bool | has_pending_work () const noexcept=0 |
| Check if the entity has pending work. More... | |
| virtual TimePoint | get_next_work_timepoint () const noexcept=0 |
| Get next work timepoint. More... | |
Protected Member Functions | |
| ~ISpinnable () noexcept=default | |
| Protected destructor ownership defined on creation. More... | |
| ISpinnable () noexcept=default | |
| Default creation. More... | |
| ISpinnable (const ISpinnable &) noexcept=default | |
| Copy allowed. More... | |
| ISpinnable (ISpinnable &&) noexcept=default | |
| Movement allowed. More... | |
| ISpinnable & | operator= (const ISpinnable &) noexcept=default |
| Copy operator allowed. More... | |
| ISpinnable & | operator= (ISpinnable &&) noexcept=default |
| Movement operator allowed. More... | |
Any entity that implements this interface is able to spin, meaning that this entity needs to do a periodic synchronization action.
|
protecteddefaultnoexcept |
Protected destructor ownership defined on creation.
|
protecteddefaultnoexcept |
Default creation.
|
protecteddefaultnoexcept |
Copy allowed.
|
protecteddefaultnoexcept |
Movement allowed.
|
pure virtualnoexcept |
Get next work timepoint.
Implemented in eprosima::safedds::transport::posix::UDPv4, and eprosima::safedds::execution::BasicExecutor.
|
pure virtualnoexcept |
Check if the entity has pending work.
Implemented in eprosima::safedds::transport::posix::UDPv4, and eprosima::safedds::execution::BasicExecutor.
|
protecteddefaultnoexcept |
Copy operator allowed.
|
protecteddefaultnoexcept |
Movement operator allowed.
|
pure virtualnoexcept |
Secuential synchronization interface.
| timepoint | expiration execution deadline. |
Implemented in eprosima::safedds::transport::posix::UDPv4, and eprosima::safedds::execution::BasicExecutor.