ifw-ccf  3.0.0-pre2
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ccf::Base Class Reference

Class to be used as parent all CCF classes. More...

#include <base.hpp>

Inheritance diagram for ccf::Base:
ccf::common::ComAdptBase ccf::common::Config ccf::common::DataFrame ccf::common::DcsClient ccf::common::FrameQueue ccf::common::NameMapping ccf::common::PubBase ccf::common::PublisherStatus ccf::common::RecipeBase ccf::common::Setup ccf::control::ProcThread ccf::control::PubThread

Public Member Functions

 Base ()
 
 ~Base ()
 
const std::string & GetClassName () const
 Return the allocated name of the class. More...
 
log4cplus::Logger & Loggger ()
 Return reference to logger used in this context. More...
 

Static Public Member Functions

static ccf::mptk::ManagerMptk ()
 Return reference to internal MPTK instance (singleton). More...
 
static void SetLogLevel (const ccf::LogLevel log_level)
 Set the log level. More...
 
static ccf::LogLevel GetLogLevel ()
 Return the current CCF log level. More...
 

Protected Member Functions

void SetClassName (const std::string &class_name)
 Set the name of the class in question. More...
 
void SetLogger (log4cplus::Logger &logger)
 Set reference to logger used in this context. More...
 

Protected Attributes

log4cplus::Logger m_logger
 

Detailed Description

Class to be used as parent all CCF classes.

Constructor & Destructor Documentation

◆ Base()

ccf::Base::Base ( )

◆ ~Base()

ccf::Base::~Base ( )

Member Function Documentation

◆ GetClassName()

const std::string & ccf::Base::GetClassName ( ) const

Return the allocated name of the class.

◆ GetLogLevel()

ccf::LogLevel ccf::Base::GetLogLevel ( )
static

Return the current CCF log level.

◆ Loggger()

log4cplus::Logger & ccf::Base::Loggger ( )

Return reference to logger used in this context.

◆ Mptk()

static ccf::mptk::Manager& ccf::Base::Mptk ( )
inlinestatic

Return reference to internal MPTK instance (singleton).

◆ SetClassName()

void ccf::Base::SetClassName ( const std::string &  class_name)
protected

Set the name of the class in question.

◆ SetLogger()

void ccf::Base::SetLogger ( log4cplus::Logger &  logger)
protected

Set reference to logger used in this context.

◆ SetLogLevel()

void ccf::Base::SetLogLevel ( const ccf::LogLevel  log_level)
static

Set the log level.

Member Data Documentation

◆ m_logger

log4cplus::Logger ccf::Base::m_logger
protected

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