RTThreadTimingsSensorDevice.h File Reference
+ Include dependency graph for RTThreadTimingsSensorDevice.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RTThreadTimingsSensorDevice
 
class  RTThreadTimingsSensorDeviceImpl< SensorValueType >
 

Namespaces

 armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 
 armarx::RobotUnitModule
 

Macros

#define make_markRT_X_Start_End(name)
 

Functions

 TYPEDEF_PTRS_HANDLE (ControlThread)
 
 TYPEDEF_PTRS_SHARED (RTThreadTimingsSensorDevice)
 

Macro Definition Documentation

◆ make_markRT_X_Start_End

#define make_markRT_X_Start_End (   name)
Value:
virtual void rtMarkRt##name##Start() override \
{ \
const IceUtil::Time now = armarx::rtNow(); \
value.rt##name##RoundTripTime = now - rt##name##Start; \
rt##name##Start = now; \
} \
virtual void rtMarkRt##name##End() override \
{ \
value.rt##name##Duration = armarx::rtNow() - rt##name##Start; \
} \
static_assert(true, "force trailing semi-colon")

Definition at line 130 of file RTThreadTimingsSensorDevice.h.

armarx::armem::Time
armarx::core::time::DateTime Time
Definition: forward_declarations.h:13
armarx::armem::Duration
armarx::core::time::Duration Duration
Definition: forward_declarations.h:14
armarx::rtNow
IceUtil::Time rtNow()
Definition: RtTiming.h:40