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

#include <Configuration.h>

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

List of all members.

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 236 of file Configuration.h.


Constructor & Destructor Documentation

Definition at line 77 of file Configuration.cpp.

Definition at line 107 of file Configuration.cpp.


Member Function Documentation

Returns:
True, if the daemon should work in debug mode.

Definition at line 413 of file Configuration.cpp.

Referenced by __daemon_run().

Returns:
The debug level as integer value.

Definition at line 418 of file Configuration.cpp.

Referenced by __daemon_run().

void dtn::daemon::Configuration::Debug::load ( const ibrcommon::ConfigFile conf) [protected, virtual]

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

Definition at line 353 of file Configuration.cpp.

Returns true if the daemon should work in quiet mode.

Returns:
True, if the daemon should be quiet.

Definition at line 408 of file Configuration.cpp.

Referenced by __daemon_run().


Friends And Related Function Documentation

friend class Configuration [friend]

Definition at line 238 of file Configuration.h.


Member Data Documentation

Definition at line 244 of file Configuration.h.

Definition at line 246 of file Configuration.h.

Definition at line 245 of file Configuration.h.


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