Public Member Functions | Private Attributes | Static Private Attributes
UnitTest::Servant::ConfigurationImpl Class Reference

Configuration implementation class for ConfigurationServant' unittest. More...

#include <ConfigurationImpl.h>

Inheritance diagram for UnitTest::Servant::ConfigurationImpl:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool activate_configuration_set (const ::std::string &config_id) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)
virtual bool add_configuration_set (const ::SDOPackage::Local::ConfigurationSet &configuration_set) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)
virtual bool add_organization (const ::SDOPackage::Local::IOrganization *org) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)
 ConfigurationImpl ()
 ConfigurationImpl (Logger &aLogger)
void decRef ()
virtual
::SDOPackage::Local::ConfigurationSet 
get_active_configuration_set () throw (::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)
virtual ::std::string get_configuration_parameter_value (const ::std::string &name) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)
virtual ::SDOPackage::Local::NVList get_configuration_parameter_values () throw (::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)
virtual
::SDOPackage::Local::ParameterList 
get_configuration_parameters () throw (::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)
virtual
::SDOPackage::Local::ConfigurationSet 
get_configuration_set (const ::std::string &config_id) throw (::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)
virtual
::SDOPackage::Local::ConfigurationSetList 
get_configuration_sets () throw (::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)
const char * id ()
void incRef ()
const char * name ()
virtual bool remove_configuration_set (const ::std::string &config_id) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)
virtual bool remove_organization (const ::std::string &organization_id) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)
virtual bool remove_service_profile (const ::std::string &id) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)
virtual bool set_configuration_parameter (const ::std::string &name, const ::std::string &value) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)
virtual bool set_configuration_set_values (const ::std::string &config_id, const ::SDOPackage::Local::ConfigurationSet &configuration_set) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)
virtual bool set_device_profile (const ::SDOPackage::Local::DeviceProfile &dProfile) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)
virtual bool set_service_profile (const ::SDOPackage::Local::ServiceProfile &sProfile) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)
virtual ~ConfigurationImpl ()

Private Attributes

Loggerm_logger
char m_name [32]
int refcount

Static Private Attributes

static int count = 0

Detailed Description

Configuration implementation class for ConfigurationServant' unittest.

Definition at line 32 of file ConfigurationImpl.h.


Constructor & Destructor Documentation

Definition at line 31 of file ConfigurationImpl.cpp.

Definition at line 39 of file ConfigurationImpl.cpp.

Definition at line 47 of file ConfigurationImpl.cpp.


Member Function Documentation

bool UnitTest::Servant::ConfigurationImpl::activate_configuration_set ( const ::std::string &  config_id) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError) [virtual]

Definition at line 196 of file ConfigurationImpl.cpp.

bool UnitTest::Servant::ConfigurationImpl::add_configuration_set ( const ::SDOPackage::Local::ConfigurationSet &  configuration_set) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError) [virtual]

Definition at line 177 of file ConfigurationImpl.cpp.

bool UnitTest::Servant::ConfigurationImpl::add_organization ( const ::SDOPackage::Local::IOrganization *  org) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError) [virtual]

Definition at line 70 of file ConfigurationImpl.cpp.

Implements doil::ImplBase.

Definition at line 120 of file ConfigurationImpl.h.

SDOPackage::Local::ConfigurationSet UnitTest::Servant::ConfigurationImpl::get_active_configuration_set ( ) throw (::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)

Definition at line 167 of file ConfigurationImpl.cpp.

std::string UnitTest::Servant::ConfigurationImpl::get_configuration_parameter_value ( const ::std::string &  name) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)

Definition at line 117 of file ConfigurationImpl.cpp.

SDOPackage::Local::NVList UnitTest::Servant::ConfigurationImpl::get_configuration_parameter_values ( ) throw (::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)

Definition at line 108 of file ConfigurationImpl.cpp.

SDOPackage::Local::ParameterList UnitTest::Servant::ConfigurationImpl::get_configuration_parameters ( ) throw (::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)

Definition at line 99 of file ConfigurationImpl.cpp.

SDOPackage::Local::ConfigurationSet UnitTest::Servant::ConfigurationImpl::get_configuration_set ( const ::std::string &  config_id) throw (::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)

Definition at line 147 of file ConfigurationImpl.cpp.

SDOPackage::Local::ConfigurationSetList UnitTest::Servant::ConfigurationImpl::get_configuration_sets ( ) throw (::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError)

Definition at line 138 of file ConfigurationImpl.cpp.

const char* UnitTest::Servant::ConfigurationImpl::id ( ) [inline, virtual]

Implements doil::ImplBase.

Definition at line 117 of file ConfigurationImpl.h.

Implements doil::ImplBase.

Definition at line 119 of file ConfigurationImpl.h.

const char* UnitTest::Servant::ConfigurationImpl::name ( ) [inline, virtual]

Implements doil::ImplBase.

Definition at line 118 of file ConfigurationImpl.h.

bool UnitTest::Servant::ConfigurationImpl::remove_configuration_set ( const ::std::string &  config_id) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError) [virtual]

Definition at line 186 of file ConfigurationImpl.cpp.

bool UnitTest::Servant::ConfigurationImpl::remove_organization ( const ::std::string &  organization_id) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError) [virtual]

Definition at line 89 of file ConfigurationImpl.cpp.

bool UnitTest::Servant::ConfigurationImpl::remove_service_profile ( const ::std::string &  id) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError) [virtual]

Definition at line 79 of file ConfigurationImpl.cpp.

bool UnitTest::Servant::ConfigurationImpl::set_configuration_parameter ( const ::std::string &  name,
const ::std::string &  value 
) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError) [virtual]

Definition at line 128 of file ConfigurationImpl.cpp.

bool UnitTest::Servant::ConfigurationImpl::set_configuration_set_values ( const ::std::string &  config_id,
const ::SDOPackage::Local::ConfigurationSet &  configuration_set 
) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError) [virtual]

Definition at line 157 of file ConfigurationImpl.cpp.

bool UnitTest::Servant::ConfigurationImpl::set_device_profile ( const ::SDOPackage::Local::DeviceProfile &  dProfile) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError) [virtual]

Definition at line 52 of file ConfigurationImpl.cpp.

bool UnitTest::Servant::ConfigurationImpl::set_service_profile ( const ::SDOPackage::Local::ServiceProfile &  sProfile) throw (::SDOPackage::Local::InvalidParameter, ::SDOPackage::Local::NotAvailable, ::SDOPackage::Local::InternalError) [virtual]

Definition at line 61 of file ConfigurationImpl.cpp.


Member Data Documentation

Definition at line 122 of file ConfigurationImpl.h.

Definition at line 125 of file ConfigurationImpl.h.

Definition at line 123 of file ConfigurationImpl.h.

Definition at line 124 of file ConfigurationImpl.h.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Aug 27 2015 14:16:42