| class CLogEventType : public CBase |
Encapsulates the details of an event type.
An event type is used to associate an event with a user-readable description and other configuration information related to the event.
Event types are identified by UID.
| Public Member Functions | |
|---|---|
| ~CLogEventType() | |
| IMPORT_C void | Copy(const CLogEventType &) |
| const TDesC & | Description() |
| void | ExternalizeL(RWriteStream &) |
| void | InternalizeL(RReadStream &) |
| TBool | LoggingEnabled() |
| IMPORT_C CLogEventType * | NewL() |
| void | SetDescription(const TDesC &) |
| void | SetLoggingEnabled(TBool) |
| void | SetUid(TUid) |
| TUid | Uid() |
| Private Member Functions | |
|---|---|
| CLogEventType() | |
| void | ConstructL() |
| void | InternalizeBufL(RReadStream &, HBufC *&) |
| Private Attributes | |
|---|---|
| HBufC * | iDescription |
| TBool | iLoggingEnabled |
| TUid | iUid |
| IMPORT_C void | Copy | ( | const CLogEventType & | aType | ) |
| const CLogEventType & aType |
| const TDesC & | Description | ( | ) | const [inline] |
Gets the human readable and localised name of the event type.
A non-modifiable descriptor containing the name.
| void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
| RWriteStream & aStream |
| void | InternalizeBufL | ( | RReadStream & | aStream, |
| HBufC *& | aDes | |||
| ) | [private] | |||
| RReadStream & aStream | |
| HBufC *& aDes |
| TBool | LoggingEnabled | ( | ) | const [inline] |
Determines whether logging for this event type is enabled.
ETrue, if logging is enabled. EFalse, if logging is disabled.
| void | SetDescription | ( | const TDesC & | aDescription | ) | [inline] |
Sets the human readable and localised name of the event type.
For example, Email.
| const TDesC & aDescription | The name. |
| void | SetLoggingEnabled | ( | TBool | aEnable | ) | [inline] |
Enables or disables logging for this event type.
Note that disabling the logging of an event type causes a CLogClient::AddEventL() request for an event of that type to complete with an appropriate error.
| TBool aEnable | ETrue, to enable logging for this event type.EFalse, to disable logging for this event type. |
| void | SetUid | ( | TUid | aUid | ) | [inline] |
Sets the UID identifying the event type.
| TUid aUid | The Uid. |