|
nros C API
Lightweight ROS 2 client for embedded real-time systems
|
#include <nros_generated.h>

Data Fields | |
| void * | _executor |
| nros_timer_callback_t | callback |
| void * | context |
| size_t | handle_id |
| uint64_t | last_call_time_ns |
| uint64_t | period_ns |
| enum nros_timer_state_t | state |
| const struct nros_support_t * | support |
Timer structure.
| void* nros_timer_t::_executor |
Opaque pointer to internal executor (set by nros_executor_register_timer)
| nros_timer_callback_t nros_timer_t::callback |
User callback function
| void* nros_timer_t::context |
User context pointer
| size_t nros_timer_t::handle_id |
Handle ID from executor registration (SIZE_MAX = not registered)
| uint64_t nros_timer_t::last_call_time_ns |
Last trigger time in nanoseconds
| uint64_t nros_timer_t::period_ns |
Period in nanoseconds
| enum nros_timer_state_t nros_timer_t::state |
Current state
| const struct nros_support_t* nros_timer_t::support |
Pointer to parent support context