ControlTargetBase.h File Reference
#include <map>
#include <memory>
#include <string>
#include <Ice/Handle.h>
#include <IceUtil/Time.h>
#include <RobotAPI/components/units/RobotUnit/util/HeterogenousContinuousContainerMacros.h>
#include <RobotAPI/components/units/RobotUnit/ControlModes.h>
#include <RobotAPI/components/units/RobotUnit/util/introspection/ClassMemberInfo.h>
+ Include dependency graph for ControlTargetBase.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ControlTargetBase
 Brief description of class JointControlTargetBase. More...
 
class  ControlTargetBase::ControlDeviceAccessToken
 

Namespaces

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

Macros

#define DETAIL_ControlTargetBase_DEFAULT_METHOD_IMPLEMENTATION
 
#define make_DummyControlTarget(Suffix, ControlMode)
 

Functions

 make_DummyControlTarget (EmergencyStop, ControlModes::EmergencyStop)
 
 make_DummyControlTarget (StopMovement, ControlModes::StopMovement)
 

Macro Definition Documentation

◆ DETAIL_ControlTargetBase_DEFAULT_METHOD_IMPLEMENTATION

#define DETAIL_ControlTargetBase_DEFAULT_METHOD_IMPLEMENTATION

Definition at line 122 of file ControlTargetBase.h.

◆ make_DummyControlTarget

#define make_DummyControlTarget (   Suffix,
  ControlMode 
)
Value:
class DummyControlTarget##Suffix : public ControlTargetBase \
{ \
public: \
virtual const std::string& \
getControlMode() const override \
{ \
return ControlMode; \
} \
virtual void \
reset() override \
{ \
} \
virtual bool \
isValid() const override \
{ \
return true; \
} \
DETAIL_ControlTargetBase_DEFAULT_METHOD_IMPLEMENTATION static ControlTargetInfo< \
DummyControlTarget##Suffix> \
GetClassMemberInfo() \
{ \
return ControlTargetInfo<DummyControlTarget##Suffix>{}; \
} \
}

Definition at line 187 of file ControlTargetBase.h.