TwiceAsNice  2019-02-18
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Types | Private Attributes | Friends | List of all members
Laos::XineticsServiceWorkerInterface Class Reference

#include <XineticsServiceWorkerInterface.h>

Inheritance diagram for Laos::XineticsServiceWorkerInterface:
Inheritance graph
Collaboration diagram for Laos::XineticsServiceWorkerInterface:
Collaboration graph

Public Types

enum  CMDS {
  SETACTUATORS, RESETDSP, RESETACTUATORS, SEND2DM,
  SETACTUATORS, RESETDSP, RESETACTUATORS, SEND2DM
}
 
enum  CMDS {
  SETACTUATORS, RESETDSP, RESETACTUATORS, SEND2DM,
  SETACTUATORS, RESETDSP, RESETACTUATORS, SEND2DM
}
 

Public Member Functions

void init ()
 
Nice::Completion setActuatorsCompletion ()
 
Nice::Completion setActuatorsStart (const Nice::SeqInt &_actuators)
 
virtual bool setActuatorsWait (const Nice::Time &_wait=Nice::Time())
 
void setActuators (const Nice::SeqInt &_actuators)
 
Nice::Completion resetDSPCompletion ()
 
Nice::Completion resetDSPStart ()
 
virtual bool resetDSPWait (const Nice::Time &_wait=Nice::Time())
 
void resetDSP ()
 
Nice::Completion resetActuatorsCompletion ()
 
Nice::Completion resetActuatorsStart ()
 
virtual bool resetActuatorsWait (const Nice::Time &_wait=Nice::Time())
 
void resetActuators ()
 
Nice::Completion send2DMCompletion ()
 
Nice::Completion send2DMStart (bool _send)
 
virtual bool send2DMWait (const Nice::Time &_wait=Nice::Time())
 
void send2DM (bool _send)
 
void init ()
 
Nice::Completion setActuatorsCompletion ()
 
Nice::Completion setActuatorsStart (const Nice::SeqInt &_actuators)
 
virtual bool setActuatorsWait (const Nice::Time &_wait=Nice::Time())
 
void setActuators (const Nice::SeqInt &_actuators)
 
Nice::Completion resetDSPCompletion ()
 
Nice::Completion resetDSPStart ()
 
virtual bool resetDSPWait (const Nice::Time &_wait=Nice::Time())
 
void resetDSP ()
 
Nice::Completion resetActuatorsCompletion ()
 
Nice::Completion resetActuatorsStart ()
 
virtual bool resetActuatorsWait (const Nice::Time &_wait=Nice::Time())
 
void resetActuators ()
 
Nice::Completion send2DMCompletion ()
 
Nice::Completion send2DMStart (bool _send)
 
virtual bool send2DMWait (const Nice::Time &_wait=Nice::Time())
 
void send2DM (bool _send)
 
- 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 XineticsServiceWorkerInterfacePtr create (const std::string &_absnodename)
 
static XineticsServiceWorkerInterfacePtr create (const Nice::JointPtr &_config)
 
static XineticsServiceWorkerInterfacePtr connect (const Nice::Endpoint &, const Nice::JointPtr &_config)
 
static XineticsServiceWorkerInterfacePtr create (const std::string &_absnodename)
 
static XineticsServiceWorkerInterfacePtr create (const Nice::JointPtr &_config)
 
static XineticsServiceWorkerInterfacePtr 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)
 

Static Public Attributes

static std::map< std::string, Nice::CompletionStates_enumMapStringToNum
 

Protected Member Functions

 XineticsServiceWorkerInterface (const Nice::JointPtr &, const Nice::AppConfigClientPtr &_cc=0)
 
virtual ~XineticsServiceWorkerInterface ()
 
 XineticsServiceWorkerInterface (const Nice::JointPtr &, const Nice::AppConfigClientPtr &_cc=0)
 
virtual ~XineticsServiceWorkerInterface ()
 
- 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)
 

Private Types

typedef IceUtil::Handle< Basda::ServiceWorkerReadWaitDataWithCompletionProxy< Laos::XineticsSetActuators > > SetActuatorsReadWaitDataWithCompletionProxyPtr
 
typedef IceUtil::Handle< Basda::ServiceWorkerReadWaitDataWithCompletionProxy< Laos::XineticsResetDSP > > ResetDSPReadWaitDataWithCompletionProxyPtr
 
typedef IceUtil::Handle< Basda::ServiceWorkerReadWaitDataWithCompletionProxy< Laos::XineticsResetActuators > > ResetActuatorsReadWaitDataWithCompletionProxyPtr
 
typedef IceUtil::Handle< Basda::ServiceWorkerReadWaitDataWithCompletionProxy< Laos::XineticsSend2DM > > Send2DMReadWaitDataWithCompletionProxyPtr
 
typedef IceUtil::Handle< Basda::ServiceWorkerReadWaitDataWithCompletionProxy< Laos::XineticsSetActuators > > SetActuatorsReadWaitDataWithCompletionProxyPtr
 
typedef IceUtil::Handle< Basda::ServiceWorkerReadWaitDataWithCompletionProxy< Laos::XineticsResetDSP > > ResetDSPReadWaitDataWithCompletionProxyPtr
 
typedef IceUtil::Handle< Basda::ServiceWorkerReadWaitDataWithCompletionProxy< Laos::XineticsResetActuators > > ResetActuatorsReadWaitDataWithCompletionProxyPtr
 
typedef IceUtil::Handle< Basda::ServiceWorkerReadWaitDataWithCompletionProxy< Laos::XineticsSend2DM > > Send2DMReadWaitDataWithCompletionProxyPtr
 

Private Attributes

SetActuatorsReadWaitDataWithCompletionProxyPtr m_setActuatorsReadWaitDataWithCompletionProxy
 
ResetDSPReadWaitDataWithCompletionProxyPtr m_resetDSPReadWaitDataWithCompletionProxy
 
ResetActuatorsReadWaitDataWithCompletionProxyPtr m_resetActuatorsReadWaitDataWithCompletionProxy
 
Send2DMReadWaitDataWithCompletionProxyPtr m_send2DMReadWaitDataWithCompletionProxy
 

Friends

template<typename T >
IceUtil::Handle< T > Basda::getServiceWorkerInterfaceInstance (const Nice::JointPtr &, const std::string &)
 
template<typename T >
IceUtil::Handle< T > Basda::getServiceWorkerInterfaceInstance (const Nice::JointPtr &, const std::string &)
 

Additional Inherited Members

- 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
 

Member Typedef Documentation

◆ ResetActuatorsReadWaitDataWithCompletionProxyPtr [1/2]

◆ ResetActuatorsReadWaitDataWithCompletionProxyPtr [2/2]

◆ ResetDSPReadWaitDataWithCompletionProxyPtr [1/2]

◆ ResetDSPReadWaitDataWithCompletionProxyPtr [2/2]

◆ Send2DMReadWaitDataWithCompletionProxyPtr [1/2]

◆ Send2DMReadWaitDataWithCompletionProxyPtr [2/2]

◆ SetActuatorsReadWaitDataWithCompletionProxyPtr [1/2]

◆ SetActuatorsReadWaitDataWithCompletionProxyPtr [2/2]

Member Enumeration Documentation

◆ CMDS [1/2]

Enumerator
SETACTUATORS 
RESETDSP 
RESETACTUATORS 
SEND2DM 
SETACTUATORS 
RESETDSP 
RESETACTUATORS 
SEND2DM 

◆ CMDS [2/2]

Enumerator
SETACTUATORS 
RESETDSP 
RESETACTUATORS 
SEND2DM 
SETACTUATORS 
RESETDSP 
RESETACTUATORS 
SEND2DM 

Constructor & Destructor Documentation

◆ XineticsServiceWorkerInterface() [1/2]

Laos::XineticsServiceWorkerInterface::XineticsServiceWorkerInterface ( const Nice::JointPtr _config,
const Nice::AppConfigClientPtr _cc = 0 
)
protected

◆ ~XineticsServiceWorkerInterface() [1/2]

Laos::XineticsServiceWorkerInterface::~XineticsServiceWorkerInterface ( )
protectedvirtual

◆ XineticsServiceWorkerInterface() [2/2]

Laos::XineticsServiceWorkerInterface::XineticsServiceWorkerInterface ( const Nice::JointPtr ,
const Nice::AppConfigClientPtr _cc = 0 
)
protected

◆ ~XineticsServiceWorkerInterface() [2/2]

virtual Laos::XineticsServiceWorkerInterface::~XineticsServiceWorkerInterface ( )
protectedvirtual

Member Function Documentation

◆ connect() [1/2]

XineticsServiceWorkerInterfacePtr Laos::XineticsServiceWorkerInterface::connect ( const Nice::Endpoint _ep,
const Nice::JointPtr _config 
)
static

◆ connect() [2/2]

static XineticsServiceWorkerInterfacePtr Laos::XineticsServiceWorkerInterface::connect ( const Nice::Endpoint ,
const Nice::JointPtr _config 
)
static

◆ create() [1/4]

static XineticsServiceWorkerInterfacePtr Laos::XineticsServiceWorkerInterface::create ( const std::string &  _absnodename)
static

◆ create() [2/4]

XineticsServiceWorkerInterfacePtr Laos::XineticsServiceWorkerInterface::create ( const std::string &  _absnodename)
static

◆ create() [3/4]

XineticsServiceWorkerInterfacePtr Laos::XineticsServiceWorkerInterface::create ( const Nice::JointPtr _config)
static

◆ create() [4/4]

static XineticsServiceWorkerInterfacePtr Laos::XineticsServiceWorkerInterface::create ( const Nice::JointPtr _config)
static

◆ init() [1/2]

void Laos::XineticsServiceWorkerInterface::init ( )

◆ init() [2/2]

void Laos::XineticsServiceWorkerInterface::init ( )

◆ resetActuators() [1/2]

void Laos::XineticsServiceWorkerInterface::resetActuators ( )

◆ resetActuators() [2/2]

void Laos::XineticsServiceWorkerInterface::resetActuators ( )

◆ resetActuatorsCompletion() [1/2]

Nice::Completion Laos::XineticsServiceWorkerInterface::resetActuatorsCompletion ( )

◆ resetActuatorsCompletion() [2/2]

Nice::Completion Laos::XineticsServiceWorkerInterface::resetActuatorsCompletion ( )

◆ resetActuatorsStart() [1/2]

Nice::Completion Laos::XineticsServiceWorkerInterface::resetActuatorsStart ( )

◆ resetActuatorsStart() [2/2]

Nice::Completion Laos::XineticsServiceWorkerInterface::resetActuatorsStart ( )

◆ resetActuatorsWait() [1/2]

virtual bool Laos::XineticsServiceWorkerInterface::resetActuatorsWait ( const Nice::Time _wait = Nice::Time())
virtual

◆ resetActuatorsWait() [2/2]

bool Laos::XineticsServiceWorkerInterface::resetActuatorsWait ( const Nice::Time _wait = Nice::Time())
virtual

◆ resetDSP() [1/2]

void Laos::XineticsServiceWorkerInterface::resetDSP ( )

◆ resetDSP() [2/2]

void Laos::XineticsServiceWorkerInterface::resetDSP ( )

◆ resetDSPCompletion() [1/2]

Nice::Completion Laos::XineticsServiceWorkerInterface::resetDSPCompletion ( )

◆ resetDSPCompletion() [2/2]

Nice::Completion Laos::XineticsServiceWorkerInterface::resetDSPCompletion ( )

◆ resetDSPStart() [1/2]

Nice::Completion Laos::XineticsServiceWorkerInterface::resetDSPStart ( )

◆ resetDSPStart() [2/2]

Nice::Completion Laos::XineticsServiceWorkerInterface::resetDSPStart ( )

◆ resetDSPWait() [1/2]

virtual bool Laos::XineticsServiceWorkerInterface::resetDSPWait ( const Nice::Time _wait = Nice::Time())
virtual

◆ resetDSPWait() [2/2]

bool Laos::XineticsServiceWorkerInterface::resetDSPWait ( const Nice::Time _wait = Nice::Time())
virtual

◆ send2DM() [1/2]

void Laos::XineticsServiceWorkerInterface::send2DM ( bool  _send)

◆ send2DM() [2/2]

void Laos::XineticsServiceWorkerInterface::send2DM ( bool  _send)

◆ send2DMCompletion() [1/2]

Nice::Completion Laos::XineticsServiceWorkerInterface::send2DMCompletion ( )

◆ send2DMCompletion() [2/2]

Nice::Completion Laos::XineticsServiceWorkerInterface::send2DMCompletion ( )

◆ send2DMStart() [1/2]

Nice::Completion Laos::XineticsServiceWorkerInterface::send2DMStart ( bool  _send)

◆ send2DMStart() [2/2]

Nice::Completion Laos::XineticsServiceWorkerInterface::send2DMStart ( bool  _send)

◆ send2DMWait() [1/2]

virtual bool Laos::XineticsServiceWorkerInterface::send2DMWait ( const Nice::Time _wait = Nice::Time())
virtual

◆ send2DMWait() [2/2]

bool Laos::XineticsServiceWorkerInterface::send2DMWait ( const Nice::Time _wait = Nice::Time())
virtual

◆ setActuators() [1/2]

void Laos::XineticsServiceWorkerInterface::setActuators ( const Nice::SeqInt _actuators)

◆ setActuators() [2/2]

void Laos::XineticsServiceWorkerInterface::setActuators ( const Nice::SeqInt _actuators)

◆ setActuatorsCompletion() [1/2]

Nice::Completion Laos::XineticsServiceWorkerInterface::setActuatorsCompletion ( )

◆ setActuatorsCompletion() [2/2]

Nice::Completion Laos::XineticsServiceWorkerInterface::setActuatorsCompletion ( )

◆ setActuatorsStart() [1/2]

Nice::Completion Laos::XineticsServiceWorkerInterface::setActuatorsStart ( const Nice::SeqInt _actuators)

◆ setActuatorsStart() [2/2]

Nice::Completion Laos::XineticsServiceWorkerInterface::setActuatorsStart ( const Nice::SeqInt _actuators)

◆ setActuatorsWait() [1/2]

bool Laos::XineticsServiceWorkerInterface::setActuatorsWait ( const Nice::Time _wait = Nice::Time())
virtual

◆ setActuatorsWait() [2/2]

virtual bool Laos::XineticsServiceWorkerInterface::setActuatorsWait ( const Nice::Time _wait = Nice::Time())
virtual

Friends And Related Function Documentation

◆ Basda::getServiceWorkerInterfaceInstance [1/2]

template<typename T >
IceUtil::Handle<T> Basda::getServiceWorkerInterfaceInstance ( const Nice::JointPtr ,
const std::string &   
)
friend

◆ Basda::getServiceWorkerInterfaceInstance [2/2]

template<typename T >
IceUtil::Handle<T> Basda::getServiceWorkerInterfaceInstance ( const Nice::JointPtr ,
const std::string &   
)
friend

Member Data Documentation

◆ m_resetActuatorsReadWaitDataWithCompletionProxy

ResetActuatorsReadWaitDataWithCompletionProxyPtr Laos::XineticsServiceWorkerInterface::m_resetActuatorsReadWaitDataWithCompletionProxy
private

◆ m_resetDSPReadWaitDataWithCompletionProxy

ResetDSPReadWaitDataWithCompletionProxyPtr Laos::XineticsServiceWorkerInterface::m_resetDSPReadWaitDataWithCompletionProxy
private

◆ m_send2DMReadWaitDataWithCompletionProxy

Send2DMReadWaitDataWithCompletionProxyPtr Laos::XineticsServiceWorkerInterface::m_send2DMReadWaitDataWithCompletionProxy
private

◆ m_setActuatorsReadWaitDataWithCompletionProxy

SetActuatorsReadWaitDataWithCompletionProxyPtr Laos::XineticsServiceWorkerInterface::m_setActuatorsReadWaitDataWithCompletionProxy
private

◆ s_enumMapStringToNum

static std::map< std::string, Nice::CompletionState > Laos::XineticsServiceWorkerInterface::s_enumMapStringToNum
static

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