CLbtTriggerFilterByArea Class Reference
class CLbtTriggerFilterByArea : public CLbtTriggerFilterBase
|
Class representing filter based on the geographical area.
This class defines the geographical area filter used in retrieving triggers from Location Triggering Server. When this filter is used, only triggers that are inside the defined area will be retrieved. The area can be a geographical circle or rectangle.
If the area is not set and the filter is used in listing triggers, no trigger will be returned.
If the center of the geographical circular area is not specified(NaN), latest acquired location of the Location Triggering Server is used as the center. If the radius of the geographical circular area is zero, no triggers will be retrieved.
Constructor & Destructor Documentation
CLbtTriggerFilterByArea(const CLbtTriggerFilterByArea &)
By default, prohibit copy constructor
CLbtTriggerFilterByArea()
CLbtTriggerFilterByArea
|
(
|
)
|
[private]
|
~CLbtTriggerFilterByArea()
IMPORT_C
|
~CLbtTriggerFilterByArea
|
(
|
)
|
[virtual]
|
Member Functions Documentation
Area()
Gets the geographical area, inside which the triggers are retrieved.
If the area has not been set, this function returns NULL.
ConstructL(CLbtGeoAreaBase *)
DoExternalizeL(RWriteStream &)
void
|
DoExternalizeL
|
(
|
RWriteStream
&
|
aStream
|
)
|
const [protected, virtual]
|
Parameters
RWriteStream
& aStream
|
Stream to which the object should be externalized.
|
DoInternalizeL(RReadStream &)
void
|
DoInternalizeL
|
(
|
RReadStream
&
|
aStream
|
)
|
[protected, virtual]
|
Parameters
RReadStream
& aStream
|
Stream from which the object should be internalized.
|
NewL(CLbtGeoAreaBase *)
Parameters
CLbtGeoAreaBase
* aArea
|
Pointer to the geographical area object. Ownership of aArea is transferred to this object. If the center of the geographical circular area is omitted, latest acquired location is used when retrieving triggers.
|
NewLC()
Constructs a new instance of
CLbtTriggerFilterByArea
and pushes it onto cleanup stack. The returned object has no geographical area set.
SetArea(CLbtGeoAreaBase *)
Sets the geographical area in the filter. Only triggers that have triggering area inside the defined area are retrieved.
Parameters
CLbtGeoAreaBase
* aArea
|
The pointer to the geographical area object. Ownership of aArea is transferred to this object. If the area is a geographical circular area and the center of the area is not set, latest acquired location is used by Location Triggering Server when retrieving triggers.
|
operator=(const CLbtTriggerFilterByArea &)
Prohibit assigment operator
Member Data Documentation
CLbtGeoAreaBase * iGeoArea
The geographical area that the trigger lies in
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.