|
| ADSECServiceWorker (const Nice::JointPtr &_config) |
|
virtual | ~ADSECServiceWorker () |
|
virtual void | init () |
|
virtual void | deinit () |
|
virtual void | activate () |
|
virtual void | deactivate () |
|
virtual void | terminate () |
| schedule EXIT as the next target state. More...
|
|
virtual void | stop () |
| does nothing. More...
|
|
virtual void | abort () |
| does nothing. More...
|
|
virtual void | LoadSlopeFilter (Nice::File _slopefilt) |
|
virtual void | LoadModeFilter (Nice::File _modefilt) |
|
virtual void | RefreshSlopeBuff () |
|
virtual Nice::SeqFloat | ReadSecSlopeBuff (int IDX, Nice::Long _counter) |
|
virtual void | SetDataDecimation (int _decim) |
|
virtual void | LoadShape (Nice::File _shape) |
|
virtual void | LoadGain (Nice::File _gain) |
|
virtual void | LoadDisturb (bool _diston, Nice::File _dist) |
|
virtual void | LoadRecMat (Nice::File M2CFILE, Nice::File RECMAT) |
|
virtual void | Offload (bool _ttoffl) |
|
virtual Nice::SeqFloat | GetOffloads () |
|
virtual void | CalibrateCmd (std::string _procname, int _param) |
|
virtual void | RunAo (int _decimation, float _loopFreq, float _ovsFreq) |
|
virtual void | StopAo (bool _restoreShape) |
|
virtual void | PauseAo () |
|
virtual void | ResumeAo () |
|
virtual void | SetGain (Nice::SeqFloat _gain) |
|
virtual void | SetDisturb (bool DISTON, const Nice::SeqSeqFloat &_dist) |
|
virtual void | SetRecMat (const Nice::SeqSeqFloat &_m2c, const Nice::SeqSeqFloat &_recmat) |
|
virtual void | SetSlopeFilter (const Nice::SeqSeqFloat &_slopefilt) |
|
virtual void | SetModeFilter (const Nice::SeqSeqFloat &_modefilt) |
|
virtual void | DecreaseTT () |
|
virtual void | IncreaseTT () |
|
virtual void | DecreaseHO () |
|
virtual void | IncreaseHO () |
|
virtual void | SetHO (float _gain) |
|
virtual void | SetTT (float _gain) |
|
virtual void | prepareForCloseLoop (Nice::U16 _decimation, Nice::U16 _framerate) |
|
| ADSECServiceWorker (const Nice::JointPtr &_config) |
|
virtual | ~ADSECServiceWorker () |
|
virtual void | init () |
|
virtual void | deinit () |
|
virtual void | activate () |
|
virtual void | deactivate () |
|
virtual void | terminate () |
| schedule EXIT as the next target state. More...
|
|
virtual void | stop () |
| does nothing. More...
|
|
virtual void | abort () |
| does nothing. More...
|
|
virtual void | LoadSlopeFilter (Nice::File _slopefilt) |
|
virtual void | LoadModeFilter (Nice::File _modefilt) |
|
virtual void | RefreshSlopeBuff () |
|
virtual Nice::SeqFloat | ReadSecSlopeBuff (int IDX, Nice::Long _counter) |
|
virtual void | SetDataDecimation (int _decim) |
|
virtual void | LoadShape (Nice::File _shape) |
|
virtual void | LoadGain (Nice::File _gain) |
|
virtual void | LoadDisturb (bool _diston, Nice::File _dist) |
|
virtual void | LoadRecMat (Nice::File M2CFILE, Nice::File RECMAT) |
|
virtual void | Offload (bool _ttoffl) |
|
virtual Nice::SeqFloat | GetOffloads () |
|
virtual void | CalibrateCmd (std::string _procname, int _param) |
|
virtual void | RunAo (int _decimation, float _loopFreq, float _ovsFreq) |
|
virtual void | StopAo (bool _restoreShape) |
|
virtual void | PauseAo () |
|
virtual void | ResumeAo () |
|
virtual void | SetGain (Nice::SeqFloat _gain) |
|
virtual void | SetDisturb (bool DISTON, const Nice::SeqSeqFloat &_dist) |
|
virtual void | SetRecMat (const Nice::SeqSeqFloat &_m2c, const Nice::SeqSeqFloat &_recmat) |
|
virtual void | SetSlopeFilter (const Nice::SeqSeqFloat &_slopefilt) |
|
virtual void | SetModeFilter (const Nice::SeqSeqFloat &_modefilt) |
|
virtual void | DecreaseTT () |
|
virtual void | IncreaseTT () |
|
virtual void | DecreaseHO () |
|
virtual void | IncreaseHO () |
|
virtual void | SetHO (float _gain) |
|
virtual void | SetTT (float _gain) |
|
virtual void | prepareForCloseLoop (Nice::U16 _decimation, Nice::U16 _framerate) |
|
| ADSECServiceWorkerSkeleton (const Nice::JointPtr &_config) |
|
virtual | ~ADSECServiceWorkerSkeleton () |
|
| ADSECServiceWorkerSkeleton (const Nice::JointPtr &_config) |
|
virtual | ~ADSECServiceWorkerSkeleton () |
|
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 |
|
const char * | LoadSlopeFilterNode () |
|
void | LoadSlopeFilterInit (Nice::File _slopefilt) |
|
const char * | LoadModeFilterNode () |
|
void | LoadModeFilterInit (Nice::File _modefilt) |
|
const char * | RunAoNode () |
|
void | RunAoInit (int _decim, float _loopfeq, float _ovsfreq) |
|
const char * | StopAoNode () |
|
void | StopAoInit (bool _restshape) |
|
const char * | PauseAoNode () |
|
const char * | ResumeAoNode () |
|
const char * | SetDataDecimationNode () |
|
void | SetDataDecimationInit (int _decim) |
|
const char * | RefreshSlopeBuffNode () |
|
const char * | ReadSecSlopeBuffNode () |
|
void | ReadSecSlopeBuffInit (int _idx, Nice::Long _counter) |
|
const char * | LoadShapeNode () |
|
void | LoadShapeInit (Nice::File _shape) |
|
const char * | LoadGainNode () |
|
void | LoadGainInit (Nice::File _gain) |
|
const char * | LoadDisturbNode () |
|
void | LoadDisturbInit (bool _diston, Nice::File _dist) |
|
const char * | LoadRecMatNode () |
|
void | LoadRecMatInit (Nice::File _m2c, Nice::File _recmat) |
|
const char * | OffloadNode () |
|
void | OffloadInit (bool _dooffl) |
|
const char * | CalibrateCmdNode () |
|
void | CalibrateCmdInit (std::string _procname, int _param) |
|
const char * | GetOffloadsNode () |
|
const char * | SetGainNode () |
|
void | SetGainInit (Nice::SeqFloat _gain) |
|
const char * | DecreaseTTNode () |
|
const char * | IncreaseTTNode () |
|
const char * | DecreaseHONode () |
|
const char * | IncreaseHONode () |
|
const char * | SetHONode () |
|
void | SetHOInit (float _gain) |
|
const char * | SetTTNode () |
|
void | SetTTInit (float _gain) |
|
const char * | SetDisturbNode () |
|
void | SetDisturbInit (bool _diston, const Nice::SeqSeqFloat &_dist) |
|
const char * | SetRecMatNode () |
|
void | SetRecMatInit (const Nice::SeqSeqFloat &_m2c, const Nice::SeqSeqFloat &_recmat) |
|
const char * | SetSlopeFilterNode () |
|
void | SetSlopeFilterInit (const Nice::SeqSeqFloat &_slopefilt) |
|
const char * | SetModeFilterNode () |
|
void | SetModeFilterInit (const Nice::SeqSeqFloat &_modefilt) |
|
const char * | prepareForCloseLoopNode () |
|
void | prepareForCloseLoopInit (Nice::U16 _decimation, Nice::U16 _framerate) |
|
virtual void | work () |
|
const char * | LoadSlopeFilterNode () |
|
void | LoadSlopeFilterInit (Nice::File _slopefilt) |
|
const char * | LoadModeFilterNode () |
|
void | LoadModeFilterInit (Nice::File _modefilt) |
|
const char * | RunAoNode () |
|
void | RunAoInit (int _decim, float _loopfeq, float _ovsfreq) |
|
const char * | StopAoNode () |
|
void | StopAoInit (bool _restshape) |
|
const char * | PauseAoNode () |
|
const char * | ResumeAoNode () |
|
const char * | SetDataDecimationNode () |
|
void | SetDataDecimationInit (int _decim) |
|
const char * | RefreshSlopeBuffNode () |
|
const char * | ReadSecSlopeBuffNode () |
|
void | ReadSecSlopeBuffInit (int _idx, Nice::Long _counter) |
|
const char * | LoadShapeNode () |
|
void | LoadShapeInit (Nice::File _shape) |
|
const char * | LoadGainNode () |
|
void | LoadGainInit (Nice::File _gain) |
|
const char * | LoadDisturbNode () |
|
void | LoadDisturbInit (bool _diston, Nice::File _dist) |
|
const char * | LoadRecMatNode () |
|
void | LoadRecMatInit (Nice::File _m2c, Nice::File _recmat) |
|
const char * | OffloadNode () |
|
void | OffloadInit (bool _dooffl) |
|
const char * | CalibrateCmdNode () |
|
void | CalibrateCmdInit (std::string _procname, int _param) |
|
const char * | GetOffloadsNode () |
|
const char * | SetGainNode () |
|
void | SetGainInit (Nice::SeqFloat _gain) |
|
const char * | DecreaseTTNode () |
|
const char * | IncreaseTTNode () |
|
const char * | DecreaseHONode () |
|
const char * | IncreaseHONode () |
|
const char * | SetHONode () |
|
void | SetHOInit (float _gain) |
|
const char * | SetTTNode () |
|
void | SetTTInit (float _gain) |
|
const char * | SetDisturbNode () |
|
void | SetDisturbInit (bool _diston, const Nice::SeqSeqFloat &_dist) |
|
const char * | SetRecMatNode () |
|
void | SetRecMatInit (const Nice::SeqSeqFloat &_m2c, const Nice::SeqSeqFloat &_recmat) |
|
const char * | SetSlopeFilterNode () |
|
void | SetSlopeFilterInit (const Nice::SeqSeqFloat &_slopefilt) |
|
const char * | SetModeFilterNode () |
|
void | SetModeFilterInit (const Nice::SeqSeqFloat &_modefilt) |
|
const char * | prepareForCloseLoopNode () |
|
void | prepareForCloseLoopInit (Nice::U16 _decimation, Nice::U16 _framerate) |
|
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 | packin () |
| schedule ONLINE 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 | packin () |
|
virtual void | errorOffline () |
|
virtual void | errorStandby () |
|
virtual void | errorOnline () |
|
virtual void | errorWorking () |
|
virtual void | idleOffline () |
|
virtual void | idleStandby () |
|
virtual void | idleOnline () |
|
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...
|
|