RobotUnitModuleBase.cpp File Reference
+ Include dependency graph for RobotUnitModuleBase.cpp:

Go to the source code of this file.

Namespaces

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

Macros

#define call_module_hook(Type)   cast_to_and_call(::armarx::RobotUnitModule::Type, _preOnInitRobotUnit(), true)
 
#define call_module_hook(Type)   cast_to_and_call(::armarx::RobotUnitModule::Type, _postOnInitRobotUnit(), true)
 
#define call_module_hook(Type)   cast_to_and_call(::armarx::RobotUnitModule::Type, _preOnConnectRobotUnit(), true)
 
#define call_module_hook(Type)   cast_to_and_call(::armarx::RobotUnitModule::Type, _postOnConnectRobotUnit(), true)
 
#define call_module_hook(Type)   cast_to_and_call(::armarx::RobotUnitModule::Type, _preOnDisconnectRobotUnit(), true)
 
#define call_module_hook(Type)   cast_to_and_call(::armarx::RobotUnitModule::Type, _postOnDisconnectRobotUnit(), true)
 
#define call_module_hook(Type)   cast_to_and_call(::armarx::RobotUnitModule::Type, _preOnExitRobotUnit(), false)
 
#define call_module_hook(Type)   cast_to_and_call(::armarx::RobotUnitModule::Type, _postOnExitRobotUnit(), false)
 
#define call_module_hook(Type)
 
#define call_module_hook(Type)   cast_to_and_call(::armarx::RobotUnitModule::Type, _icePropertiesInitialized(), true)
 
#define call_module_hook(Type)   cast_to_and_call(::armarx::RobotUnitModule::Type, _preFinishComponentInitialization(), true)
 
#define call_module_hook(Type)   cast_to_and_call(::armarx::RobotUnitModule::Type, _postFinishComponentInitialization(), true)
 
#define call_module_hook(Type)   cast_to_and_call(::armarx::RobotUnitModule::Type, _preFinishDeviceInitialization(), true)
 
#define call_module_hook(Type)   cast_to_and_call(::armarx::RobotUnitModule::Type, _postFinishDeviceInitialization(), true)
 
#define call_module_hook(Type)   cast_to_and_call(::armarx::RobotUnitModule::Type, _preFinishUnitInitialization(), true)
 
#define call_module_hook(Type)   cast_to_and_call(::armarx::RobotUnitModule::Type, _postFinishUnitInitialization(), true)
 
#define call_module_hook(Type)   cast_to_and_call(::armarx::RobotUnitModule::Type, _preFinishControlThreadInitialization(), true)
 
#define call_module_hook(Type)
 
#define call_module_hook(Type)   cast_to_and_call(::armarx::RobotUnitModule::Type, _preFinishRunning(), false)
 
#define call_module_hook(Type)   cast_to_and_call(::armarx::RobotUnitModule::Type, _postFinishRunning(), false)
 
#define cast_to_and_call(Type, fn, rethrow)
 
#define check_base(Type)
 
#define check_deriving(Type)
 
#define for_each_module(macro)   BOOST_PP_SEQ_FOR_EACH(for_each_module_apply, macro, BOOST_PP_VARIADIC_TO_SEQ(RobotUnitModules))
 
#define for_each_module_apply(r, data, elem)   data(elem)
 

Functions

 for_each_module (check_base) void ModuleBase
 
std::string to_string (RobotUnitState s)
 

Macro Definition Documentation

◆ call_module_hook [1/20]

#define call_module_hook (   Type)    cast_to_and_call(::armarx::RobotUnitModule::Type, _preOnInitRobotUnit(), true)

◆ call_module_hook [2/20]

#define call_module_hook (   Type)    cast_to_and_call(::armarx::RobotUnitModule::Type, _postOnInitRobotUnit(), true)

◆ call_module_hook [3/20]

#define call_module_hook (   Type)    cast_to_and_call(::armarx::RobotUnitModule::Type, _preOnConnectRobotUnit(), true)

◆ call_module_hook [4/20]

#define call_module_hook (   Type)    cast_to_and_call(::armarx::RobotUnitModule::Type, _postOnConnectRobotUnit(), true)

◆ call_module_hook [5/20]

#define call_module_hook (   Type)    cast_to_and_call(::armarx::RobotUnitModule::Type, _preOnDisconnectRobotUnit(), true)

◆ call_module_hook [6/20]

#define call_module_hook (   Type)    cast_to_and_call(::armarx::RobotUnitModule::Type, _postOnDisconnectRobotUnit(), true)

◆ call_module_hook [7/20]

#define call_module_hook (   Type)    cast_to_and_call(::armarx::RobotUnitModule::Type, _preOnExitRobotUnit(), false)

◆ call_module_hook [8/20]

#define call_module_hook (   Type)    cast_to_and_call(::armarx::RobotUnitModule::Type, _postOnExitRobotUnit(), false)

◆ call_module_hook [9/20]

#define call_module_hook (   Type)
Value:
::armarx::RobotUnitModule::Type, _componentPropertiesUpdated(changedProperties), true)

◆ call_module_hook [10/20]

#define call_module_hook (   Type)    cast_to_and_call(::armarx::RobotUnitModule::Type, _icePropertiesInitialized(), true)

◆ call_module_hook [11/20]

#define call_module_hook (   Type)    cast_to_and_call(::armarx::RobotUnitModule::Type, _preFinishComponentInitialization(), true)

◆ call_module_hook [12/20]

#define call_module_hook (   Type)    cast_to_and_call(::armarx::RobotUnitModule::Type, _postFinishComponentInitialization(), true)

◆ call_module_hook [13/20]

#define call_module_hook (   Type)    cast_to_and_call(::armarx::RobotUnitModule::Type, _preFinishDeviceInitialization(), true)

◆ call_module_hook [14/20]

#define call_module_hook (   Type)    cast_to_and_call(::armarx::RobotUnitModule::Type, _postFinishDeviceInitialization(), true)

◆ call_module_hook [15/20]

#define call_module_hook (   Type)    cast_to_and_call(::armarx::RobotUnitModule::Type, _preFinishUnitInitialization(), true)

◆ call_module_hook [16/20]

#define call_module_hook (   Type)    cast_to_and_call(::armarx::RobotUnitModule::Type, _postFinishUnitInitialization(), true)

◆ call_module_hook [17/20]

#define call_module_hook (   Type)    cast_to_and_call(::armarx::RobotUnitModule::Type, _preFinishControlThreadInitialization(), true)

◆ call_module_hook [18/20]

#define call_module_hook (   Type)
Value:
::armarx::RobotUnitModule::Type, _postFinishControlThreadInitialization(), true)

◆ call_module_hook [19/20]

#define call_module_hook (   Type)    cast_to_and_call(::armarx::RobotUnitModule::Type, _preFinishRunning(), false)

◆ call_module_hook [20/20]

#define call_module_hook (   Type)    cast_to_and_call(::armarx::RobotUnitModule::Type, _postFinishRunning(), false)

◆ cast_to_and_call

#define cast_to_and_call (   Type,
  fn,
  rethrow 
)

Definition at line 63 of file RobotUnitModuleBase.cpp.

◆ check_base

#define check_base (   Type)
Value:
"The RobotUnitModule '" #Type "' has to derived ModuleBase");

Definition at line 100 of file RobotUnitModuleBase.cpp.

◆ check_deriving

#define check_deriving (   Type)
Value:
ARMARX_CHECK_NOT_NULL(dynamic_cast<const Type*>(this)) \
<< "This class does not derive from " << GetTypeString<Type>();

◆ for_each_module

#define for_each_module (   macro)    BOOST_PP_SEQ_FOR_EACH(for_each_module_apply, macro, BOOST_PP_VARIADIC_TO_SEQ(RobotUnitModules))

Definition at line 97 of file RobotUnitModuleBase.cpp.

◆ for_each_module_apply

#define for_each_module_apply (   r,
  data,
  elem 
)    data(elem)

Definition at line 96 of file RobotUnitModuleBase.cpp.

ARMARX_CHECK_NOT_NULL
#define ARMARX_CHECK_NOT_NULL(ptr)
This macro evaluates whether ptr is not null and if it turns out to be false it will throw an Express...
Definition: ExpressionException.h:206
cast_to_and_call
#define cast_to_and_call(Type, fn, rethrow)
Definition: RobotUnitModuleBase.cpp:63
cxxopts::value
std::shared_ptr< Value > value()
Definition: cxxopts.hpp:926
armarx::aron::similarity::FloatSimilarity::Type
Type
The Type enum.
Definition: FloatSimilarity.h:8