69 return T::PointerType::dynamicCast(
getUnit(T::ice_staticId()));
76 return T::ProxyType::uncheckedCast(
getUnit(T::ice_staticId(), Ice::emptyCurrent));
void throwIfInControlThread(const std::string &fnc) const
Throws if the current thread is the ControlThread.
static ModuleBase & Instance()
Returns the singleton instance of this class.
This Module manages all Units of a RobotUnit.
TCPControlUnitInterfacePtr getTCPControlUnit() const
Returns a pointer to the TCPControlUnit.
T::PointerType getUnit() const
Returns a pointer to the Unit for the given type (or null if there is none)
InertialMeasurementUnitInterfacePtr getInertialMeasurementUnit() const
Returns a pointer to the InertialMeasurementUnit.
ForceTorqueUnitInterfacePtr getForceTorqueUnit() const
Returns a pointer to the ForceTorqueUnit.
T::ProxyType getUnitPrx() const
Returns a proxy to the Unit for the given type (or null if there is none)
TrajectoryPlayerInterfacePtr getTrajectoryPlayer() const
Returns a pointer to the TrajectoryPlayer.
static Units & Instance()
Returns the singleton instance of this class.
KinematicUnitInterfacePtr getKinematicUnit() const
Returns a pointer to the KinematicUnit.
PlatformUnitInterfacePtr getPlatformUnit() const
Returns a pointer to the PlatformUnit.