class RTBLogDriver

Class RTBLogDriver More...

Full nameLog::RTBLogDriver
Definition#include <rtblogdriver.h>
InheritsLog::LogDriver [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Private Methods

Private Members


Detailed Description

Class RTBLogDriver

RTBLogdriver will log using the Debug or the Print Command (depends on the logParameters) of the RealTime Battle Server to log messages WARNING: We use blocking IO for our framework, so it is possible, that logging with this driver will block the whole system. Use it with caution and when blocking is no risk for you

 ~RTBLogDriver ()
throw()

~RTBLogDriver

[virtual]

Destructor Does nothing

 RTBLogDriver ()
throw (bad_exception)

RTBLogDriver

Constructor for the first rtbLogDriver object Constructor will register the object by the MRC with the name rtbLogDriver

auto_ptr  clone ()
throw (bad_exception)

clone

[const virtual]

Method that is called by the MRC to duplicate the whole object

Reimplemented from LogDriver.

void  logMessage (const string& message)
throw (IOException, bad_exception)

logMessage

[virtual]

Parameters:
messageMessage that will be logged in the file If logger object was not initialized properly, this method will only throw an exception

Reimplemented from LogDriver.

void  setLogDriverParameters (const string& logDriverParameters)
throw (IOException, bad_exception)

setLogDriverParameters

[virtual]

Parameters:
logDriverParametersThe parameter has to be in the form logCommand:Debug or logCommand:Print or logCommand:Both logCommand:Debug : Use the Debug coomand to log messages logCommand:Print : Use the Print command to log messages logCommand:Both : Use the Print and the Debug command to log messages (questionable option)

Reimplemented from LogDriver.

 RTBLogDriver (RTBConnection* rtbConnection, LogState logState)
throw()

RTBLogDriver

[private]

private constructor used to construct cloned prototypes

RTBConnection* _rtbConnection

_rtbConnection

[private]

LogState _rtbLogState

_rtbLogState

[private]


Generated by: jonico on sc8-pr-shell1.sourceforge.net on Fri May 27 06:03:12 2005, using kdoc 2.0a54.