simple_service Class Reference

#include <simple_service.h>

Inheritance diagram for simple_service:

Inheritance graph
[legend]
Collaboration diagram for simple_service:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 simple_service ()
virtual ~simple_service ()
virtual void perform_service (int argc, char **argv)
 this must be overridden by derived classes to provide a service.

Detailed Description

Definition at line 25 of file simple_service.h.


Constructor & Destructor Documentation

simple_service::simple_service (  ) 

Definition at line 27 of file simple_service.cpp.

simple_service::~simple_service (  )  [virtual]

Definition at line 32 of file simple_service.cpp.


Member Function Documentation

void simple_service::perform_service ( int  argc,
char **  argv 
) [virtual]

this must be overridden by derived classes to provide a service.

it begins the operations that are specific to the service being offered. perform_service() can rely on the lower-level service support having begun execution normally and can be assured that the services this one depends on have already started. this function should not exit until should_exit() returns true; at that point, it should exit as quickly as possible.

Implements service_root.

Definition at line 37 of file simple_service.cpp.


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 04:30:59 2008 for HOOPLE Libraries by  doxygen 1.5.1