Definition at line 12 of file sysLog.h.
Public Types | |
enum | status { OPEN = 1, CLOSED = 0, RECORDING = 2, ERROR = -1 } |
enumeration for the status of the sysLog More... | |
Public Member Functions | |
int | openSysLog () |
spawns the sysLogName and opens the Log | |
int | closeSysLog () |
closes the system Log | |
int | copySysLog (char *newFile) |
creates a complete copy of the current system Log based on the location specified | |
int | sysLogWrite (char *message) |
writes to the system Log | |
char * | getSysLogName () |
returns the complete path and name of the systemLogger | |
Static Public Member Functions | |
SysLog * | theInstance () |
returns pointer to the only instance | |
Public Attributes | |
tm * | logTime |
time stuct from when the log was opened | |
Protected Member Functions | |
SysLog () | |
brief constructor of singleton class | |
~SysLog () | |
brief destructor for the SysLog class | |
Private Attributes | |
char * | sysLogName |
name of the System Log file. | |
status | LogStatus |
status of the System Log - defined in sensorManager.h | |
Static Private Attributes | |
int | sysLogHandle |
the handle returned by opening the System Log |
|
enumeration for the status of the sysLog
|
|
closes the system Log
|
|
creates a complete copy of the current system Log based on the location specified
|
|
returns the complete path and name of the systemLogger
|
|
spawns the sysLogName and opens the Log
|
|
writes to the system Log
|
|
returns pointer to the only instance
|
|
time stuct from when the log was opened
|