Configuration implementation class for ConfigurationServant' unittest. More...
#include <ConfigurationImpl.h>
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 | |
Logger * | m_logger |
char | m_name [32] |
int | refcount |
Static Private Attributes | |
static int | count = 0 |
Configuration implementation class for ConfigurationServant' unittest.
Definition at line 32 of file ConfigurationImpl.h.
Definition at line 31 of file ConfigurationImpl.cpp.
Definition at line 39 of file ConfigurationImpl.cpp.
UnitTest::Servant::ConfigurationImpl::~ConfigurationImpl | ( | ) | [virtual] |
Definition at line 47 of file ConfigurationImpl.cpp.
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 | ( | ) | [inline, virtual] |
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.
void UnitTest::Servant::ConfigurationImpl::incRef | ( | ) | [inline, virtual] |
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.
int UnitTest::Servant::ConfigurationImpl::count = 0 [static, private] |
Definition at line 122 of file ConfigurationImpl.h.
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.