![]() |
ros2_control - rolling
|
Enum class to define the scheduling policy for the async worker thread. SYNCHRONIZED: The async worker thread will be synchronized with the main thread, as the main thread will be triggering the async callback method. DETACHED: The async worker thread will be detached from the main thread and will have its own execution cycle. UNKNOWN: The scheduling policy is unknown. More...
#include <async_function_handler.hpp>
Public Types | |
| enum | Value : int8_t { UNKNOWN = -1 , SYNCHRONIZED , DETACHED } |
Public Member Functions | |
| constexpr | AsyncSchedulingPolicy (Value value) |
| AsyncSchedulingPolicy (const std::string &data_type) | |
| operator Value () const | |
| operator bool () const =delete | |
| constexpr bool | operator== (AsyncSchedulingPolicy other) const |
| constexpr bool | operator!= (AsyncSchedulingPolicy other) const |
| constexpr bool | operator== (Value other) const |
| constexpr bool | operator!= (Value other) const |
| std::string | to_string () const |
| AsyncSchedulingPolicy | from_string (const std::string &data_type) |
Enum class to define the scheduling policy for the async worker thread. SYNCHRONIZED: The async worker thread will be synchronized with the main thread, as the main thread will be triggering the async callback method. DETACHED: The async worker thread will be detached from the main thread and will have its own execution cycle. UNKNOWN: The scheduling policy is unknown.
| enum realtime_tools::AsyncSchedulingPolicy::Value : int8_t |