Template Class ServiceTask
Contents
Template Class ServiceTask#
Defined in File ServiceTask.hpp
Inheritance Relationships#
Base Type#
public corail_core::ReactiveTask(Class ReactiveTask)
Class Documentation#
-
template<typename MessageT>
class ServiceTask : public corail_core::ReactiveTask# Use ReactiveTask to implement a realtime ROS 2 service.
See
See also
(ReactiveTask).
Public Functions
Construct a new Service 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 ~ServiceTask()#
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.