Go to the documentation of this file.
24 #include <Ice/ObjectAdapter.h>
25 #include <Ice/Initialize.h>
29 #define CALLINFO //ARMARX_INFO <<__FILE__ << ":" << __PRETTY_FUNCTION__ << flush;
43 std::string currentName =
c.adapter->getName();
68 std::string currentName =
c.adapter->getName();
93 std::string currentName =
c.adapter->getName();
131 throw ResourceUnavailableException(
"Trying to request already owned unit");
135 std::string ownerName =
c.adapter->getName();
136 ownerId = Ice::stringToIdentity(ownerName);
145 std::string callerName =
c.adapter->getName();
150 ARMARX_ERROR <<
"Trying to release unit owned by another component";
151 throw ResourceNotOwnedException(
"Trying to release unit owned by another component");
155 ownerId = Ice::stringToIdentity(
" ");
virtual void onInit()
callback onInit for subclass hook.
~SensorActorUnit() override
Destructor of SensorActorUnit.
void release(const Ice::Current &c=Ice::emptyCurrent) override
Release exclusive access to current unit.
void start(const Ice::Current &c=Ice::emptyCurrent) override
Set execution state to eStarted.
SensorActorUnit()
Constructs a SensorActorUnit.
void onExitComponent() override
Hook for subclass.
void request(const Ice::Current &c=Ice::emptyCurrent) override
Request exclusive access to current unit.
UnitExecutionState getExecutionState(const Ice::Current &c=Ice::emptyCurrent) override
Retrieve current execution state.
virtual void onStop()
callback onStop for subclass hook.
void Identity(MatrixXX< N, N, T > *a)
void stop(const Ice::Current &c=Ice::emptyCurrent) override
Set execution state to eStopped.
const LogSender::manipulator flush
UnitExecutionState executionState
void init(const Ice::Current &c=Ice::emptyCurrent) override
Set execution state to eInitialized.
std::string getName() const
Retrieve name of object.
virtual void onStart()
callback onStart for subclass hook.
This file offers overloads of toIce() and fromIce() functions for STL container types.