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

Public Member Functions

 MoccaLCServiceWorkerInterfacePy (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())
 
bool isReachable ()
 
Nice::NPoint getNamedIntensity (int _named_intensity)
 
void setNamedIntensity (int _named_intensity)
 
void setIntensity (std::string _light_source, int _intensity)
 
void switchOn (int _intensity=1023)
 
void switchOff ()
 
 MoccaLCServiceWorkerInterfacePy (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())
 
bool isReachable ()
 
Nice::NPoint getNamedIntensity (int _named_intensity)
 
void setNamedIntensity (int _named_intensity)
 
void setIntensity (std::string _light_source, int _intensity)
 
void switchOn (int _intensity=1023)
 
void switchOff ()
 
- Public Member Functions inherited from Basda::MoccaLCServiceWorkerInterface
void init ()
 
std::string readServiceName ()
 
bool isReachable ()
 
Nice::NPoint getNamedIntensity (int _named_intensity)
 
void setNamedIntensity (int _named_intensity)
 
void setIntensity (std::string _light_source, int _intensity)
 
void switchOn (int _intensity=1023)
 
void switchOff ()
 
void init ()
 
std::string readServiceName ()
 
bool isReachable ()
 
Nice::NPoint getNamedIntensity (int _named_intensity)
 
void setNamedIntensity (int _named_intensity)
 
void setIntensity (std::string _light_source, int _intensity)
 
void switchOn (int _intensity=1023)
 
void switchOff ()
 
- 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 MoccaLCServiceWorkerInterfacePyPtr create (const std::string &_absnodename)
 
static MoccaLCServiceWorkerInterfacePyPtr create (const std::string &_absnodename)
 
- Static Public Member Functions inherited from Basda::MoccaLCServiceWorkerInterface
static MoccaLCServiceWorkerInterfacePtr create (const std::string &_absnodename)
 
static MoccaLCServiceWorkerInterfacePtr create (const Nice::JointPtr &_config)
 
static MoccaLCServiceWorkerInterfacePtr connect (const Nice::Endpoint &, const Nice::JointPtr &_config)
 
static MoccaLCServiceWorkerInterfacePtr create (const std::string &_absnodename)
 
static MoccaLCServiceWorkerInterfacePtr create (const Nice::JointPtr &_config)
 
static MoccaLCServiceWorkerInterfacePtr 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::MoccaLCServiceWorkerInterface
enum  CMDS {
  ISREACHABLE, GETNAMEDINTENSITY, SETNAMEDINTENSITY, SETINTENSITY,
  SWITCHON, SWITCHOFF, ISREACHABLE, GETNAMEDINTENSITY,
  SETNAMEDINTENSITY, SETINTENSITY, SWITCHON, SWITCHOFF
}
 
enum  CMDS {
  ISREACHABLE, GETNAMEDINTENSITY, SETNAMEDINTENSITY, SETINTENSITY,
  SWITCHON, SWITCHOFF, ISREACHABLE, GETNAMEDINTENSITY,
  SETNAMEDINTENSITY, SETINTENSITY, SWITCHON, SWITCHOFF
}
 
- Static Public Attributes inherited from Basda::MoccaLCServiceWorkerInterface
static std::map< std::string, Nice::CompletionStates_enumMapStringToNum
 
- Protected Member Functions inherited from Basda::MoccaLCServiceWorkerInterface
 MoccaLCServiceWorkerInterface (const Nice::JointPtr &, const Nice::AppConfigClientPtr &_cc=0)
 
virtual ~MoccaLCServiceWorkerInterface ()
 
 MoccaLCServiceWorkerInterface (const Nice::JointPtr &, const Nice::AppConfigClientPtr &_cc=0)
 
virtual ~MoccaLCServiceWorkerInterface ()
 
- 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

◆ MoccaLCServiceWorkerInterfacePy() [1/2]

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

◆ MoccaLCServiceWorkerInterfacePy() [2/2]

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

Member Function Documentation

◆ changeState() [1/2]

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

◆ changeState() [2/2]

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

◆ create() [1/2]

static MoccaLCServiceWorkerInterfacePyPtr Basda::MoccaLCServiceWorkerInterfacePy::create ( const std::string &  _absnodename)
inlinestatic

◆ create() [2/2]

static MoccaLCServiceWorkerInterfacePyPtr Basda::MoccaLCServiceWorkerInterfacePy::create ( const std::string &  _absnodename)
inlinestatic

◆ getNamedIntensity() [1/2]

Nice::NPoint Basda::MoccaLCServiceWorkerInterfacePy::getNamedIntensity ( int  _named_intensity)
inline
Note
overridden

◆ getNamedIntensity() [2/2]

Nice::NPoint Basda::MoccaLCServiceWorkerInterfacePy::getNamedIntensity ( int  _named_intensity)
inline
Note
overridden

◆ isReachable() [1/2]

bool Basda::MoccaLCServiceWorkerInterfacePy::isReachable ( )
inline
Note
overridden

◆ isReachable() [2/2]

bool Basda::MoccaLCServiceWorkerInterfacePy::isReachable ( )
inline
Note
overridden

◆ setIntensity() [1/2]

void Basda::MoccaLCServiceWorkerInterfacePy::setIntensity ( std::string  _light_source,
int  _intensity 
)
inline
Note
overridden

◆ setIntensity() [2/2]

void Basda::MoccaLCServiceWorkerInterfacePy::setIntensity ( std::string  _light_source,
int  _intensity 
)
inline
Note
overridden

◆ setNamedIntensity() [1/2]

void Basda::MoccaLCServiceWorkerInterfacePy::setNamedIntensity ( int  _named_intensity)
inline
Note
overridden

◆ setNamedIntensity() [2/2]

void Basda::MoccaLCServiceWorkerInterfacePy::setNamedIntensity ( int  _named_intensity)
inline
Note
overridden

◆ switchOff() [1/2]

void Basda::MoccaLCServiceWorkerInterfacePy::switchOff ( )
inline
Note
overridden

◆ switchOff() [2/2]

void Basda::MoccaLCServiceWorkerInterfacePy::switchOff ( )
inline
Note
overridden

◆ switchOn() [1/2]

void Basda::MoccaLCServiceWorkerInterfacePy::switchOn ( int  _intensity = 1023)
inline
Note
overridden

◆ switchOn() [2/2]

void Basda::MoccaLCServiceWorkerInterfacePy::switchOn ( int  _intensity = 1023)
inline
Note
overridden

◆ waitForState() [1/2]

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

◆ waitForState() [2/2]

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

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