HCE project C++ developers source code library  1.1.1
HCE project developer library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ApplicationPattern Class Reference

#include <ApplicationPattern.h>

Collaboration diagram for ApplicationPattern:

Public Member Functions

 ApplicationPattern (char **argv, const char *configFile, unsigned int logDirection, const char *ident, const char *title)
virtual ~ApplicationPattern ()
virtual bool init (const char *dumpFile=NULL)
virtual void run ()=0

Protected Attributes

char * configFile
char * ident
SysLog * log
Signal sig
ProcFileSystem proc
char ** argv
AdminClientadminClient
StatusHandlerstatusHandler
LogHandlerlogHandler
AStorageHandlerstatisticHandler
List< BaseHandler * > handlerList

Static Protected Attributes

static int exitFlag = 0

Detailed Description

Definition at line 21 of file ApplicationPattern.h.

Constructor & Destructor Documentation

ApplicationPattern::ApplicationPattern ( char **  argv,
const char *  configFile,
unsigned int  logDirection,
const char *  ident,
const char *  title 
)

Definition at line 3 of file ApplicationPattern.cpp.

Here is the call graph for this function:

ApplicationPattern::~ApplicationPattern ( )
virtual

Definition at line 26 of file ApplicationPattern.cpp.

Member Function Documentation

bool ApplicationPattern::init ( const char *  dumpFile = NULL)
virtual

Definition at line 51 of file ApplicationPattern.cpp.

Here is the call graph for this function:

virtual void ApplicationPattern::run ( )
pure virtual

Member Data Documentation

AdminClient* ApplicationPattern::adminClient
protected

Definition at line 38 of file ApplicationPattern.h.

char** ApplicationPattern::argv
protected

Definition at line 37 of file ApplicationPattern.h.

char* ApplicationPattern::configFile
protected

Definition at line 31 of file ApplicationPattern.h.

int ApplicationPattern::exitFlag = 0
staticprotected

Definition at line 33 of file ApplicationPattern.h.

List<BaseHandler*> ApplicationPattern::handlerList
protected

Definition at line 42 of file ApplicationPattern.h.

char* ApplicationPattern::ident
protected

Definition at line 32 of file ApplicationPattern.h.

SysLog* ApplicationPattern::log
protected

Definition at line 34 of file ApplicationPattern.h.

LogHandler* ApplicationPattern::logHandler
protected

Definition at line 40 of file ApplicationPattern.h.

ProcFileSystem ApplicationPattern::proc
protected

Definition at line 36 of file ApplicationPattern.h.

Signal ApplicationPattern::sig
protected

Definition at line 35 of file ApplicationPattern.h.

AStorageHandler* ApplicationPattern::statisticHandler
protected

Definition at line 41 of file ApplicationPattern.h.

StatusHandler* ApplicationPattern::statusHandler
protected

Definition at line 39 of file ApplicationPattern.h.


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