Main Page
Namespaces
Classes
Files
File List
File Members
src
rtt_rosclock_sim_clock_activity_service.cpp
Go to the documentation of this file.
1
2
#include <
rtt/RTT.hpp
>
3
#include <
rtt/Property.hpp
>
4
#include <
rtt/plugin/ServicePlugin.hpp
>
5
#include <
rtt/types/PropertyDecomposition.hpp
>
6
7
#include <
rtt_rosclock/rtt_rosclock.h
>
8
9
using namespace
RTT
;
10
using namespace
std
;
11
12
class
SimClockActivityService
:
public
RTT::Service
13
{
14
public
:
15
16
SimClockActivityService
(
TaskContext
* owner) :
17
Service
(
"sim_clock_activity"
, owner)
18
{
19
this->doc(
"RTT Service for synchronizing ROS parameters with the properties of a corresponding RTT component"
);
20
21
// TODO: load rosclock global service
22
rtt_rosclock::set_sim_clock_activity
(owner);
23
}
24
25
};
26
27
ORO_SERVICE_NAMED_PLUGIN
(
SimClockActivityService
,
"sim_clock_activity"
)
PropertyDecomposition.hpp
std
ORO_SERVICE_NAMED_PLUGIN
#define ORO_SERVICE_NAMED_PLUGIN(SERVICE, NAME)
ServicePlugin.hpp
SimClockActivityService
Definition:
rtt_rosclock_sim_clock_activity_service.cpp:12
RTT::Service
Property.hpp
rtt_rosclock::set_sim_clock_activity
const bool set_sim_clock_activity(RTT::TaskContext *t)
Set a TaskContext to use a periodic simulation clock activity.
Definition:
rtt_rosclock.cpp:90
RTT::TaskContext
RTT
RTT.hpp
SimClockActivityService::SimClockActivityService
SimClockActivityService(TaskContext *owner)
Definition:
rtt_rosclock_sim_clock_activity_service.cpp:16
rtt_rosclock.h
rtt_rosclock
Author(s):
autogenerated on Mon May 10 2021 02:45:33