IBR-DTNSuite  0.12
dtn::daemon::Configuration::Debug Class Reference

#include <Configuration.h>

Inheritance diagram for dtn::daemon::Configuration::Debug:
Inheritance graph
Collaboration diagram for dtn::daemon::Configuration::Debug:
Collaboration graph

Public Member Functions

int level () const
 
bool enabled () const
 
bool quiet () const
 

Protected Member Functions

 Debug ()
 
virtual ~Debug ()
 
void load (const ibrcommon::ConfigFile &conf)
 

Protected Attributes

bool _enabled
 
bool _quiet
 
int _level
 

Friends

class Configuration
 

Detailed Description

Definition at line 188 of file Configuration.h.

Constructor & Destructor Documentation

dtn::daemon::Configuration::Debug::Debug ( )
protected

Definition at line 88 of file Configuration.cpp.

dtn::daemon::Configuration::Debug::~Debug ( )
protectedvirtual

Definition at line 127 of file Configuration.cpp.

Member Function Documentation

bool dtn::daemon::Configuration::Debug::enabled ( ) const
Returns
True, if the daemon should work in debug mode.

Definition at line 522 of file Configuration.cpp.

Referenced by __daemon_run().

int dtn::daemon::Configuration::Debug::level ( ) const
Returns
The debug level as integer value.

Definition at line 527 of file Configuration.cpp.

Referenced by __daemon_run().

void dtn::daemon::Configuration::Debug::load ( const ibrcommon::ConfigFile conf)
protectedvirtual

Implements dtn::daemon::Configuration::Extension.

Definition at line 418 of file Configuration.cpp.

bool dtn::daemon::Configuration::Debug::quiet ( ) const

Returns true if the daemon should work in quiet mode.

Returns
True, if the daemon should be quiet.

Definition at line 517 of file Configuration.cpp.

Referenced by __daemon_run().

Friends And Related Function Documentation

friend class Configuration
friend

Definition at line 190 of file Configuration.h.

Member Data Documentation

bool dtn::daemon::Configuration::Debug::_enabled
protected

Definition at line 196 of file Configuration.h.

int dtn::daemon::Configuration::Debug::_level
protected

Definition at line 198 of file Configuration.h.

bool dtn::daemon::Configuration::Debug::_quiet
protected

Definition at line 197 of file Configuration.h.


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