Template Class SubscriptionTask
Contents
Template Class SubscriptionTask#
Defined in File SubscriptionTask.hpp
Inheritance Relationships#
Base Type#
public corail_core::ReactiveTask
(Class ReactiveTask)
Class Documentation#
-
template<typename MessageT>
class SubscriptionTask : public corail_core::ReactiveTask# Use ReactiveTask to implement a realtime ROS 2 subscription.
See
See also
(ReactiveTask).
Public Functions
Construct a new Subscription Task object.
The task is created in init state.
- Parameters
name – [in] The name of the task.
cpu – [in] The cpu on which the task will execute.
priority – [in] The priority of the task (higher priority first).
period – [in] The periode of the task.
jitter – [in] The jitter of the task.
callback – [in] The function to execute at each periode.
-
inline ~SubscriptionTask()#
Corail is free software: you can redistribute it and/or modify it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.