TwiceAsNice  2019-02-18
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends | List of all members
Basda::ServiceWorkerInterface Class Reference

Commandset. More...

#include <ServiceWorkerInterface.h>

Inherits Shared, and Shared.

Inherited by Basda::ImageViewSpecialPixelInterface, Basda::ImageViewSpecialPixelInterface, Basda::MoccaLCServiceWorkerInterface, Basda::MoccaLCServiceWorkerInterface, Basda::MoccaNServiceWorkerInterface, Basda::MoccaNServiceWorkerInterface, Basda::MoccaStarEnlargerServiceWorkerInterface, Basda::MoccaStarEnlargerServiceWorkerInterface, Basda::MoccaTrajServiceWorkerInterface, Basda::MoccaTrajServiceWorkerInterface, Basda::MoccaTriPodServiceWorkerInterface, Basda::MoccaTriPodServiceWorkerInterface, Basda::MoccaTTServiceWorkerInterface, Basda::MoccaTTServiceWorkerInterface, Basda::MoccaWheelServiceWorkerInterface, Basda::MoccaWheelServiceWorkerInterface, Basda::MoccaXServiceWorkerInterface, Basda::MoccaXServiceWorkerInterface, Basda::MoccaXYServiceWorkerInterface, Basda::MoccaXYServiceWorkerInterface, Basda::Simple2ServiceWorkerInterface, Basda::VinoCameraCtrlServiceWorkerInterface, Basda::VinoCameraCtrlServiceWorkerInterface, Basda::VinoCameraFitsWriterServiceWorkerInterface, Basda::VinoCameraFitsWriterServiceWorkerInterface, Basda::VinoImagePushU16ServiceWorkerInterface, Basda::VinoImagePushU16ServiceWorkerInterface, Laos::ADSECServiceWorkerInterface, Laos::ADSECServiceWorkerInterface, Laos::AocRecMatServiceWorkerInterface, Laos::AocRecMatServiceWorkerInterface, Laos::BCUExtraInterface, Laos::BCUExtraInterface, Laos::DrotServiceWorkerInterface, Laos::DrotServiceWorkerInterface, Laos::StarEnlargerServiceWorkerInterface, Laos::StarEnlargerServiceWorkerInterface, Laos::WfcCommonsServiceWorkerInterface, Laos::WfcCommonsServiceWorkerInterface, Laos::WfcIfInterface, Laos::WfcIfInterface, Laos::WfcLoopDataPushServiceWorkerInterface, Laos::WfcLoopDataPushServiceWorkerInterface, Laos::XineticsServiceWorkerInterface, Laos::XineticsServiceWorkerInterface, LaosAoc::CameraBiasServiceWorkerInterface, LaosAoc::CameraBiasServiceWorkerInterface, LaosAoc::CcdTrackServiceWorkerInterface, LaosAoc::CcdTrackServiceWorkerInterface, LaosAoc::SECenterServiceWorkerInterface, LaosAoc::SECenterServiceWorkerInterface, Lics::StarEnlargerServiceWorkerInterface, Lics::StarEnlargerServiceWorkerInterface, LnLsys::CabinetServiceWorkerInterface, LnLsys::CabinetServiceWorkerInterface, Ltcs::IifServiceWorkerInterface, Ltcs::IifServiceWorkerInterface, Named::TestIfInterface, and Tux::BigDataServiceWorkerInterface.

Collaboration diagram for Basda::ServiceWorkerInterface:
Collaboration graph

Public Member Functions

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 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)
 

Protected Member Functions

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

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

static std::map< std::string, ServiceWorkerInterfacePtrs_inst
 

Friends

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

Detailed Description

Commandset.

Author
Florian Briegel
Version
00.08.25
Date
2010-08-17 02:04:28 PM
Todo:
Author
Florian Briegel
Version
00.08.25
Date
2010-08-17 02:04:28 PM
Todo:

Constructor & Destructor Documentation

◆ ServiceWorkerInterface() [1/2]

Basda::ServiceWorkerInterface::ServiceWorkerInterface ( const Nice::JointPtr _config,
const Nice::AppConfigClientPtr _cc = 0 
)
protected

◆ ~ServiceWorkerInterface() [1/2]

virtual Basda::ServiceWorkerInterface::~ServiceWorkerInterface ( )
inlinevirtual

◆ ServiceWorkerInterface() [2/2]

Basda::ServiceWorkerInterface::ServiceWorkerInterface ( const Nice::JointPtr _config,
const Nice::AppConfigClientPtr _cc = 0 
)
protected

◆ ~ServiceWorkerInterface() [2/2]

virtual Basda::ServiceWorkerInterface::~ServiceWorkerInterface ( )
inlinevirtual

Member Function Documentation

◆ abort() [1/2]

void Basda::ServiceWorkerInterface::abort ( )

◆ abort() [2/2]

void Basda::ServiceWorkerInterface::abort ( )

◆ addAttribute() [1/2]

static void Basda::ServiceWorkerInterface::addAttribute ( const Nice::JointPtr _node)
static

◆ addAttribute() [2/2]

void Basda::ServiceWorkerInterface::addAttribute ( const Nice::JointPtr _node)
static

◆ addCmdBridge() [1/2]

template<typename BridgeType >
IceUtil::Handle<BridgeType> Basda::ServiceWorkerInterface::addCmdBridge ( const std::string &  _node)
inlineprotected

◆ addCmdBridge() [2/2]

template<typename BridgeType >
IceUtil::Handle<BridgeType> Basda::ServiceWorkerInterface::addCmdBridge ( const std::string &  _node)
inlineprotected

◆ addListener() [1/2]

void Basda::ServiceWorkerInterface::addListener ( )
protected

◆ addListener() [2/2]

void Basda::ServiceWorkerInterface::addListener ( )
protected

◆ changeState() [1/2]

bool Basda::ServiceWorkerInterface::changeState ( Basda::ServiceState  _state,
const Nice::Time _timeout = Nice::Time() 
)

◆ changeState() [2/2]

bool Basda::ServiceWorkerInterface::changeState ( Basda::ServiceState  _state,
const Nice::Time _timeout = Nice::Time() 
)

◆ config() [1/2]

Nice::JointPtr Basda::ServiceWorkerInterface::config ( )
inline

◆ config() [2/2]

Nice::JointPtr Basda::ServiceWorkerInterface::config ( )
inline

◆ connect() [1/2]

template<typename Type >
static IceUtil::Handle<Type> Basda::ServiceWorkerInterface::connect ( const Nice::Endpoint _ep,
const Nice::JointPtr _config,
const std::string &  _name 
)
inlinestatic

◆ connect() [2/2]

template<typename Type >
static IceUtil::Handle<Type> Basda::ServiceWorkerInterface::connect ( const Nice::Endpoint _ep,
const Nice::JointPtr _config,
const std::string &  _name 
)
inlinestatic

◆ create() [1/2]

template<typename Type >
static IceUtil::Handle<Type> Basda::ServiceWorkerInterface::create ( const Nice::JointPtr _config,
const std::string &  _name 
)
inlinestatic

◆ create() [2/2]

template<typename Type >
static IceUtil::Handle<Type> Basda::ServiceWorkerInterface::create ( const Nice::JointPtr _config,
const std::string &  _name 
)
inlinestatic

◆ get() [1/2]

template<typename Type >
Type Basda::ServiceWorkerInterface::get ( const char *  _key)
inline

◆ get() [2/2]

template<typename Type >
Type Basda::ServiceWorkerInterface::get ( const char *  _key)
inline

◆ getAttribute() [1/2]

template<typename Type >
Type Basda::ServiceWorkerInterface::getAttribute ( const char *  _key,
const char *  _attr 
)
inline

◆ getAttribute() [2/2]

template<typename Type >
Type Basda::ServiceWorkerInterface::getAttribute ( const char *  _key,
const char *  _attr 
)
inline

◆ id() [1/2]

Nice::I64 Basda::ServiceWorkerInterface::id ( )
inline

◆ id() [2/2]

Nice::I64 Basda::ServiceWorkerInterface::id ( )
inline

◆ identity() [1/2]

std::string Basda::ServiceWorkerInterface::identity ( )
inline

◆ identity() [2/2]

std::string Basda::ServiceWorkerInterface::identity ( )
inline

◆ isConnected() [1/2]

bool Basda::ServiceWorkerInterface::isConnected ( )
inline

◆ isConnected() [2/2]

bool Basda::ServiceWorkerInterface::isConnected ( )
inline

◆ set() [1/2]

template<typename Type >
void Basda::ServiceWorkerInterface::set ( const char *  _key,
const Type _val 
)
inline

◆ set() [2/2]

template<typename Type >
void Basda::ServiceWorkerInterface::set ( const char *  _key,
const Type _val 
)
inline

◆ state() [1/2]

Basda::ServiceState Basda::ServiceWorkerInterface::state ( )

◆ state() [2/2]

Basda::ServiceState Basda::ServiceWorkerInterface::state ( )

◆ stop() [1/2]

bool Basda::ServiceWorkerInterface::stop ( const Nice::Time _timeout = Nice::Time())

◆ stop() [2/2]

bool Basda::ServiceWorkerInterface::stop ( const Nice::Time _timeout = Nice::Time())

◆ waitForActiveState() [1/2]

bool Basda::ServiceWorkerInterface::waitForActiveState ( const Nice::Time _timeout = Nice::Time())

◆ waitForActiveState() [2/2]

bool Basda::ServiceWorkerInterface::waitForActiveState ( const Nice::Time _timeout = Nice::Time())

◆ waitForState() [1/2]

bool Basda::ServiceWorkerInterface::waitForState ( Basda::ServiceState  _state,
const Nice::Time _timeout = Nice::Time() 
)

◆ waitForState() [2/2]

bool Basda::ServiceWorkerInterface::waitForState ( Basda::ServiceState  _state,
const Nice::Time _timeout = Nice::Time() 
)

Friends And Related Function Documentation

◆ getServiceWorkerInterfaceInstance [1/2]

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

◆ getServiceWorkerInterfaceInstance [2/2]

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

Member Data Documentation

◆ m_cc

Nice::AppConfigClientPtr Basda::ServiceWorkerInterface::m_cc
protected

◆ m_config

Nice::JointPtr Basda::ServiceWorkerInterface::m_config
protected

◆ m_id

Nice::I64 Basda::ServiceWorkerInterface::m_id
protected

◆ m_identity

std::string Basda::ServiceWorkerInterface::m_identity
protected

◆ m_listener

ServiceWorkerInterfaceWatchdogListener * Basda::ServiceWorkerInterface::m_listener
protected

◆ m_stateBridgeReadWaitProxy

Nice::PropertyBridgeReadWaitProxyPtr Basda::ServiceWorkerInterface::m_stateBridgeReadWaitProxy
protected

◆ m_stopReadWaitProxy

Basda::ServiceWorkerReadWaitCompletionProxyPtr Basda::ServiceWorkerInterface::m_stopReadWaitProxy
protected

◆ s_inst

static std::map< std::string, ServiceWorkerInterfacePtr > Basda::ServiceWorkerInterface::s_inst
staticprotected

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