|
| DrotServiceWorkerSkeleton (const Nice::JointPtr &_config) |
|
virtual | ~DrotServiceWorkerSkeleton () |
|
void | setPangStrtAng (const double &_val, const Nice::Date &_date=Nice::Date::now()) |
|
double | getPangStrtAng () |
|
void | setMotStrtAng (const double &_val, const Nice::Date &_date=Nice::Date::now()) |
|
double | getMotStrtAng () |
|
void | setTrajFinDate (const Nice::Date &_val, const Nice::Date &_date=Nice::Date::now()) |
|
Nice::Date | getTrajFinDate () |
|
virtual bool | isReachable ()=0 |
|
virtual double | getPosition (std::string _unit)=0 |
|
virtual void | setPosition (double _position, std::string _unit)=0 |
|
virtual double | getDeviceEncoderPosition (std::string _unit)=0 |
|
virtual double | getAbsoluteEncoderPosition ()=0 |
|
virtual double | getIncrementalEncoderPosition ()=0 |
|
virtual double | convertPosition (double _position, bool _absolute, std::string _unit_from, std::string _unit_to)=0 |
|
virtual double | getVelocity ()=0 |
|
virtual bool | isAtHome ()=0 |
|
virtual bool | isAtLimit ()=0 |
|
virtual bool | isMoving ()=0 |
|
virtual double | getNamedPosition (int _named_position)=0 |
|
virtual std::string | getRA ()=0 |
|
virtual void | changeDerotationWithAbsoluteOffset (const Nice::Date &_start_date, double _position, std::string _unit)=0 |
|
virtual void | changeDerotationWithRelativeOffset (const Nice::Date &_start_date, double _position, std::string _unit)=0 |
|
virtual Nice::SeqPoint | getKFPCoordinates ()=0 |
|
virtual lbto::SeqPos2 | getPresetStars ()=0 |
|
virtual std::string | getLINCstation ()=0 |
|
virtual double | getParallacticAngle ()=0 |
|
virtual bool | isSlewing ()=0 |
|
virtual void | moveRelative (double _position, std::string _unit)=0 |
|
virtual void | moveAbsolute (double _position, std::string _unit)=0 |
|
virtual void | moveToHome ()=0 |
|
virtual void | rewind (Nice::Time _durat, bool _go, Nice::Time _delay)=0 |
|
virtual void | moveToLimit (double _limit)=0 |
|
virtual void | moveToNamedPosition (int _named_position)=0 |
|
virtual void | startDerotation (const Nice::Date &_start_date, double _position, std::string _unit)=0 |
|
virtual void | startDerotationHere (const Nice::Date &_start_date)=0 |
|
| DrotServiceWorkerSkeleton (const Nice::JointPtr &_config) |
|
virtual | ~DrotServiceWorkerSkeleton () |
|
void | setPangStrtAng (const double &_val, const Nice::Date &_date=Nice::Date::now()) |
|
double | getPangStrtAng () |
|
void | setMotStrtAng (const double &_val, const Nice::Date &_date=Nice::Date::now()) |
|
double | getMotStrtAng () |
|
void | setTrajFinDate (const Nice::Date &_val, const Nice::Date &_date=Nice::Date::now()) |
|
Nice::Date | getTrajFinDate () |
|
virtual bool | isReachable ()=0 |
|
virtual double | getPosition (std::string _unit)=0 |
|
virtual void | setPosition (double _position, std::string _unit)=0 |
|
virtual double | getDeviceEncoderPosition (std::string _unit)=0 |
|
virtual double | getAbsoluteEncoderPosition ()=0 |
|
virtual double | getIncrementalEncoderPosition ()=0 |
|
virtual double | convertPosition (double _position, bool _absolute, std::string _unit_from, std::string _unit_to)=0 |
|
virtual double | getVelocity ()=0 |
|
virtual bool | isAtHome ()=0 |
|
virtual bool | isAtLimit ()=0 |
|
virtual bool | isMoving ()=0 |
|
virtual double | getNamedPosition (int _named_position)=0 |
|
virtual std::string | getRA ()=0 |
|
virtual void | changeDerotationWithAbsoluteOffset (const Nice::Date &_start_date, double _position, std::string _unit)=0 |
|
virtual void | changeDerotationWithRelativeOffset (const Nice::Date &_start_date, double _position, std::string _unit)=0 |
|
virtual Nice::SeqPoint | getKFPCoordinates ()=0 |
|
virtual lbto::SeqPos2 | getPresetStars ()=0 |
|
virtual std::string | getLINCstation ()=0 |
|
virtual double | getParallacticAngle ()=0 |
|
virtual bool | isSlewing ()=0 |
|
virtual void | moveRelative (double _position, std::string _unit)=0 |
|
virtual void | moveAbsolute (double _position, std::string _unit)=0 |
|
virtual void | moveToHome ()=0 |
|
virtual void | rewind (Nice::Time _durat, bool _go, Nice::Time _delay)=0 |
|
virtual void | moveToLimit (double _limit)=0 |
|
virtual void | moveToNamedPosition (int _named_position)=0 |
|
virtual void | startDerotation (const Nice::Date &_start_date, double _position, std::string _unit)=0 |
|
virtual void | startDerotationHere (const Nice::Date &_start_date)=0 |
|
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) |
|
virtual void | abort () |
| does nothing. More...
|
|
virtual void | stop () |
| does nothing. More...
|
|
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) |
|
virtual void | abort () |
| does nothing. More...
|
|
virtual void | stop () |
| does nothing. More...
|
|
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 () |
|
|
const char * | isReachableNode () |
|
const char * | getPositionNode () |
|
void | getPositionInit (std::string _unit) |
|
const char * | setPositionNode () |
|
void | setPositionInit (double _position, std::string _unit) |
|
const char * | getDeviceEncoderPositionNode () |
|
void | getDeviceEncoderPositionInit (std::string _unit) |
|
const char * | getAbsoluteEncoderPositionNode () |
|
const char * | getIncrementalEncoderPositionNode () |
|
const char * | convertPositionNode () |
|
void | convertPositionInit (double _position, bool _absolute, std::string _unit_from, std::string _unit_to) |
|
const char * | getVelocityNode () |
|
const char * | isAtHomeNode () |
|
const char * | isAtLimitNode () |
|
const char * | isMovingNode () |
|
const char * | getNamedPositionNode () |
|
void | getNamedPositionInit (int _named_position) |
|
const char * | getRANode () |
|
const char * | changeDerotationWithAbsoluteOffsetNode () |
|
void | changeDerotationWithAbsoluteOffsetInit (const Nice::Date &_start_date, double _position, std::string _unit) |
|
const char * | changeDerotationWithRelativeOffsetNode () |
|
void | changeDerotationWithRelativeOffsetInit (const Nice::Date &_start_date, double _position, std::string _unit) |
|
const char * | getKFPCoordinatesNode () |
|
const char * | getPresetStarsNode () |
|
const char * | getLINCstationNode () |
|
const char * | getParallacticAngleNode () |
|
const char * | isSlewingNode () |
|
const char * | moveRelativeNode () |
|
void | moveRelativeInit (double _position, std::string _unit) |
|
const char * | moveAbsoluteNode () |
|
void | moveAbsoluteInit (double _position, std::string _unit) |
|
const char * | moveToHomeNode () |
|
const char * | rewindNode () |
|
void | rewindInit (Nice::Time _durat, bool _go, Nice::Time _delay) |
|
const char * | moveToLimitNode () |
|
void | moveToLimitInit (double _limit) |
|
const char * | moveToNamedPositionNode () |
|
void | moveToNamedPositionInit (int _named_position) |
|
const char * | startDerotationNode () |
|
void | startDerotationInit (const Nice::Date &_start_date, double _position, std::string _unit) |
|
const char * | startDerotationHereNode () |
|
void | startDerotationHereInit (const Nice::Date &_start_date) |
|
virtual void | work () |
|
const char * | isReachableNode () |
|
const char * | getPositionNode () |
|
void | getPositionInit (std::string _unit) |
|
const char * | setPositionNode () |
|
void | setPositionInit (double _position, std::string _unit) |
|
const char * | getDeviceEncoderPositionNode () |
|
void | getDeviceEncoderPositionInit (std::string _unit) |
|
const char * | getAbsoluteEncoderPositionNode () |
|
const char * | getIncrementalEncoderPositionNode () |
|
const char * | convertPositionNode () |
|
void | convertPositionInit (double _position, bool _absolute, std::string _unit_from, std::string _unit_to) |
|
const char * | getVelocityNode () |
|
const char * | isAtHomeNode () |
|
const char * | isAtLimitNode () |
|
const char * | isMovingNode () |
|
const char * | getNamedPositionNode () |
|
void | getNamedPositionInit (int _named_position) |
|
const char * | getRANode () |
|
const char * | changeDerotationWithAbsoluteOffsetNode () |
|
void | changeDerotationWithAbsoluteOffsetInit (const Nice::Date &_start_date, double _position, std::string _unit) |
|
const char * | changeDerotationWithRelativeOffsetNode () |
|
void | changeDerotationWithRelativeOffsetInit (const Nice::Date &_start_date, double _position, std::string _unit) |
|
const char * | getKFPCoordinatesNode () |
|
const char * | getPresetStarsNode () |
|
const char * | getLINCstationNode () |
|
const char * | getParallacticAngleNode () |
|
const char * | isSlewingNode () |
|
const char * | moveRelativeNode () |
|
void | moveRelativeInit (double _position, std::string _unit) |
|
const char * | moveAbsoluteNode () |
|
void | moveAbsoluteInit (double _position, std::string _unit) |
|
const char * | moveToHomeNode () |
|
const char * | rewindNode () |
|
void | rewindInit (Nice::Time _durat, bool _go, Nice::Time _delay) |
|
const char * | moveToLimitNode () |
|
void | moveToLimitInit (double _limit) |
|
const char * | moveToNamedPositionNode () |
|
void | moveToNamedPositionInit (int _named_position) |
|
const char * | startDerotationNode () |
|
void | startDerotationInit (const Nice::Date &_start_date, double _position, std::string _unit) |
|
const char * | startDerotationHereNode () |
|
void | startDerotationHereInit (const Nice::Date &_start_date) |
|
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 | waitForNewState () |
|
virtual bool | timedWaitForNewState (const Nice::Time &_timeout) |
|
virtual void | preinit () |
|
virtual void | init ()=0 |
|
virtual void | deinit ()=0 |
|
virtual void | activate ()=0 |
|
virtual void | deactivate ()=0 |
|
virtual void | packin () |
| schedule ONLINE as the next target state. More...
|
|
virtual void | terminate () |
| schedule EXIT as the next target state. More...
|
|
virtual void | errorOffline () |
| set the target state to OFFLINE. More...
|
|
virtual void | errorStandby () |
| set the target state to OFFLINE. More...
|
|
virtual void | errorOnline () |
| set the target state to OFFLINE. More...
|
|
virtual void | errorWorking () |
| set the target state to OFFLINE. More...
|
|
virtual void | idleOffline () |
| wait for a state change. More...
|
|
virtual void | idleStandby () |
| wait for a state change. More...
|
|
virtual void | idleOnline () |
| wait for a state change. 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 | waitForNewState () |
|
virtual bool | timedWaitForNewState (const Nice::Time &_timeout) |
|
virtual void | preinit () |
|
virtual void | init ()=0 |
|
virtual void | deinit ()=0 |
|
virtual void | activate ()=0 |
|
virtual void | deactivate ()=0 |
|
virtual void | packin () |
|
virtual void | terminate () |
|
virtual void | errorOffline () |
|
virtual void | errorStandby () |
|
virtual void | errorOnline () |
|
virtual void | errorWorking () |
|
virtual void | idleOffline () |
|
virtual void | idleStandby () |
|
virtual void | idleOnline () |
|