Namespaces | Classes | Typedefs | Enumerations | Functions
Common Namespace Reference

Addon interface definition GNU LGPL. More...

Namespaces

 Logger
 

Classes

class  Addon
 
class  AddonFactory
 
struct  AddonInformation
 
struct  AddonParameters
 
class  AddonsManager
 
struct  Configuration
 
class  DynamicLibrary
 
class  Error
 
struct  ErrorData
 
class  Interface
 
struct  ModuleConfiguration
 
struct  Parameter
 
struct  ParametersGroup
 
class  Thread
 
class  ThreadObserver
 
class  Uri
 

Typedefs

typedef std::string AddonId
 
typedef std::vector< Common::ModuleConfigurationModulesConfiguration
 
typedef std::function< void()> ThreadProc
 

Enumerations

enum  Modules {
  MODULE_OS = 0, MODULE_COMMON, MODULE_ADDONS_MANAGER, MODULE_OPCUA_CORE,
  MODULE_OPCUA_Client
}
 

Functions

AddonsManager::UniquePtr CreateAddonsManager (const Common::Logger::SharedPtr &logger)
 Get instance of addons core. More...
 
AddonFactory::UniquePtr CreateDynamicAddonFactory (const char *modulePath)
 
AddonFactory::UniquePtr CreateDynamicAddonFactory (const std::string &modulePath)
 
Error CreateError (unsigned lineNum, const char *filename, unsigned errorCode, const char *msg)
 
template<typename T1 >
Error CreateError (unsigned lineNum, const char *fileName, unsigned errorCode, const char *msg, const T1 &param1)
 
template<typename T1 >
Error CreateError (unsigned lineNum, const char *fileName, unsigned errorCode, const char *msg, const T1 &param1, const Common::Error &subError)
 
template<typename T1 , typename T2 >
Error CreateError (unsigned lineNum, const char *fileName, unsigned errorCode, const char *msg, const T1 &param1, const T2 &param2)
 
template<typename T1 , typename T2 >
Error CreateError (unsigned lineNum, const char *fileName, unsigned errorCode, const char *msg, const T1 &param1, const T2 &param2, const Common::Error &subError)
 
template<typename T1 , typename T2 , typename T3 >
Error CreateError (unsigned lineNum, const char *fileName, unsigned errorCode, const char *msg, const T1 &param1, const T2 &param2, const T3 &param3)
 
template<typename T1 , typename T2 , typename T3 >
Error CreateError (unsigned lineNum, const char *fileName, unsigned errorCode, const char *msg, const T1 &param1, const T2 &param2, const T3 &param3, const Common::Error &subError)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
Error CreateError (unsigned lineNum, const char *fileName, unsigned errorCode, const char *msg, const T1 &param1, const T2 &param2, const T3 &param3, const T4 &param4)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
Error CreateError (unsigned lineNum, const char *fileName, unsigned errorCode, const char *msg, const T1 &param1, const T2 &param2, const T3 &param3, const T4 &param4, const Common::Error &subError)
 
Common::AddonInformation GetAddonInfomation (const ModuleConfiguration &config)
 
Configuration ParseConfiguration (const std::string &configPath)
 
Configuration ParseConfigurationFiles (const std::string &directory)
 
void SaveConfiguration (const ModulesConfiguration &configuration, const std::string &configPath)
 

Detailed Description

Addon interface definition GNU LGPL.

Dynamic library class. GNU LGPL.

Uri. GNU LGPL.

Thread wrapper with coockies. GNU LGPL.

modules identifiers. Used for building error codes. Modules are parts of project not addons. GNU LGPL

Interface base class. GNU LGPL.

Exception declarations GNU LGPL.

OPC UA Address space part. GNU LGPL.

Addon parameters GNU LGPL.

Addons manager interface definition GNU LGPL.

Author
Alexander Rykovanov 2011 rykov.nosp@m.anov.nosp@m..as@g.nosp@m.mail.nosp@m..com Distributed under the GNU LGPL License (See accompanying file LICENSE or copy at http://www.gnu.org/licenses/lgpl.html)
Alexander Rykovanov 2013 rykov.nosp@m.anov.nosp@m..as@g.nosp@m.mail.nosp@m..com Distributed under the GNU LGPL License (See accompanying file LICENSE or copy at http://www.gnu.org/licenses/lgpl.html)
Alexander Rykovanov 2012 rykov.nosp@m.anov.nosp@m..as@g.nosp@m.mail.nosp@m..com Distributed under the GNU LGPL License (See accompanying file LICENSE or copy at http://www.gnu.org/licenses/lgpl.html)

GNU LGPL

Distributed under the GNU LGPL License (See accompanying file LICENSE or copy at http://www.gnu.org/licenses/lgpl.html)

Typedef Documentation

typedef std::string Common::AddonId

Definition at line 24 of file addon_manager.h.

Definition at line 27 of file config_file.h.

typedef std::function<void()> Common::ThreadProc

Definition at line 32 of file thread.h.

Enumeration Type Documentation

Enumerator
MODULE_OS 
MODULE_COMMON 
MODULE_ADDONS_MANAGER 
MODULE_OPCUA_CORE 
MODULE_OPCUA_Client 

Definition at line 17 of file modules.h.

Function Documentation

Common::AddonsManager::UniquePtr Common::CreateAddonsManager ( const Common::Logger::SharedPtr &  logger)

Get instance of addons core.

Exceptions
incase of error
Note
Only one instance of addons manager can be at one time. When all smart pointers are gone addons manager deletes.

Definition at line 313 of file addon_manager.cpp.

Common::AddonFactory::UniquePtr Common::CreateDynamicAddonFactory ( const char *  modulePath)

Definition at line 48 of file dynamic_addon_factory.cpp.

AddonFactory::UniquePtr Common::CreateDynamicAddonFactory ( const std::string &  modulePath)
inline

Definition at line 22 of file dynamic_addon_factory.h.

Error Common::CreateError ( unsigned  lineNum,
const char *  filename,
unsigned  errorCode,
const char *  msg 
)
inline

Definition at line 70 of file exception.h.

template<typename T1 >
Error Common::CreateError ( unsigned  lineNum,
const char *  fileName,
unsigned  errorCode,
const char *  msg,
const T1 &  param1 
)
inline

Definition at line 80 of file exception.h.

template<typename T1 >
Error Common::CreateError ( unsigned  lineNum,
const char *  fileName,
unsigned  errorCode,
const char *  msg,
const T1 &  param1,
const Common::Error subError 
)
inline

Definition at line 92 of file exception.h.

template<typename T1 , typename T2 >
Error Common::CreateError ( unsigned  lineNum,
const char *  fileName,
unsigned  errorCode,
const char *  msg,
const T1 &  param1,
const T2 &  param2 
)
inline

Definition at line 107 of file exception.h.

template<typename T1 , typename T2 >
Error Common::CreateError ( unsigned  lineNum,
const char *  fileName,
unsigned  errorCode,
const char *  msg,
const T1 &  param1,
const T2 &  param2,
const Common::Error subError 
)
inline

Definition at line 121 of file exception.h.

template<typename T1 , typename T2 , typename T3 >
Error Common::CreateError ( unsigned  lineNum,
const char *  fileName,
unsigned  errorCode,
const char *  msg,
const T1 &  param1,
const T2 &  param2,
const T3 &  param3 
)
inline

Definition at line 137 of file exception.h.

template<typename T1 , typename T2 , typename T3 >
Error Common::CreateError ( unsigned  lineNum,
const char *  fileName,
unsigned  errorCode,
const char *  msg,
const T1 &  param1,
const T2 &  param2,
const T3 &  param3,
const Common::Error subError 
)
inline

Definition at line 151 of file exception.h.

template<typename T1 , typename T2 , typename T3 , typename T4 >
Error Common::CreateError ( unsigned  lineNum,
const char *  fileName,
unsigned  errorCode,
const char *  msg,
const T1 &  param1,
const T2 &  param2,
const T3 &  param3,
const T4 &  param4 
)
inline

Definition at line 168 of file exception.h.

template<typename T1 , typename T2 , typename T3 , typename T4 >
Error Common::CreateError ( unsigned  lineNum,
const char *  fileName,
unsigned  errorCode,
const char *  msg,
const T1 &  param1,
const T2 &  param2,
const T3 &  param3,
const T4 &  param4,
const Common::Error subError 
)
inline

Definition at line 183 of file exception.h.

Common::AddonInformation Common::GetAddonInfomation ( const ModuleConfiguration config)

Definition at line 220 of file config_file.cpp.

Common::Configuration Common::ParseConfiguration ( const std::string &  configPath)

Definition at line 65 of file config_file.cpp.

Common::Configuration Common::ParseConfigurationFiles ( const std::string &  directory)

Definition at line 126 of file config_file.cpp.

void Common::SaveConfiguration ( const ModulesConfiguration configuration,
const std::string &  configPath 
)

Definition at line 202 of file config_file.cpp.



ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:09