The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CServiceManager Class Reference

Inheritance diagram for CServiceManager:
Collaboration diagram for CServiceManager:

List of all members.

Public Member Functions

 CServiceManager (ICommunicateWithSCM &scm, const Core::_tstring &name, const Core::_tstring &version, bool runInDebugModeIfNoCommandLineArgs=false)
 CServiceManager (const CServiceManager &rhs)
CServiceManageroperator= (const CServiceManager &rhs)
void AddService (IService &service)
void AddService (IService *pService)
void ProcessCommandLine ()
ServiceTypes::ExitCode Run ()
bool WaitForAllServicesToStop (JetByteTools::Milliseconds timeout)

Protected Member Functions

void InstallServices ()
bool InstallCounters (JetByteTools::Core::_tstring &message)
bool RemoveCounters (JetByteTools::Core::_tstring &message)
void RemoveServices ()
ServiceTypes::ExitCode StartServices ()
ServiceTypes::ExitCode DebugServices ()
void SetInstanceName (const JetByteTools::Core::_tstring &instanceName)
const
JetByteTools::Core::_tstring
GetInstanceName () const
bool SupportsPerformanceCounters () const
JetByteTools::Core::_tstring GetServiceName () const
void ParseCommandLine ()
void MessageBox (const JetByteTools::Core::_tstring &message) const override


Constructor & Destructor Documentation

CServiceManager ( ICommunicateWithSCM scm,
const Core::_tstring name,
const Core::_tstring version,
bool  runInDebugModeIfNoCommandLineArgs = false 
)

CServiceManager ( const CServiceManager rhs  ) 


Member Function Documentation

CServiceManager& operator= ( const CServiceManager rhs  ) 

void AddService ( IService service  )  [inherited]

void AddService ( IService pService  )  [inherited]

void ProcessCommandLine (  )  [inherited]

ServiceTypes::ExitCode Run (  )  [inherited]

bool WaitForAllServicesToStop ( JetByteTools::Milliseconds  timeout  )  [inherited]

void InstallServices (  )  [protected, inherited]

bool InstallCounters ( JetByteTools::Core::_tstring message  )  [protected, inherited]

bool RemoveCounters ( JetByteTools::Core::_tstring message  )  [protected, inherited]

void RemoveServices (  )  [protected, inherited]

ServiceTypes::ExitCode StartServices (  )  [protected, inherited]

ServiceTypes::ExitCode DebugServices (  )  [protected, inherited]

void SetInstanceName ( const JetByteTools::Core::_tstring instanceName  )  [protected, inherited]

const _tstring & GetInstanceName (  )  const [protected, inherited]

bool SupportsPerformanceCounters (  )  const [protected, inherited]

_tstring GetServiceName (  )  const [protected, inherited]

void ParseCommandLine (  )  [protected, inherited]

void MessageBox ( const JetByteTools::Core::_tstring message  )  const [override, protected, virtual, inherited]

Implements IDisplayMessageBox.


Generated on Sun Sep 12 19:09:59 2021 for The Server Framework - v7.4 by doxygen 1.5.3