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
Named::TestIfInterface Class Reference

#include <TestIfInterface.h>

Inheritance diagram for Named::TestIfInterface:
Inheritance graph
Collaboration diagram for Named::TestIfInterface:
Collaboration graph

Public Types

enum  CMDS { TESTMOVETOLIMIT, TESTSETNICEPOINT, TESTSHOULDCOMPLAIN }
 

Public Member Functions

void init ()
 
void setMyInt (const int &_val, const Nice::Date &_date=Nice::Date::now())
 
int getMyInt ()
 
void setMyBool (const bool &_val, const Nice::Date &_date=Nice::Date::now())
 
bool getMyBool ()
 
void setMyName (const std::string &_val, const Nice::Date &_date=Nice::Date::now())
 
std::string getMyName ()
 
void setMyNoName (const std::string &_val, const Nice::Date &_date=Nice::Date::now())
 
std::string getMyNoName ()
 
int testGetIncrement ()
 
void testMoveToLimit (double _dbl)
 
void testSetNicePoint (const Nice::Point &_pnt)
 
- 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 TestIfInterfacePtr create (const std::string &_absnodename)
 
static TestIfInterfacePtr create (const Nice::JointPtr &_config)
 
static TestIfInterfacePtr 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

 TestIfInterface (const Nice::JointPtr &, const Nice::AppConfigClientPtr &_cc=0)
 
virtual ~TestIfInterface ()
 
- 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::ServiceWorkerReadWaitDataWithMultiCompletionProxy< Named::TestIfTestMoveToLimit > > TestMoveToLimitReadWaitDataWithCompletionProxyPtr
 
typedef IceUtil::Handle< Basda::ServiceWorkerReadWaitDataWithMultiCompletionProxy< Named::TestIfTestSetNicePoint > > TestSetNicePointReadWaitDataWithCompletionProxyPtr
 

Private Attributes

TestMoveToLimitReadWaitDataWithCompletionProxyPtr m_testMoveToLimitReadWaitDataWithCompletionProxy
 
TestSetNicePointReadWaitDataWithCompletionProxyPtr m_testSetNicePointReadWaitDataWithCompletionProxy
 

Friends

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

◆ TestMoveToLimitReadWaitDataWithCompletionProxyPtr

◆ TestSetNicePointReadWaitDataWithCompletionProxyPtr

Member Enumeration Documentation

◆ CMDS

Enumerator
TESTMOVETOLIMIT 
TESTSETNICEPOINT 
TESTSHOULDCOMPLAIN 

Constructor & Destructor Documentation

◆ TestIfInterface()

Named::TestIfInterface::TestIfInterface ( const Nice::JointPtr _config,
const Nice::AppConfigClientPtr _cc = 0 
)
protected

◆ ~TestIfInterface()

Named::TestIfInterface::~TestIfInterface ( )
protectedvirtual

Member Function Documentation

◆ connect()

TestIfInterfacePtr Named::TestIfInterface::connect ( const Nice::Endpoint _ep,
const Nice::JointPtr _config 
)
static

◆ create() [1/2]

TestIfInterfacePtr Named::TestIfInterface::create ( const std::string &  _absnodename)
static

◆ create() [2/2]

TestIfInterfacePtr Named::TestIfInterface::create ( const Nice::JointPtr _config)
static

◆ getMyBool()

bool Named::TestIfInterface::getMyBool ( )
inline

◆ getMyInt()

int Named::TestIfInterface::getMyInt ( )
inline

◆ getMyName()

std::string Named::TestIfInterface::getMyName ( )
inline

◆ getMyNoName()

std::string Named::TestIfInterface::getMyNoName ( )
inline

◆ init()

void Named::TestIfInterface::init ( )

◆ setMyBool()

void Named::TestIfInterface::setMyBool ( const bool _val,
const Nice::Date _date = Nice::Date::now() 
)
inline

◆ setMyInt()

void Named::TestIfInterface::setMyInt ( const int &  _val,
const Nice::Date _date = Nice::Date::now() 
)
inline

◆ setMyName()

void Named::TestIfInterface::setMyName ( const std::string &  _val,
const Nice::Date _date = Nice::Date::now() 
)
inline

◆ setMyNoName()

void Named::TestIfInterface::setMyNoName ( const std::string &  _val,
const Nice::Date _date = Nice::Date::now() 
)
inline

◆ testGetIncrement()

int Named::TestIfInterface::testGetIncrement ( )

◆ testMoveToLimit()

void Named::TestIfInterface::testMoveToLimit ( double  _dbl)

◆ testSetNicePoint()

void Named::TestIfInterface::testSetNicePoint ( const Nice::Point _pnt)

Friends And Related Function Documentation

◆ Basda::getServiceWorkerInterfaceInstance

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

Member Data Documentation

◆ m_testMoveToLimitReadWaitDataWithCompletionProxy

TestMoveToLimitReadWaitDataWithCompletionProxyPtr Named::TestIfInterface::m_testMoveToLimitReadWaitDataWithCompletionProxy
private

◆ m_testSetNicePointReadWaitDataWithCompletionProxy

TestSetNicePointReadWaitDataWithCompletionProxyPtr Named::TestIfInterface::m_testSetNicePointReadWaitDataWithCompletionProxy
private

◆ s_enumMapStringToNum

std::map<std::string, Nice::CompletionState> Named::TestIfInterface::s_enumMapStringToNum
static

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