39 #ifndef RTT_TIME_SERVICE_HPP 40 #define RTT_TIME_SERVICE_HPP 43 #include "../rtt-config.h" 95 static bool Release();
115 ticks getTicks()
const;
124 ticks
ticksGet( ticks &relativeTime )
const {
return getTicks( relativeTime ); }
132 ticks getTicks( ticks &relativeTime )
const;
140 ticks ticksSince( ticks relativeTime )
const;
151 Seconds
secondsGet( ticks &relativeTime )
const {
return getSeconds(relativeTime); }
161 Seconds getSeconds( ticks &relativeTime )
const;
169 Seconds secondsSince( ticks relativeTime )
const;
175 Seconds secondsChange( Seconds delta );
181 ticks ticksChange( ticks delta );
188 void enableSystemClock(
bool yes_no );
194 bool systemClockEnabled()
const;
201 nsecs getNSecs()
const;
209 nsecs getNSecs( nsecs &relativeTime )
const;
216 static ticks nsecs2ticks(
const nsecs m );
221 static nsecs ticks2nsecs(
const ticks t );
static TimeService * _instance
static const ticks InfiniteTicks
static const nsecs InfiniteNSecs
Seconds secondsGet(ticks &relativeTime) const
static const Seconds InfiniteSeconds
ticks ticksGet(ticks &relativeTime) const
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.