OpcUaCanOpen
CANopen OPC-UA server
ComponentAttributes Class Reference

#include <ComponentAttributes.h>

Public Member Functions

 ComponentAttributes (const Log::LogComponentHandle &handle, const std::string &name, const Log::LOG_LEVEL &initialLogLevel=Log::INF)
 
std::string getName () const
 
Log::LogComponentHandle getHandle () const
 
Log::LOG_LEVEL getLevel () const
 
void setLevel (const Log::LOG_LEVEL &level)
 

Private Attributes

const Log::LogComponentHandle m_handle
 
const std::string m_name
 
Log::LOG_LEVEL m_level
 

Detailed Description

Definition at line 30 of file ComponentAttributes.h.

Constructor & Destructor Documentation

◆ ComponentAttributes()

ComponentAttributes::ComponentAttributes ( const Log::LogComponentHandle handle,
const std::string &  name,
const Log::LOG_LEVEL initialLogLevel = Log::INF 
)

Definition at line 24 of file ComponentAttributes.cpp.

Member Function Documentation

◆ getHandle()

Log::LogComponentHandle ComponentAttributes::getHandle ( ) const

Definition at line 33 of file ComponentAttributes.cpp.

◆ getLevel()

Log::LOG_LEVEL ComponentAttributes::getLevel ( ) const

Definition at line 38 of file ComponentAttributes.cpp.

◆ getName()

std::string ComponentAttributes::getName ( ) const

Definition at line 28 of file ComponentAttributes.cpp.

◆ setLevel()

void ComponentAttributes::setLevel ( const Log::LOG_LEVEL level)

Definition at line 43 of file ComponentAttributes.cpp.

Member Data Documentation

◆ m_handle

const Log::LogComponentHandle ComponentAttributes::m_handle
private

Definition at line 42 of file ComponentAttributes.h.

◆ m_level

Log::LOG_LEVEL ComponentAttributes::m_level
private

Definition at line 44 of file ComponentAttributes.h.

◆ m_name

const std::string ComponentAttributes::m_name
private

Definition at line 43 of file ComponentAttributes.h.


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