Public Member Functions | Private Attributes | Static Private Attributes | List of all members
UnitTest::Servant::ConfigurationImpl Class Reference

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

#include <ConfigurationImpl.h>

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

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 ()
 
- Public Member Functions inherited from doil::ImplBase
virtual ~ImplBase ()
 

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

UnitTest::Servant::ConfigurationImpl::ConfigurationImpl ( )

Definition at line 31 of file ConfigurationImpl.cpp.

UnitTest::Servant::ConfigurationImpl::ConfigurationImpl ( Logger aLogger)

Definition at line 39 of file ConfigurationImpl.cpp.

UnitTest::Servant::ConfigurationImpl::~ConfigurationImpl ( )
virtual

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.

void UnitTest::Servant::ConfigurationImpl::decRef ( )
inlinevirtual

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

Implements doil::ImplBase.

Definition at line 117 of file ConfigurationImpl.h.

void UnitTest::Servant::ConfigurationImpl::incRef ( )
inlinevirtual

Implements doil::ImplBase.

Definition at line 119 of file ConfigurationImpl.h.

const char* UnitTest::Servant::ConfigurationImpl::name ( )
inlinevirtual

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

int UnitTest::Servant::ConfigurationImpl::count = 0
staticprivate

Definition at line 122 of file ConfigurationImpl.h.

Logger* UnitTest::Servant::ConfigurationImpl::m_logger
private

Definition at line 125 of file ConfigurationImpl.h.

char UnitTest::Servant::ConfigurationImpl::m_name[32]
private

Definition at line 123 of file ConfigurationImpl.h.

int UnitTest::Servant::ConfigurationImpl::refcount
private

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 Jun 6 2019 19:26:05