Skip to main content

ERUCES::TEEventLog

#include <teeventlog.h>

The TEEventLog class is for the management of event logs.

Inheritance

Private Attrib

TypeNameDescription
PersistentObject *m_pObjectImpl

Public Member Functions

MemberDescription
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() constThe 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) constThe 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) constThe getData method retrieves the log string value.
TEObject * clone() constThe 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

ParameterDescription
logThe 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

ParameterDescription
typeAn 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

ParameterDescription
idxThe integral value index to be set.
valueThe integral value to be set.

uint32_t getData(uint32_t idx) const

The getData method retrieves the log integral value.

Parameters

ParameterDescription
idxThe 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

ParameterDescription
idxThe string value index to be set.
valueThe string value to be set.

void getData(uint32_t idx, _TESTD string &value) const

The getData method retrieves the log string value.

Parameters

ParameterDescription
idxThe string value index to be retrieved.
valueA 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.