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

Public Member Functions

 MoccaStarEnlargerServiceWorkerInterfacePy (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())
 
Nice::Point readPosition (int _idx)
 
Nice::SeqPoint readPositionAll ()
 
virtual Nice::Completion moveRelativeStart (int _idx, const Nice::Point &_position, std::string _unit="STEPS")
 
virtual bool moveRelativeWait (const Nice::Time &_wait=Nice::Time())
 
virtual Nice::Completion moveRelativeAllStart (const Nice::SeqPoint &_position, std::string _unit="STEPS")
 
virtual bool moveRelativeAllWait (const Nice::Time &_wait=Nice::Time())
 
virtual Nice::Completion moveAbsoluteStart (int _idx, const Nice::Point &_position, std::string _unit="STEPS")
 
virtual bool moveAbsoluteWait (const Nice::Time &_wait=Nice::Time())
 
virtual Nice::Completion moveAbsoluteAllStart (const Nice::SeqPoint &_position, std::string _unit="STEPS")
 
virtual bool moveAbsoluteAllWait (const Nice::Time &_wait=Nice::Time())
 
virtual Nice::Completion moveToHomeStart (int _idx)
 
virtual bool moveToHomeWait (const Nice::Time &_wait=Nice::Time())
 
virtual Nice::Completion moveToHomeAllStart ()
 
virtual bool moveToHomeAllWait (const Nice::Time &_wait=Nice::Time())
 
 MoccaStarEnlargerServiceWorkerInterfacePy (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())
 
Nice::Point readPosition (int _idx)
 
Nice::SeqPoint readPositionAll ()
 
virtual Nice::Completion moveRelativeStart (int _idx, const Nice::Point &_position, std::string _unit="STEPS")
 
virtual bool moveRelativeWait (const Nice::Time &_wait=Nice::Time())
 
virtual Nice::Completion moveRelativeAllStart (const Nice::SeqPoint &_position, std::string _unit="STEPS")
 
virtual bool moveRelativeAllWait (const Nice::Time &_wait=Nice::Time())
 
virtual Nice::Completion moveAbsoluteStart (int _idx, const Nice::Point &_position, std::string _unit="STEPS")
 
virtual bool moveAbsoluteWait (const Nice::Time &_wait=Nice::Time())
 
virtual Nice::Completion moveAbsoluteAllStart (const Nice::SeqPoint &_position, std::string _unit="STEPS")
 
virtual bool moveAbsoluteAllWait (const Nice::Time &_wait=Nice::Time())
 
virtual Nice::Completion moveToHomeStart (int _idx)
 
virtual bool moveToHomeWait (const Nice::Time &_wait=Nice::Time())
 
virtual Nice::Completion moveToHomeAllStart ()
 
virtual bool moveToHomeAllWait (const Nice::Time &_wait=Nice::Time())
 
- Public Member Functions inherited from Basda::MoccaStarEnlargerServiceWorkerInterface
void init ()
 
Nice::Point readPosition (int _idx)
 
Nice::SeqPoint readPositionAll ()
 
Nice::Completion moveRelativeCompletion ()
 
Nice::Completion moveRelativeStart (int _idx, const Nice::Point &_position, std::string _unit="STEPS")
 
void moveRelative (int _idx, const Nice::Point &_position, std::string _unit="STEPS")
 
Nice::Completion moveRelativeAllCompletion ()
 
Nice::Completion moveRelativeAllStart (const Nice::SeqPoint &_position, std::string _unit="STEPS")
 
void moveRelativeAll (const Nice::SeqPoint &_position, std::string _unit="STEPS")
 
Nice::Completion moveAbsoluteCompletion ()
 
Nice::Completion moveAbsoluteStart (int _idx, const Nice::Point &_position, std::string _unit="STEPS")
 
void moveAbsolute (int _idx, const Nice::Point &_position, std::string _unit="STEPS")
 
Nice::Completion moveAbsoluteAllCompletion ()
 
Nice::Completion moveAbsoluteAllStart (const Nice::SeqPoint &_position, std::string _unit="STEPS")
 
void moveAbsoluteAll (const Nice::SeqPoint &_position, std::string _unit="STEPS")
 
Nice::Completion moveToHomeCompletion ()
 
Nice::Completion moveToHomeStart (int _idx)
 
void moveToHome (int _idx)
 
Nice::Completion moveToHomeAllCompletion ()
 
Nice::Completion moveToHomeAllStart ()
 
void moveToHomeAll ()
 
void init ()
 
Nice::Point readPosition (int _idx)
 
Nice::SeqPoint readPositionAll ()
 
Nice::Completion moveRelativeCompletion ()
 
Nice::Completion moveRelativeStart (int _idx, const Nice::Point &_position, std::string _unit="STEPS")
 
void moveRelative (int _idx, const Nice::Point &_position, std::string _unit="STEPS")
 
Nice::Completion moveRelativeAllCompletion ()
 
Nice::Completion moveRelativeAllStart (const Nice::SeqPoint &_position, std::string _unit="STEPS")
 
void moveRelativeAll (const Nice::SeqPoint &_position, std::string _unit="STEPS")
 
Nice::Completion moveAbsoluteCompletion ()
 
Nice::Completion moveAbsoluteStart (int _idx, const Nice::Point &_position, std::string _unit="STEPS")
 
void moveAbsolute (int _idx, const Nice::Point &_position, std::string _unit="STEPS")
 
Nice::Completion moveAbsoluteAllCompletion ()
 
Nice::Completion moveAbsoluteAllStart (const Nice::SeqPoint &_position, std::string _unit="STEPS")
 
void moveAbsoluteAll (const Nice::SeqPoint &_position, std::string _unit="STEPS")
 
Nice::Completion moveToHomeCompletion ()
 
Nice::Completion moveToHomeStart (int _idx)
 
void moveToHome (int _idx)
 
Nice::Completion moveToHomeAllCompletion ()
 
Nice::Completion moveToHomeAllStart ()
 
void moveToHomeAll ()
 
- 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 MoccaStarEnlargerServiceWorkerInterfacePyPtr create (const std::string &_absnodename)
 
static MoccaStarEnlargerServiceWorkerInterfacePyPtr create (const std::string &_absnodename)
 
- Static Public Member Functions inherited from Basda::MoccaStarEnlargerServiceWorkerInterface
static MoccaStarEnlargerServiceWorkerInterfacePtr create (const std::string &_absnodename)
 
static MoccaStarEnlargerServiceWorkerInterfacePtr create (const Nice::JointPtr &_config)
 
static MoccaStarEnlargerServiceWorkerInterfacePtr connect (const Nice::Endpoint &, const Nice::JointPtr &_config)
 
static MoccaStarEnlargerServiceWorkerInterfacePtr create (const std::string &_absnodename)
 
static MoccaStarEnlargerServiceWorkerInterfacePtr create (const Nice::JointPtr &_config)
 
static MoccaStarEnlargerServiceWorkerInterfacePtr 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 Basda::MoccaStarEnlargerServiceWorkerInterface
enum  CMDS {
  READPOSITION, READPOSITIONALL, MOVERELATIVE, MOVERELATIVEALL,
  MOVEABSOLUTE, MOVEABSOLUTEALL, MOVETOHOME, MOVETOHOMEALL,
  READPOSITION, READPOSITIONALL, MOVERELATIVE, MOVERELATIVEALL,
  MOVEABSOLUTE, MOVEABSOLUTEALL, MOVETOHOME, MOVETOHOMEALL
}
 
enum  CMDS {
  READPOSITION, READPOSITIONALL, MOVERELATIVE, MOVERELATIVEALL,
  MOVEABSOLUTE, MOVEABSOLUTEALL, MOVETOHOME, MOVETOHOMEALL,
  READPOSITION, READPOSITIONALL, MOVERELATIVE, MOVERELATIVEALL,
  MOVEABSOLUTE, MOVEABSOLUTEALL, MOVETOHOME, MOVETOHOMEALL
}
 
- Static Public Attributes inherited from Basda::MoccaStarEnlargerServiceWorkerInterface
static std::map< std::string, Nice::CompletionStates_enumMapStringToNum
 
- Protected Member Functions inherited from Basda::MoccaStarEnlargerServiceWorkerInterface
 MoccaStarEnlargerServiceWorkerInterface (const Nice::JointPtr &, const Nice::AppConfigClientPtr &_cc=0)
 
virtual ~MoccaStarEnlargerServiceWorkerInterface ()
 
 MoccaStarEnlargerServiceWorkerInterface (const Nice::JointPtr &, const Nice::AppConfigClientPtr &_cc=0)
 
virtual ~MoccaStarEnlargerServiceWorkerInterface ()
 
- 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

◆ MoccaStarEnlargerServiceWorkerInterfacePy() [1/2]

Basda::MoccaStarEnlargerServiceWorkerInterfacePy::MoccaStarEnlargerServiceWorkerInterfacePy ( const Nice::JointPtr _config)
inline

◆ MoccaStarEnlargerServiceWorkerInterfacePy() [2/2]

Basda::MoccaStarEnlargerServiceWorkerInterfacePy::MoccaStarEnlargerServiceWorkerInterfacePy ( const Nice::JointPtr _config)
inline

Member Function Documentation

◆ changeState() [1/2]

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

◆ changeState() [2/2]

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

◆ create() [1/2]

static MoccaStarEnlargerServiceWorkerInterfacePyPtr Basda::MoccaStarEnlargerServiceWorkerInterfacePy::create ( const std::string &  _absnodename)
inlinestatic

◆ create() [2/2]

static MoccaStarEnlargerServiceWorkerInterfacePyPtr Basda::MoccaStarEnlargerServiceWorkerInterfacePy::create ( const std::string &  _absnodename)
inlinestatic

◆ moveAbsoluteAllStart() [1/2]

virtual Nice::Completion Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveAbsoluteAllStart ( const Nice::SeqPoint _position,
std::string  _unit = "STEPS" 
)
inlinevirtual
Note
overridden

◆ moveAbsoluteAllStart() [2/2]

virtual Nice::Completion Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveAbsoluteAllStart ( const Nice::SeqPoint _position,
std::string  _unit = "STEPS" 
)
inlinevirtual
Note
overridden

◆ moveAbsoluteAllWait() [1/2]

virtual bool Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveAbsoluteAllWait ( const Nice::Time _wait = Nice::Time())
inlinevirtual
Note
overridden

Reimplemented from Basda::MoccaStarEnlargerServiceWorkerInterface.

◆ moveAbsoluteAllWait() [2/2]

virtual bool Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveAbsoluteAllWait ( const Nice::Time _wait = Nice::Time())
inlinevirtual
Note
overridden

Reimplemented from Basda::MoccaStarEnlargerServiceWorkerInterface.

◆ moveAbsoluteStart() [1/2]

virtual Nice::Completion Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveAbsoluteStart ( int  _idx,
const Nice::Point _position,
std::string  _unit = "STEPS" 
)
inlinevirtual
Note
overridden

◆ moveAbsoluteStart() [2/2]

virtual Nice::Completion Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveAbsoluteStart ( int  _idx,
const Nice::Point _position,
std::string  _unit = "STEPS" 
)
inlinevirtual
Note
overridden

◆ moveAbsoluteWait() [1/2]

virtual bool Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveAbsoluteWait ( const Nice::Time _wait = Nice::Time())
inlinevirtual
Note
overridden

Reimplemented from Basda::MoccaStarEnlargerServiceWorkerInterface.

◆ moveAbsoluteWait() [2/2]

virtual bool Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveAbsoluteWait ( const Nice::Time _wait = Nice::Time())
inlinevirtual
Note
overridden

Reimplemented from Basda::MoccaStarEnlargerServiceWorkerInterface.

◆ moveRelativeAllStart() [1/2]

virtual Nice::Completion Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveRelativeAllStart ( const Nice::SeqPoint _position,
std::string  _unit = "STEPS" 
)
inlinevirtual
Note
overridden

◆ moveRelativeAllStart() [2/2]

virtual Nice::Completion Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveRelativeAllStart ( const Nice::SeqPoint _position,
std::string  _unit = "STEPS" 
)
inlinevirtual
Note
overridden

◆ moveRelativeAllWait() [1/2]

virtual bool Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveRelativeAllWait ( const Nice::Time _wait = Nice::Time())
inlinevirtual
Note
overridden

Reimplemented from Basda::MoccaStarEnlargerServiceWorkerInterface.

◆ moveRelativeAllWait() [2/2]

virtual bool Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveRelativeAllWait ( const Nice::Time _wait = Nice::Time())
inlinevirtual
Note
overridden

Reimplemented from Basda::MoccaStarEnlargerServiceWorkerInterface.

◆ moveRelativeStart() [1/2]

virtual Nice::Completion Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveRelativeStart ( int  _idx,
const Nice::Point _position,
std::string  _unit = "STEPS" 
)
inlinevirtual
Note
overridden

◆ moveRelativeStart() [2/2]

virtual Nice::Completion Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveRelativeStart ( int  _idx,
const Nice::Point _position,
std::string  _unit = "STEPS" 
)
inlinevirtual
Note
overridden

◆ moveRelativeWait() [1/2]

virtual bool Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveRelativeWait ( const Nice::Time _wait = Nice::Time())
inlinevirtual
Note
overridden

Reimplemented from Basda::MoccaStarEnlargerServiceWorkerInterface.

◆ moveRelativeWait() [2/2]

virtual bool Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveRelativeWait ( const Nice::Time _wait = Nice::Time())
inlinevirtual
Note
overridden

Reimplemented from Basda::MoccaStarEnlargerServiceWorkerInterface.

◆ moveToHomeAllStart() [1/2]

virtual Nice::Completion Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveToHomeAllStart ( )
inlinevirtual
Note
overridden

◆ moveToHomeAllStart() [2/2]

virtual Nice::Completion Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveToHomeAllStart ( )
inlinevirtual
Note
overridden

◆ moveToHomeAllWait() [1/2]

virtual bool Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveToHomeAllWait ( const Nice::Time _wait = Nice::Time())
inlinevirtual
Note
overridden

Reimplemented from Basda::MoccaStarEnlargerServiceWorkerInterface.

◆ moveToHomeAllWait() [2/2]

virtual bool Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveToHomeAllWait ( const Nice::Time _wait = Nice::Time())
inlinevirtual
Note
overridden

Reimplemented from Basda::MoccaStarEnlargerServiceWorkerInterface.

◆ moveToHomeStart() [1/2]

virtual Nice::Completion Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveToHomeStart ( int  _idx)
inlinevirtual
Note
overridden

◆ moveToHomeStart() [2/2]

virtual Nice::Completion Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveToHomeStart ( int  _idx)
inlinevirtual
Note
overridden

◆ moveToHomeWait() [1/2]

virtual bool Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveToHomeWait ( const Nice::Time _wait = Nice::Time())
inlinevirtual
Note
overridden

Reimplemented from Basda::MoccaStarEnlargerServiceWorkerInterface.

◆ moveToHomeWait() [2/2]

virtual bool Basda::MoccaStarEnlargerServiceWorkerInterfacePy::moveToHomeWait ( const Nice::Time _wait = Nice::Time())
inlinevirtual
Note
overridden

Reimplemented from Basda::MoccaStarEnlargerServiceWorkerInterface.

◆ readPosition() [1/2]

Nice::Point Basda::MoccaStarEnlargerServiceWorkerInterfacePy::readPosition ( int  _idx)
inline
Note
overridden

◆ readPosition() [2/2]

Nice::Point Basda::MoccaStarEnlargerServiceWorkerInterfacePy::readPosition ( int  _idx)
inline
Note
overridden

◆ readPositionAll() [1/2]

Nice::SeqPoint Basda::MoccaStarEnlargerServiceWorkerInterfacePy::readPositionAll ( )
inline
Note
overridden

◆ readPositionAll() [2/2]

Nice::SeqPoint Basda::MoccaStarEnlargerServiceWorkerInterfacePy::readPositionAll ( )
inline
Note
overridden

◆ waitForState() [1/2]

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

◆ waitForState() [2/2]

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

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