CLbsLogEvent Class Reference
class CLbsLogEvent : public CBase |
Base class for the classes representing LBS events to be logged. It provides the common functionality (internalising, externalising, updating this class from another one and creating a copy of this class).
Constructor & Destructor Documentation
CLbsLogEvent()
CLbsLogEvent | ( | ) | [protected] |
Member Functions Documentation
BaseConstructL()
void | BaseConstructL | ( | ) | [protected] |
The 2nd phase constructor for the base class, gets called from derived classes This function will produce an unique queue ID within the queue for each event, it will be reset once the log engine is reset.
CopyL()
Creates a new instance of CLbsLogEvent which will the a copy of the current one
CopyPosInfoToEvent(const TPositionInfoBase *)
Copy PositionInfo class for different supported types
CostInformation()
IMPORT_C TUint | CostInformation | ( | ) | const |
get the lbs service cost info
DataSize()
TInt
| DataSize | ( | ) | const [protected, pure virtual] |
Direction()
IMPORT_C TBool | Direction | ( | ) | const |
get the direction for logging event (incoming or outgoing calls)
DoCopyL(CLbsLogEvent *&)
void | DoCopyL | ( | CLbsLogEvent *& | aTargetLogEvent | ) | const [protected, pure virtual] |
DoExternalizeL(RWriteStream &)
void | DoExternalizeL | ( | RWriteStream & | aReadStream | ) | const [protected, pure virtual] |
DoInternalizeL(RReadStream &)
void | DoInternalizeL | ( | RReadStream & | aReadStream | ) | [protected, pure virtual] |
DoUpdateL(const CLbsLogEvent &)
void | DoUpdateL | ( | const CLbsLogEvent & | aSourceLogEvent | ) | [protected, pure virtual] |
EventType()
IMPORT_C TUid | EventType | ( | ) | const |
get the logging event type
ExternalizeL()
Externalises this object into a CLogEvent object so it can be passed on to the LogEng.
InternalizeL(const CLogEvent &)
void | InternalizeL | ( | const CLogEvent & | aLogEvent | ) | [protected] |
Parameters
const CLogEvent & aLogEvent | The class to internalise from |
IsCostInformationAvailable()
IMPORT_C TBool | IsCostInformationAvailable | ( | ) | const |
set the lbs service cost flag
NewL(const CLogEvent &)
This method should be used to retrieve an existing logged event from Log Engine, CLogEvent parameter should be a valid logging event object. This function will internalise this logged event into the approprite LBS Location Requestion Logging class.
This method should NOT be used within LBS Sub-system, if otherwise, it should be trapped.
Parameters
const CLogEvent & aLogEvent | The event that was logged |
PositionInfo()
get the TPositonInfo data
ReadPosInfo(RReadStream &, TPositionInfo *&)
RequestOutcome()
get the lbs service request outcome
SetCostInformation(TUint)
IMPORT_C void | SetCostInformation | ( | TUint | aCostInformation | ) | |
set the lbs service cost info
SetDirection(TBool)
IMPORT_C void | SetDirection | ( | TBool | aDirection | ) | |
set the direction for logging event (incoming or outgoing calls)
SetEventType(TUid)
IMPORT_C void | SetEventType | ( | TUid | aId | ) | |
set the logging event type
SetPositionInfo(TPositionInfoBase *)
Copy PositionInfo class for different supported types
SetRequestOutcome(TLbsRequestOutcome)
set the lbs service request outcome
UpdateL(const CLbsLogEvent &)
Updates this class with information provided
-
leave
- KErrArgument If what is passed in has a different type than type of this instance
Parameters
const CLbsLogEvent & aLogEvent | The information that was provided |
UpdateRootEvent(CLogEvent *)
Parameters
CLogEvent * aTargetEvent | The class to be updated |
WritePosInfo(RWriteStream &, const TPositionInfo *)
Member Data Documentation
TUint
iCostInformation
TUint
| iCostInformation | [private] |
TBool
iCostInformationAvailable
TBool
| iCostInformationAvailable | [private] |
Flag which specifies if the cost information is available or not
TBool
iDirection
TBool
| iDirection | [private] |
MO-LR (True) to R_LOG_DIR_OUT and MT-LR to R_LOG_DIR_IN
TUid
iEventType
TUid
| iEventType | [protected] |
The Location Request Event Type
TPositionInfo * iPosInfo
The returned location information if the request is completed successfully
const TInt iPosInfoWriteSize
const TInt | iPosInfoWriteSize | [protected] |
The size of the data from a TPositionInfo that is written to disk
TLbsRequestOutcome
iRequestOutcome
The outcome of the request
TAny * iReservedData
TAny * | iReservedData | [protected] |
Data for BC consideration, and inherited by derived CLbsLog classes
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.