#include <Component.h>
Inherited by dtn::daemon::IndependentComponent, and dtn::daemon::IntegratedComponent.
Public Member Functions | |
| virtual | ~Component ()=0 |
| virtual void | initialize ()=0 |
| virtual void | startup ()=0 |
| virtual void | terminate ()=0 |
| virtual const std::string | getName () const =0 |
Definition at line 18 of file Component.h.
| dtn::daemon::Component::~Component | ( | ) | [pure virtual] |
Destructor of the component. This should be called after all components are terminated.
Definition at line 16 of file Component.cpp.
| virtual const std::string dtn::daemon::Component::getName | ( | ) | const [pure virtual] |
Return an identifier for this component
Implemented in dtn::net::ConnectionManager, dtn::daemon::Notifier, and dtn::routing::BaseRouter.
| virtual void dtn::daemon::Component::initialize | ( | ) | [pure virtual] |
Set up the component. At this stage no other components should be used.
Implemented in dtn::daemon::IntegratedComponent.
| virtual void dtn::daemon::Component::startup | ( | ) | [pure virtual] |
Start up the component. At this stage all other components are ready.
Implemented in dtn::daemon::IntegratedComponent.
| virtual void dtn::daemon::Component::terminate | ( | ) | [pure virtual] |
Terminate the component and do some cleanup stuff. All other components still exists, but may not serve signals.
Implemented in dtn::daemon::IntegratedComponent.
1.7.1