ERUCES::TEEventLog
#include <teeventlog.h>
The TEEventLog class is for the management of event logs.
Inheritance
- Inherits ERUCES::TEObject
Private Attrib
| Type | Name | Description |
|---|---|---|
| PersistentObject * | m_pObjectImpl |
Public Member Functions
| Member | Description |
|---|---|
TEEventLog() | The TEEventLog constructor is the default class constructor. |
TEEventLog(const TEEventLog &log) | The TEEventLog constructor copies a TEEventLog object. |
~TEEventLog() | The TEEventLog destructor is the class destructor. |
void setType(uint32_t type) | The setType method sets the log type. |
uint32_t getType() const | The getType retrieves the log type. |
void setData(uint32_t idx, uint32_t value) | The setData method sets the log integral value. |
uint32_t getData(uint32_t idx) const | The getData method retrieves the log integral value. |
void setData(uint32_t idx, const _TESTD string &value) | The setData method sets the log string value. |
void getData(uint32_t idx, _TESTD string &value) const | The getData method retrieves the log string value. |
TEObject * clone() const | The clone method clones an event log object. |
Member Function Documentation
TEEventLog()
The TEEventLog constructor is the default class constructor.
TEEventLog(const TEEventLog &log)
The TEEventLog constructor copies a TEEventLog object.
Parameters
| Parameter | Description |
|---|---|
log | The event log to be copied. |
~TEEventLog()
The TEEventLog destructor is the class destructor.
void setType(uint32_t type)
The setType method sets the log type.
Parameters
| Parameter | Description |
|---|---|
type | An integer representing the log type to be set. |
uint32_t getType() const
The getType retrieves the log type.
Returns: Returns an interger representing the log type.
void setData(uint32_t idx, uint32_t value)
The setData method sets the log integral value.
Parameters
| Parameter | Description |
|---|---|
idx | The integral value index to be set. |
value | The integral value to be set. |
uint32_t getData(uint32_t idx) const
The getData method retrieves the log integral value.
Parameters
| Parameter | Description |
|---|---|
idx | The integral value index to be retrieved. |
Returns: Returns an integer representing the log integral value.
void setData(uint32_t idx, const _TESTD string &value)
The setData method sets the log string value.
Parameters
| Parameter | Description |
|---|---|
idx | The string value index to be set. |
value | The string value to be set. |
void getData(uint32_t idx, _TESTD string &value) const
The getData method retrieves the log string value.
Parameters
| Parameter | Description |
|---|---|
idx | The string value index to be retrieved. |
value | A string that receives the log string value. |
TEObject * clone() const
The clone method clones an event log object.
Returns: Returns a cloned event log object.