|
| Simple2ServiceWorkerSkeletonPython (const Nice::JointPtr &_config) |
|
virtual | ~Simple2ServiceWorkerSkeletonPython () |
|
virtual void | stop () |
| does nothing. More...
|
|
virtual void | abort () |
| does nothing. More...
|
|
virtual Nice::Point | readVelocity (int _idx) |
|
virtual void | writeVelocity (const Nice::Point &_velocity) |
|
virtual void | failErrorDirect (int _ival) |
|
virtual void | failError1to1 (int _ival) |
|
virtual void | moveRelative (const Nice::Point &_pnt, int _idx) |
|
virtual void | moveAbsolute (const Nice::Point &_pnt) |
|
virtual void | moveToHome () |
|
virtual void | moveToLimit (double _dbl) |
|
virtual void | moveToReference (int _ival) |
|
virtual void | setProfile (const Nice::NPoint &_position_sequence_x, const double &_time_resolution, const Nice::U32 &_samples_per_segment, const Nice::U32 &_max_error) |
|
virtual void | startProfile (const Nice::Date &_start_date_x) |
|
virtual void | useTransformation (int _ival) |
|
virtual Nice::Rect | createRect (const Nice::Point &_pnt, const Nice::Size &_size) |
|
virtual void | failFatalWork (double _dbl) |
|
virtual void | failErrorWork (double _dbl) |
|
virtual void | increment () |
|
virtual void | file (const Nice::File &_ff) |
|
virtual double | getVal (const Nice::SeqU16 &_val) |
|
virtual Nice::SeqU16 | getActuatorPositions () |
|
virtual int | wait10Secs () |
|
virtual int | setVector (const Nice::SeqFloat &_val) |
|
virtual int | setMatrix (const Nice::SeqSeqFloat &_val) |
|
virtual Basda::CameraMode | getCameraMode () |
|
virtual void | setCameraMode (Basda::CameraMode _val) |
|
virtual double | convertPosition (double _position, bool _absolute, std::string _unit_from, std::string _unit_to) |
|
virtual Nice::SeqInt | getBigData (int _size) |
|
| Simple2ServiceWorkerSkeletonPython (const Nice::JointPtr &_config) |
|
virtual | ~Simple2ServiceWorkerSkeletonPython () |
|
virtual void | stop () |
| does nothing. More...
|
|
virtual void | abort () |
| does nothing. More...
|
|
virtual Nice::Point | readVelocity (int _idx) |
|
virtual void | writeVelocity (const Nice::Point &_velocity) |
|
virtual void | failErrorDirect (int _ival) |
|
virtual void | failError1to1 (int _ival) |
|
virtual void | moveRelative (const Nice::Point &_pnt, int _idx) |
|
virtual void | moveAbsolute (const Nice::Point &_pnt) |
|
virtual void | moveToHome () |
|
virtual void | moveToLimit (double _dbl) |
|
virtual void | moveToReference (int _ival) |
|
virtual void | setProfile (const Nice::NPoint &_position_sequence_x, const double &_time_resolution, const Nice::U32 &_samples_per_segment, const Nice::U32 &_max_error) |
|
virtual void | startProfile (const Nice::Date &_start_date_x) |
|
virtual void | useTransformation (int _ival) |
|
virtual Nice::Rect | createRect (const Nice::Point &_pnt, const Nice::Size &_size) |
|
virtual void | failFatalWork (double _dbl) |
|
virtual void | failErrorWork (double _dbl) |
|
virtual void | increment () |
|
virtual void | file (const Nice::File &_ff) |
|
virtual double | getVal (const Nice::SeqU16 &_val) |
|
virtual Nice::SeqU16 | getActuatorPositions () |
|
virtual int | wait10Secs () |
|
virtual int | setVector (const Nice::SeqFloat &_val) |
|
virtual int | setMatrix (const Nice::SeqSeqFloat &_val) |
|
virtual Basda::CameraMode | getCameraMode () |
|
virtual void | setCameraMode (Basda::CameraMode _val) |
|
virtual double | convertPosition (double _position, bool _absolute, std::string _unit_from, std::string _unit_to) |
|
virtual Nice::SeqInt | getBigData (int _size) |
|
| PythonServiceWorker (const Nice::JointPtr &_config) |
|
| PythonServiceWorker (const Nice::JointPtr &_config) |
|
virtual | ~PythonServiceWorker () |
|
virtual | ~PythonServiceWorker () |
|
virtual void | waitForNewState () |
|
virtual void | waitForNewState () |
|
virtual bool | timedWaitForNewState (const Nice::Time &_timeout) |
|
virtual bool | timedWaitForNewState (const Nice::Time &_timeout) |
|
virtual void | preinit () |
|
virtual void | preinit () |
|
virtual void | init () |
|
virtual void | init () |
|
virtual void | deinit () |
|
virtual void | deinit () |
|
virtual void | activate () |
|
virtual void | activate () |
|
virtual void | deactivate () |
|
virtual void | deactivate () |
|
virtual void | terminate () |
|
virtual void | terminate () |
|
virtual void | errorOffline () |
|
virtual void | errorOffline () |
|
virtual void | errorStandby () |
|
virtual void | errorStandby () |
|
virtual void | errorOnline () |
|
virtual void | errorOnline () |
|
virtual void | errorWorking () |
|
virtual void | errorWorking () |
|
virtual void | idleOffline () |
|
virtual void | idleOffline () |
|
virtual void | idleStandby () |
|
virtual void | idleStandby () |
|
virtual void | idleOnline () |
|
virtual void | idleOnline () |
|
| Simple2ServiceWorkerSkeleton (const Nice::JointPtr &_config) |
|
virtual | ~Simple2ServiceWorkerSkeleton () |
|
void | setMyInt (const int &_val, const Nice::Date &_date=Nice::Date::now()) |
|
int | getMyInt () |
|
void | setMyBool (const bool &_val, const Nice::Date &_date=Nice::Date::now()) |
|
bool | getMyBool () |
|
void | setMyName (const std::string &_val, const Nice::Date &_date=Nice::Date::now()) |
|
std::string | getMyName () |
|
void | setMyName2 (const std::string &_val, const Nice::Date &_date=Nice::Date::now()) |
|
std::string | getMyName2 () |
|
void | setMyIncrement (const int &_val, const Nice::Date &_date=Nice::Date::now()) |
|
int | getMyIncrement () |
|
void | setWait10 (const int &_val, const Nice::Date &_date=Nice::Date::now()) |
|
int | getWait10 () |
|
void | setInterval (const Nice::Time &_val, const Nice::Date &_date=Nice::Date::now()) |
|
Nice::Time | getInterval () |
|
const Nice::PropertyPtr & | cmd () |
|
void | setCompletion (const Nice::Completion &_c) |
|
void | cmdStart (const std::string &_action="") |
|
void | cmdDone () |
|
void | cmdWarning (const std::string &_l) |
|
void | cmdWarning (const Nice::LoggerObject &_o) |
|
void | cmdError (const std::string &_l) |
|
void | cmdError (const Nice::LoggerObject &_o) |
|
void | cmdError (const Nice::SeqLoggerObject &_oo) |
|
void | cmdPercent (Nice::Int _v) |
|
void | cmdAction (Nice::Int _v, const std::string &_s) |
|
virtual void | cmd (const Nice::Completion &_c) |
|
template<typename DataType > |
Nice::Completion | exec (const Nice::Completion &_c, DataType &_localdata, const DataType &_indata=DataType()) |
| if currently online, push the state into WORKING More...
|
|
template<typename DataType > |
void | execCommand (DataType _cmd) |
|
const Nice::PropertyPtr & | cmd () |
|
void | setCompletion (const Nice::Completion &_c) |
|
void | cmdStart (const std::string &_action="") |
|
void | cmdDone () |
|
void | cmdWarning (const std::string &_l) |
|
void | cmdWarning (const Nice::LoggerObject &_o) |
|
void | cmdError (const std::string &_l) |
|
void | cmdError (const Nice::LoggerObject &_o) |
|
void | cmdError (const Nice::SeqLoggerObject &_oo) |
|
void | cmdPercent (Nice::Int _v) |
|
void | cmdAction (Nice::Int _v, const std::string &_s) |
|
virtual void | cmd (const Nice::Completion &_c) |
|
template<typename DataType > |
Nice::Completion | exec (const Nice::Completion &_c, DataType &_localdata, const DataType &_indata=DataType()) |
|
template<typename DataType > |
void | execCommand (DataType _cmd) |
|
const Nice::JointPtr & | config () |
|
Nice::JointPtr | cfg () |
|
Nice::JointPtr | var () |
|
virtual const std::string & | name () |
|
virtual WorkerThreadPtr | worker () |
|
virtual Nice::Monitor & | monitor () |
|
virtual void | lock () |
|
virtual void | unlock () |
|
bool | stateIsSettled () |
|
bool | stateHasChanged () |
|
void | changeState (Basda::ServiceState _state) |
| change state to a new state If the state is the current state, or a negative state, do nothing. Otherwise change the "next" state in the state machine and notify all threads. More...
|
|
bool | tryChangeState (Basda::ServiceState _state, const Nice::Time &_timeout=Nice::Time::seconds(0.0)) |
| change state to a new state More...
|
|
void | waitForState (Basda::ServiceState _state) |
| wait (indefinitely) until the worker has reached a spcifici state More...
|
|
bool | timedWaitForState (Basda::ServiceState _state, const Nice::Time &_timeout) |
| wait (indefinitely) until the worker has reached a specific state More...
|
|
bool | changeStateOnlyFromTo (Basda::ServiceState _from, Basda::ServiceState _to) |
| wait (indefinitely) until the worker has reached a spcifici state More...
|
|
Basda::ServiceState | state () |
|
Basda::ServiceState | stateNow () |
|
Basda::ServiceState | stateNext () |
|
Basda::ServiceState | stateLast () |
|
bool | isTransit () |
|
bool | isTerminated () |
|
const Nice::JointPtr & | config () |
|
Nice::JointPtr | cfg () |
|
Nice::JointPtr | var () |
|
virtual const std::string & | name () |
|
virtual WorkerThreadPtr | worker () |
|
virtual Nice::Monitor & | monitor () |
|
virtual void | lock () |
|
virtual void | unlock () |
|
bool | stateIsSettled () |
|
bool | stateHasChanged () |
|
void | changeState (Basda::ServiceState _state) |
|
bool | tryChangeState (Basda::ServiceState _state, const Nice::Time &_timeout=Nice::Time::seconds(0.0)) |
|
void | waitForState (Basda::ServiceState _state) |
|
bool | timedWaitForState (Basda::ServiceState _state, const Nice::Time &_timeout) |
|
bool | changeStateOnlyFromTo (Basda::ServiceState _from, Basda::ServiceState _to) |
|
Basda::ServiceState | state () |
|
Basda::ServiceState | stateNow () |
|
Basda::ServiceState | stateNext () |
|
Basda::ServiceState | stateLast () |
|
bool | isTransit () |
|
bool | isTerminated () |
|
|
typedef void(ServiceWorker::* | ServiceWorkerMemFn) () |
|
typedef Branch | BranchTable[6][6] |
|
typedef IceUtil::Handle< WorkerThread > | WorkerThreadPtr |
|
typedef void(ServiceWorker::* | ServiceWorkerMemFn) () |
|
typedef Branch | BranchTable[6][6] |
|
typedef IceUtil::Handle< WorkerThread > | WorkerThreadPtr |
|
virtual Nice::CompletionState | reload (Nice::CommandFun< PythonServiceWorker > *_cmd, bool &_abort) |
|
virtual Nice::CompletionState | reload (Nice::CommandFun< PythonServiceWorker > *_cmd, bool &_abort) |
|
virtual void | handleException () |
|
virtual void | handleException () |
|
void | execPython (const char *_py) |
|
void | execPython (const char *_py, const Type1 &) |
|
void | execPython (const char *_py, const Type1 &, const Type2 &) |
|
void | execPython (const char *_py, const Type1 &, const Type2 &, const Type3 &) |
|
void | execPython (const char *_py, const Type1 &, const Type2 &, const Type3 &, const Type4 &) |
|
void | execPython (const char *_py, const Type1 &, const Type2 &, const Type3 &, const Type4 &, const Type5 &) |
|
void | execPython (const char *_py) |
|
void | execPython (const char *_py, const Type1 &) |
|
void | execPython (const char *_py, const Type1 &, const Type2 &) |
|
void | execPython (const char *_py, const Type1 &, const Type2 &, const Type3 &) |
|
void | execPython (const char *_py, const Type1 &, const Type2 &, const Type3 &, const Type4 &) |
|
void | execPython (const char *_py, const Type1 &, const Type2 &, const Type3 &, const Type4 &, const Type5 &) |
|
TypeRet | execPythonWithRet (const char *_py) |
|
TypeRet | execPythonWithRet (const char *_py, const Type1 &) |
|
TypeRet | execPythonWithRet (const char *_py, const Type1 &, const Type2 &) |
|
TypeRet | execPythonWithRet (const char *_py, const Type1 &, const Type2 &, const Type3 &) |
|
TypeRet | execPythonWithRet (const char *_py, const Type1 &, const Type2 &, const Type3 &, const Type4 &) |
|
TypeRet | execPythonWithRet (const char *_py, const Type1 &, const Type2 &, const Type3 &, const Type4 &, const Type5 &) |
|
TypeRet | execPythonWithRet (const char *_py) |
|
TypeRet | execPythonWithRet (const char *_py, const Type1 &) |
|
TypeRet | execPythonWithRet (const char *_py, const Type1 &, const Type2 &) |
|
TypeRet | execPythonWithRet (const char *_py, const Type1 &, const Type2 &, const Type3 &) |
|
TypeRet | execPythonWithRet (const char *_py, const Type1 &, const Type2 &, const Type3 &, const Type4 &) |
|
TypeRet | execPythonWithRet (const char *_py, const Type1 &, const Type2 &, const Type3 &, const Type4 &, const Type5 &) |
|
const char * | readVelocityNode () |
|
void | readVelocityInit (int _idx) |
|
const char * | writeVelocityNode () |
|
void | writeVelocityInit (const Nice::Point &_velocity) |
|
const char * | failErrorDirectNode () |
|
void | failErrorDirectInit (int _ival) |
|
const char * | failError1to1Node () |
|
void | failError1to1Init (int _ival) |
|
const char * | moveRelativeNode () |
|
void | moveRelativeInit (const Nice::Point &_pnt, int _idx) |
|
const char * | moveAbsoluteNode () |
|
void | moveAbsoluteInit (const Nice::Point &_pnt) |
|
const char * | moveToHomeNode () |
|
const char * | moveToLimitNode () |
|
void | moveToLimitInit (double _dbl) |
|
const char * | moveToReferenceNode () |
|
void | moveToReferenceInit (int _ival) |
|
const char * | setProfileNode () |
|
void | setProfileInit (const Nice::NPoint &_position_sequence_x, const double &_time_resolution, const Nice::U32 &_samples_per_segment, const Nice::U32 &_max_error) |
|
const char * | startProfileNode () |
|
void | startProfileInit (const Nice::Date &_start_date_x) |
|
const char * | useTransformationNode () |
|
void | useTransformationInit (int _ival) |
|
const char * | createRectNode () |
|
void | createRectInit (const Nice::Point &_pnt, const Nice::Size &_size) |
|
const char * | failFatalWorkNode () |
|
void | failFatalWorkInit (double _dbl) |
|
const char * | failErrorWorkNode () |
|
void | failErrorWorkInit (double _dbl) |
|
const char * | incrementNode () |
|
const char * | fileNode () |
|
void | fileInit (const Nice::File &_ff) |
|
const char * | getValNode () |
|
void | getValInit (const Nice::SeqU16 &_val) |
|
const char * | getActuatorPositionsNode () |
|
const char * | wait10SecsNode () |
|
const char * | setVectorNode () |
|
void | setVectorInit (const Nice::SeqFloat &_val) |
|
const char * | setMatrixNode () |
|
void | setMatrixInit (const Nice::SeqSeqFloat &_val) |
|
const char * | getCameraModeNode () |
|
const char * | setCameraModeNode () |
|
void | setCameraModeInit (Basda::CameraMode _val) |
|
const char * | convertPositionNode () |
|
void | convertPositionInit (double _position, bool _absolute, std::string _unit_from, std::string _unit_to) |
|
const char * | getBigDataNode () |
|
void | getBigDataInit (int _size) |
|
virtual void | work () |
|
| ServiceWorkerSkeleton (const Nice::JointPtr &_config) |
|
| ServiceWorkerSkeleton (const Nice::JointPtr &_config) |
|
| ServiceWorker (const Nice::JointPtr &_jointPtr) |
| ctor More...
|
|
virtual | ~ServiceWorker () |
| dtor Does nothing (in this base class) More...
|
|
void | triggerState (const Basda::ServiceStateMachine &_state) |
| change state to a new state More...
|
|
void | sendStateStatus (const std::string &_action, int _percent) |
|
void | setState (Basda::ServiceState _next) |
|
virtual void | packin () |
| schedule ONLINE as the next target state. More...
|
|
| ServiceWorker (const Nice::JointPtr &_jointPtr) |
|
virtual | ~ServiceWorker () |
|
void | triggerState (const Basda::ServiceStateMachine &_state) |
|
void | sendStateStatus (const std::string &_action, int _percent) |
|
void | setState (Basda::ServiceState _next) |
|
virtual void | packin () |
|
bp::object | m_pyModule |
|
bp::object | m_pyClass |
|
bp::object | m_pyInstance |
|
Nice::Completion | m_completion |
|
Nice::I64 | m_id |
|
Nice::PropertyPtr | m_cmd |
|
Nice::JointPtr | m_config |
|
Nice::PropertyPtr | m_state |
|
std::string | m_name |
|
static BranchTable | s_stateTable |
| A table which tells which state should go via which intermediate state to a target state. The 6 states are SHUTDOWN, OFFLINE, STANDBY, ONLINE, WORKING and ERROR. The principles are that. More...
|
|