TwiceAsNice  2019-02-18
Public Member Functions | Static Public Member Functions | List of all members
Laos::WfcCommonsServiceWorkerInterfacePy Class Reference
Inheritance diagram for Laos::WfcCommonsServiceWorkerInterfacePy:
Inheritance graph
Collaboration diagram for Laos::WfcCommonsServiceWorkerInterfacePy:
Collaboration graph

Public Member Functions

 WfcCommonsServiceWorkerInterfacePy (const Nice::JointPtr &_config)
 
virtual bool changeState (Basda::ServiceState _state, const Nice::Time &_wait=Nice::Time())
 
virtual bool waitForState (Basda::ServiceState _state, const Nice::Time &_wait=Nice::Time())
 
void loadMask (Nice::File _maskfile)
 
void setMask (Nice::SeqDynamicBitset _mask)
 
virtual Nice::Completion startLoopStart (Nice::U32 _nframes)
 
virtual bool startLoopWait (const Nice::Time &_wait=Nice::Time())
 
virtual Nice::Int startLoopGet ()
 
void stopLoop ()
 
virtual Nice::Completion resetLoopStart ()
 
virtual bool resetLoopWait (const Nice::Time &_wait=Nice::Time())
 
virtual Nice::Completion initLoopStart ()
 
virtual bool initLoopWait (const Nice::Time &_wait=Nice::Time())
 
void closeLoop ()
 
void setAndClose ()
 
void setNormalizeMethod (Nice::U16 _normmethod)
 
void setSlopeOffset (Nice::SeqFloat _slopeoffset)
 
void loadSlopeOffset (Nice::File _slopeoffset)
 
void enableLinearize (bool _linearize)
 
void setSlopeNormConst (float _normconst)
 
void setLinearisation (Nice::SeqFloat _linvec)
 
void startRandomPixelGen ()
 
void enableDisturbance (bool _disturb)
 
void send2DM (bool _send)
 
void toggleSend2DM ()
 
Nice::SeqDynamicBitset getSlopeMask ()
 
 WfcCommonsServiceWorkerInterfacePy (const Nice::JointPtr &_config)
 
virtual bool changeState (Basda::ServiceState _state, const Nice::Time &_wait=Nice::Time())
 
virtual bool waitForState (Basda::ServiceState _state, const Nice::Time &_wait=Nice::Time())
 
void loadMask (Nice::File _maskfile)
 
void setMask (Nice::SeqDynamicBitset _mask)
 
virtual Nice::Completion startLoopStart (Nice::U32 _nframes)
 
virtual bool startLoopWait (const Nice::Time &_wait=Nice::Time())
 
virtual Nice::Int startLoopGet ()
 
void stopLoop ()
 
virtual Nice::Completion resetLoopStart ()
 
virtual bool resetLoopWait (const Nice::Time &_wait=Nice::Time())
 
virtual Nice::Completion initLoopStart ()
 
virtual bool initLoopWait (const Nice::Time &_wait=Nice::Time())
 
void closeLoop ()
 
void setAndClose ()
 
void setNormalizeMethod (Nice::U16 _normmethod)
 
void setSlopeOffset (Nice::SeqFloat _slopeoffset)
 
void loadSlopeOffset (Nice::File _slopeoffset)
 
void enableLinearize (bool _linearize)
 
void setSlopeNormConst (float _normconst)
 
void setLinearisation (Nice::SeqFloat _linvec)
 
void startRandomPixelGen ()
 
void enableDisturbance (bool _disturb)
 
void send2DM (bool _send)
 
void toggleSend2DM ()
 
Nice::SeqDynamicBitset getSlopeMask ()
 
- Public Member Functions inherited from Laos::WfcCommonsServiceWorkerInterface
void init ()
 
void loadMask (Nice::File _maskfile)
 
void setMask (Nice::SeqDynamicBitset _mask)
 
Nice::SeqDynamicBitset getMask2 ()
 
Nice::SeqDynamicBitset getMask ()
 
Nice::Completion startLoopCompletion ()
 
Nice::Completion startLoopStart (Nice::U32 _nframes)
 
Nice::Int startLoopGet ()
 
Nice::Int startLoop (Nice::U32 _nframes)
 
void stopLoop ()
 
Nice::Completion resetLoopCompletion ()
 
Nice::Completion resetLoopStart ()
 
void resetLoop ()
 
Nice::Completion initLoopCompletion ()
 
Nice::Completion initLoopStart ()
 
void initLoop ()
 
void closeLoop ()
 
void setAndClose ()
 
void setNormalizeMethod (Nice::U16 _normmethod)
 
void setSlopeOffset (Nice::SeqFloat _slopeoffset)
 
void loadSlopeOffset (Nice::File _slopeoffset)
 
void enableLinearize (bool _linearize)
 
void setSlopeNormConst (float _normconst)
 
void setLinearisation (Nice::SeqFloat _linvec)
 
void startRandomPixelGen ()
 
void enableDisturbance (bool _disturb)
 
void send2DM (bool _send)
 
void toggleSend2DM ()
 
Nice::SeqDynamicBitset getSlopeMask ()
 
void init ()
 
void loadMask (Nice::File _maskfile)
 
void setMask (Nice::SeqDynamicBitset _mask)
 
Nice::SeqDynamicBitset getMask2 ()
 
Nice::SeqDynamicBitset getMask ()
 
Nice::Completion startLoopCompletion ()
 
Nice::Completion startLoopStart (Nice::U32 _nframes)
 
Nice::Int startLoopGet ()
 
Nice::Int startLoop (Nice::U32 _nframes)
 
void stopLoop ()
 
Nice::Completion resetLoopCompletion ()
 
Nice::Completion resetLoopStart ()
 
void resetLoop ()
 
Nice::Completion initLoopCompletion ()
 
Nice::Completion initLoopStart ()
 
void initLoop ()
 
void closeLoop ()
 
void setAndClose ()
 
void setNormalizeMethod (Nice::U16 _normmethod)
 
void setSlopeOffset (Nice::SeqFloat _slopeoffset)
 
void loadSlopeOffset (Nice::File _slopeoffset)
 
void enableLinearize (bool _linearize)
 
void setSlopeNormConst (float _normconst)
 
void setLinearisation (Nice::SeqFloat _linvec)
 
void startRandomPixelGen ()
 
void enableDisturbance (bool _disturb)
 
void send2DM (bool _send)
 
void toggleSend2DM ()
 
Nice::SeqDynamicBitset getSlopeMask ()
 
- Public Member Functions inherited from Basda::ServiceWorkerInterface
virtual ~ServiceWorkerInterface ()
 
std::string identity ()
 
Nice::I64 id ()
 
Nice::JointPtr config ()
 
bool isConnected ()
 
template<typename Type >
void set (const char *_key, const Type &_val)
 
template<typename Type >
Type get (const char *_key)
 
template<typename Type >
Type getAttribute (const char *_key, const char *_attr)
 
void abort ()
 
bool stop (const Nice::Time &_timeout=Nice::Time())
 
Basda::ServiceState state ()
 
bool changeState (Basda::ServiceState _state, const Nice::Time &_timeout=Nice::Time())
 
bool waitForState (Basda::ServiceState _state, const Nice::Time &_timeout=Nice::Time())
 
bool waitForActiveState (const Nice::Time &_timeout=Nice::Time())
 
virtual ~ServiceWorkerInterface ()
 
std::string identity ()
 
Nice::I64 id ()
 
Nice::JointPtr config ()
 
bool isConnected ()
 
template<typename Type >
void set (const char *_key, const Type &_val)
 
template<typename Type >
Type get (const char *_key)
 
template<typename Type >
Type getAttribute (const char *_key, const char *_attr)
 
void abort ()
 
bool stop (const Nice::Time &_timeout=Nice::Time())
 
Basda::ServiceState state ()
 
bool changeState (Basda::ServiceState _state, const Nice::Time &_timeout=Nice::Time())
 
bool waitForState (Basda::ServiceState _state, const Nice::Time &_timeout=Nice::Time())
 
bool waitForActiveState (const Nice::Time &_timeout=Nice::Time())
 

Static Public Member Functions

static WfcCommonsServiceWorkerInterfacePyPtr create (const std::string &_absnodename)
 
static WfcCommonsServiceWorkerInterfacePyPtr create (const std::string &_absnodename)
 
- Static Public Member Functions inherited from Laos::WfcCommonsServiceWorkerInterface
static WfcCommonsServiceWorkerInterfacePtr create (const std::string &_absnodename)
 
static WfcCommonsServiceWorkerInterfacePtr create (const Nice::JointPtr &_config)
 
static WfcCommonsServiceWorkerInterfacePtr connect (const Nice::Endpoint &, const Nice::JointPtr &_config)
 
static WfcCommonsServiceWorkerInterfacePtr create (const std::string &_absnodename)
 
static WfcCommonsServiceWorkerInterfacePtr create (const Nice::JointPtr &_config)
 
static WfcCommonsServiceWorkerInterfacePtr connect (const Nice::Endpoint &, const Nice::JointPtr &_config)
 
- Static Public Member Functions inherited from Basda::ServiceWorkerInterface
static void addAttribute (const Nice::JointPtr &_node)
 
template<typename Type >
static IceUtil::Handle< Typecreate (const Nice::JointPtr &_config, const std::string &_name)
 
template<typename Type >
static IceUtil::Handle< Typeconnect (const Nice::Endpoint &_ep, const Nice::JointPtr &_config, const std::string &_name)
 
static void addAttribute (const Nice::JointPtr &_node)
 
template<typename Type >
static IceUtil::Handle< Typecreate (const Nice::JointPtr &_config, const std::string &_name)
 
template<typename Type >
static IceUtil::Handle< Typeconnect (const Nice::Endpoint &_ep, const Nice::JointPtr &_config, const std::string &_name)
 

Additional Inherited Members

- Public Types inherited from Laos::WfcCommonsServiceWorkerInterface
enum  CMDS {
  LOADMASK, SETMASK, STARTLOOP, STOPLOOP,
  RESETLOOP, INITLOOP, CLOSELOOP, SETANDCLOSE,
  SETNORMALIZEMETHOD, SETSLOPEOFFSET, LOADSLOPEOFFSET, ENABLELINEARIZE,
  SETSLOPENORMCONST, SETLINEARISATION, STARTRANDOMPIXELGEN, ENABLEDISTURBANCE,
  SEND2DM, TOGGLESEND2DM, GETSLOPEMASK, LOADMASK,
  SETMASK, STARTLOOP, STOPLOOP, RESETLOOP,
  INITLOOP, CLOSELOOP, SETANDCLOSE, SETNORMALIZEMETHOD,
  SETSLOPEOFFSET, LOADSLOPEOFFSET, ENABLELINEARIZE, SETSLOPENORMCONST,
  SETLINEARISATION, STARTRANDOMPIXELGEN, ENABLEDISTURBANCE, SEND2DM,
  TOGGLESEND2DM, GETSLOPEMASK
}
 
enum  CMDS {
  LOADMASK, SETMASK, STARTLOOP, STOPLOOP,
  RESETLOOP, INITLOOP, CLOSELOOP, SETANDCLOSE,
  SETNORMALIZEMETHOD, SETSLOPEOFFSET, LOADSLOPEOFFSET, ENABLELINEARIZE,
  SETSLOPENORMCONST, SETLINEARISATION, STARTRANDOMPIXELGEN, ENABLEDISTURBANCE,
  SEND2DM, TOGGLESEND2DM, GETSLOPEMASK, LOADMASK,
  SETMASK, STARTLOOP, STOPLOOP, RESETLOOP,
  INITLOOP, CLOSELOOP, SETANDCLOSE, SETNORMALIZEMETHOD,
  SETSLOPEOFFSET, LOADSLOPEOFFSET, ENABLELINEARIZE, SETSLOPENORMCONST,
  SETLINEARISATION, STARTRANDOMPIXELGEN, ENABLEDISTURBANCE, SEND2DM,
  TOGGLESEND2DM, GETSLOPEMASK
}
 
- Static Public Attributes inherited from Laos::WfcCommonsServiceWorkerInterface
static std::map< std::string, Nice::CompletionStates_enumMapStringToNum
 
- Protected Member Functions inherited from Laos::WfcCommonsServiceWorkerInterface
 WfcCommonsServiceWorkerInterface (const Nice::JointPtr &, const Nice::AppConfigClientPtr &_cc=0)
 
virtual ~WfcCommonsServiceWorkerInterface ()
 
 WfcCommonsServiceWorkerInterface (const Nice::JointPtr &, const Nice::AppConfigClientPtr &_cc=0)
 
virtual ~WfcCommonsServiceWorkerInterface ()
 
- Protected Member Functions inherited from Basda::ServiceWorkerInterface
void addListener ()
 
template<typename BridgeType >
IceUtil::Handle< BridgeType > addCmdBridge (const std::string &_node)
 
 ServiceWorkerInterface (const Nice::JointPtr &_config, const Nice::AppConfigClientPtr &_cc=0)
 
void addListener ()
 
template<typename BridgeType >
IceUtil::Handle< BridgeType > addCmdBridge (const std::string &_node)
 
 ServiceWorkerInterface (const Nice::JointPtr &_config, const Nice::AppConfigClientPtr &_cc=0)
 
- Protected Attributes inherited from Basda::ServiceWorkerInterface
std::string m_identity
 
Nice::I64 m_id
 
Nice::JointPtr m_config
 
Nice::AppConfigClientPtr m_cc
 
ServiceWorkerInterfaceWatchdogListenerm_listener
 
Nice::PropertyBridgeReadWaitProxyPtr m_stateBridgeReadWaitProxy
 
Basda::ServiceWorkerReadWaitCompletionProxyPtr m_stopReadWaitProxy
 
- Static Protected Attributes inherited from Basda::ServiceWorkerInterface
static std::map< std::string, ServiceWorkerInterfacePtrs_inst
 

Constructor & Destructor Documentation

◆ WfcCommonsServiceWorkerInterfacePy() [1/2]

Laos::WfcCommonsServiceWorkerInterfacePy::WfcCommonsServiceWorkerInterfacePy ( const Nice::JointPtr _config)
inline

◆ WfcCommonsServiceWorkerInterfacePy() [2/2]

Laos::WfcCommonsServiceWorkerInterfacePy::WfcCommonsServiceWorkerInterfacePy ( const Nice::JointPtr _config)
inline

Member Function Documentation

◆ changeState() [1/2]

virtual bool Laos::WfcCommonsServiceWorkerInterfacePy::changeState ( Basda::ServiceState  _state,
const Nice::Time _wait = Nice::Time() 
)
inlinevirtual
Note
overridden

◆ changeState() [2/2]

virtual bool Laos::WfcCommonsServiceWorkerInterfacePy::changeState ( Basda::ServiceState  _state,
const Nice::Time _wait = Nice::Time() 
)
inlinevirtual
Note
overridden

◆ closeLoop() [1/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::closeLoop ( )
inline
Note
overridden

◆ closeLoop() [2/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::closeLoop ( )
inline
Note
overridden

◆ create() [1/2]

static WfcCommonsServiceWorkerInterfacePyPtr Laos::WfcCommonsServiceWorkerInterfacePy::create ( const std::string &  _absnodename)
inlinestatic

◆ create() [2/2]

static WfcCommonsServiceWorkerInterfacePyPtr Laos::WfcCommonsServiceWorkerInterfacePy::create ( const std::string &  _absnodename)
inlinestatic

◆ enableDisturbance() [1/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::enableDisturbance ( bool  _disturb)
inline
Note
overridden

◆ enableDisturbance() [2/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::enableDisturbance ( bool  _disturb)
inline
Note
overridden

◆ enableLinearize() [1/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::enableLinearize ( bool  _linearize)
inline
Note
overridden

◆ enableLinearize() [2/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::enableLinearize ( bool  _linearize)
inline
Note
overridden

◆ getSlopeMask() [1/2]

Nice::SeqDynamicBitset Laos::WfcCommonsServiceWorkerInterfacePy::getSlopeMask ( )
inline
Note
overridden

◆ getSlopeMask() [2/2]

Nice::SeqDynamicBitset Laos::WfcCommonsServiceWorkerInterfacePy::getSlopeMask ( )
inline
Note
overridden

◆ initLoopStart() [1/2]

virtual Nice::Completion Laos::WfcCommonsServiceWorkerInterfacePy::initLoopStart ( )
inlinevirtual
Note
overridden

◆ initLoopStart() [2/2]

virtual Nice::Completion Laos::WfcCommonsServiceWorkerInterfacePy::initLoopStart ( )
inlinevirtual
Note
overridden

◆ initLoopWait() [1/2]

virtual bool Laos::WfcCommonsServiceWorkerInterfacePy::initLoopWait ( const Nice::Time _wait = Nice::Time())
inlinevirtual
Note
overridden

Reimplemented from Laos::WfcCommonsServiceWorkerInterface.

◆ initLoopWait() [2/2]

virtual bool Laos::WfcCommonsServiceWorkerInterfacePy::initLoopWait ( const Nice::Time _wait = Nice::Time())
inlinevirtual
Note
overridden

Reimplemented from Laos::WfcCommonsServiceWorkerInterface.

◆ loadMask() [1/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::loadMask ( Nice::File  _maskfile)
inline
Note
overridden

◆ loadMask() [2/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::loadMask ( Nice::File  _maskfile)
inline
Note
overridden

◆ loadSlopeOffset() [1/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::loadSlopeOffset ( Nice::File  _slopeoffset)
inline
Note
overridden

◆ loadSlopeOffset() [2/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::loadSlopeOffset ( Nice::File  _slopeoffset)
inline
Note
overridden

◆ resetLoopStart() [1/2]

virtual Nice::Completion Laos::WfcCommonsServiceWorkerInterfacePy::resetLoopStart ( )
inlinevirtual
Note
overridden

◆ resetLoopStart() [2/2]

virtual Nice::Completion Laos::WfcCommonsServiceWorkerInterfacePy::resetLoopStart ( )
inlinevirtual
Note
overridden

◆ resetLoopWait() [1/2]

virtual bool Laos::WfcCommonsServiceWorkerInterfacePy::resetLoopWait ( const Nice::Time _wait = Nice::Time())
inlinevirtual
Note
overridden

Reimplemented from Laos::WfcCommonsServiceWorkerInterface.

◆ resetLoopWait() [2/2]

virtual bool Laos::WfcCommonsServiceWorkerInterfacePy::resetLoopWait ( const Nice::Time _wait = Nice::Time())
inlinevirtual
Note
overridden

Reimplemented from Laos::WfcCommonsServiceWorkerInterface.

◆ send2DM() [1/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::send2DM ( bool  _send)
inline
Note
overridden

◆ send2DM() [2/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::send2DM ( bool  _send)
inline
Note
overridden

◆ setAndClose() [1/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::setAndClose ( )
inline
Note
overridden

◆ setAndClose() [2/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::setAndClose ( )
inline
Note
overridden

◆ setLinearisation() [1/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::setLinearisation ( Nice::SeqFloat  _linvec)
inline
Note
overridden

◆ setLinearisation() [2/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::setLinearisation ( Nice::SeqFloat  _linvec)
inline
Note
overridden

◆ setMask() [1/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::setMask ( Nice::SeqDynamicBitset  _mask)
inline
Note
overridden

◆ setMask() [2/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::setMask ( Nice::SeqDynamicBitset  _mask)
inline
Note
overridden

◆ setNormalizeMethod() [1/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::setNormalizeMethod ( Nice::U16  _normmethod)
inline
Note
overridden

◆ setNormalizeMethod() [2/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::setNormalizeMethod ( Nice::U16  _normmethod)
inline
Note
overridden

◆ setSlopeNormConst() [1/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::setSlopeNormConst ( float  _normconst)
inline
Note
overridden

◆ setSlopeNormConst() [2/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::setSlopeNormConst ( float  _normconst)
inline
Note
overridden

◆ setSlopeOffset() [1/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::setSlopeOffset ( Nice::SeqFloat  _slopeoffset)
inline
Note
overridden

◆ setSlopeOffset() [2/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::setSlopeOffset ( Nice::SeqFloat  _slopeoffset)
inline
Note
overridden

◆ startLoopGet() [1/2]

virtual Nice::Int Laos::WfcCommonsServiceWorkerInterfacePy::startLoopGet ( )
inlinevirtual
Note
overridden

◆ startLoopGet() [2/2]

virtual Nice::Int Laos::WfcCommonsServiceWorkerInterfacePy::startLoopGet ( )
inlinevirtual
Note
overridden

◆ startLoopStart() [1/2]

virtual Nice::Completion Laos::WfcCommonsServiceWorkerInterfacePy::startLoopStart ( Nice::U32  _nframes)
inlinevirtual
Note
overridden

◆ startLoopStart() [2/2]

virtual Nice::Completion Laos::WfcCommonsServiceWorkerInterfacePy::startLoopStart ( Nice::U32  _nframes)
inlinevirtual
Note
overridden

◆ startLoopWait() [1/2]

virtual bool Laos::WfcCommonsServiceWorkerInterfacePy::startLoopWait ( const Nice::Time _wait = Nice::Time())
inlinevirtual
Note
overridden

Reimplemented from Laos::WfcCommonsServiceWorkerInterface.

◆ startLoopWait() [2/2]

virtual bool Laos::WfcCommonsServiceWorkerInterfacePy::startLoopWait ( const Nice::Time _wait = Nice::Time())
inlinevirtual
Note
overridden

Reimplemented from Laos::WfcCommonsServiceWorkerInterface.

◆ startRandomPixelGen() [1/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::startRandomPixelGen ( )
inline
Note
overridden

◆ startRandomPixelGen() [2/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::startRandomPixelGen ( )
inline
Note
overridden

◆ stopLoop() [1/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::stopLoop ( )
inline
Note
overridden

◆ stopLoop() [2/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::stopLoop ( )
inline
Note
overridden

◆ toggleSend2DM() [1/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::toggleSend2DM ( )
inline
Note
overridden

◆ toggleSend2DM() [2/2]

void Laos::WfcCommonsServiceWorkerInterfacePy::toggleSend2DM ( )
inline
Note
overridden

◆ waitForState() [1/2]

virtual bool Laos::WfcCommonsServiceWorkerInterfacePy::waitForState ( Basda::ServiceState  _state,
const Nice::Time _wait = Nice::Time() 
)
inlinevirtual
Note
overridden

◆ waitForState() [2/2]

virtual bool Laos::WfcCommonsServiceWorkerInterfacePy::waitForState ( Basda::ServiceState  _state,
const Nice::Time _wait = Nice::Time() 
)
inlinevirtual
Note
overridden

The documentation for this class was generated from the following file: