#include <CLogger.h>
Public Types | |
enum | Severity { SUCCESS, WARNING, ERROR } |
The facility name which is logging the event. More... | |
Public Member Functions | |
CLogger (STD(string) facility) | |
CLogger (const CLogger &aCLogger) | |
~CLogger () | |
bool | Log (Severity sev, STD(string) message) |
HostListIterator | begin () |
HostListIterator | end () |
int | size () |
void | AddHost (const STD(string)&newHost) |
void | RemoveHost (const STD(string)&oldHost) |
void | RemoveHost (HostListIterator It) |
Private Member Functions | |
STD (list)< STD(string)> m_HostList | |
const | STD (string) m_sFacility |
The list of hosts running EventLog.tcl. | |
CLogger | operator= (const CLogger &aCLogger) |
int | operator== (const CLogger &aCLogger) |
STD (list)< STD(string)> getHostList() const | |
const | STD (string) getFacility() const |
Definition at line 351 of file CLogger.h.
|
The facility name which is logging the event.
|
|
|
|
"Copy Constructor" This is the copy constructor. It creates a new object by copying the information of the reference object which is its parameter.
Definition at line 326 of file CLogger.cpp. |
|
"Destructor" Called when an object goes out of scope, or when execution of the program is terminated. Destroys the object, and frees up space. Definition at line 335 of file CLogger.cpp. |
|
|
|
Operation Type: Selector Purpose: Returns an iterator to the first host in m_HostList. Definition at line 474 of file CLogger.cpp. |
|
Operator Type: Selector Purpose: Returns an iterator which points to just past the last host in m_HostList. Definition at line 488 of file CLogger.cpp. |
|
|
|
|
|
|
|
Operation Type: Mutator Purpose: Removes a host from the list of hosts that we will attempt to form a connection with and log a message to.
Definition at line 576 of file CLogger.cpp. References HostListIterator. |
|
|
|
Operation Type: Selector Purpose: Returns the number of hosts that are currently being logged to.
Definition at line 503 of file CLogger.cpp. |
|
|
|
|
|
The list of hosts running EventLog.tcl.
|
|
|