TLbtTriggeringSystemSettings Class Reference

class TLbtTriggeringSystemSettings

Structure for location triggering related system settings.

lbt.lib

Since
S60 5.1
Public Member Functions
TLbtTriggeringSystemSettings ()
IMPORT_C TReal MinimumTriggerAreaSize ()
IMPORT_C void SetMinimumTriggerAreaSize ( TReal )
IMPORT_C void SetTriggeringMechanismState ( TLbtTriggeringMechanismState )
IMPORT_C TLbtTriggeringMechanismState TriggeringMechanismState ()
IMPORT_C TType Type ()
Public Member Enumerations
enum TType { ETypeSystemSettings  = 1, ETypeManagementSystemSettings  = 2 }
Protected Attributes
TType iType
Private Attributes
TReal iMinimumTriggerAreaSize
TLbtTriggeringMechanismState iTriggeringState
TUint8 iUnused

Constructor & Destructor Documentation

TLbtTriggeringSystemSettings()

IMPORT_C TLbtTriggeringSystemSettings ( )

Default constructor.

Member Functions Documentation

MinimumTriggerAreaSize()

IMPORT_C TReal MinimumTriggerAreaSize ( ) const

Returns minimum size of trigger area.

When creating a trigger with a circular geographical trigger area, the radius of the trigger area must be greater than this setting.

This function returns zero if the minimum trigger area size is not set.

SetMinimumTriggerAreaSize(TReal)

IMPORT_C void SetMinimumTriggerAreaSize ( TReal aSize )

Sets the minum size of trigger area. This is for internal use only.

panic
LocTriggering ELbtErrArgument If aSize is negative.

Parameters

TReal aSize The minimum size of trigger area. In meters.

SetTriggeringMechanismState(TLbtTriggeringMechanismState)

IMPORT_C void SetTriggeringMechanismState ( TLbtTriggeringMechanismState aState )

Sets the triggering mechanism state. This is for internal use only.

Parameters

TLbtTriggeringMechanismState aState The triggering mechanism state.

TriggeringMechanismState()

IMPORT_C TLbtTriggeringMechanismState TriggeringMechanismState ( ) const

Returns the triggering mechanism state.

This function returns ETriggeringMechanismOn if the triggering mechanism state is not set.

Type()

IMPORT_C TType Type ( ) [virtual]

Gets the type of system setting class.

Member Enumerations Documentation

Enum TType

Type of system setting class.

Enumerators

ETypeSystemSettings = 1
ETypeManagementSystemSettings = 2

Member Data Documentation

TReal iMinimumTriggerAreaSize

TReal iMinimumTriggerAreaSize [private]

The minimum size of trigger area.

TLbtTriggeringMechanismState iTriggeringState

TLbtTriggeringMechanismState iTriggeringState [private]

Triggering mechanism state.

TType iType

TType iType [protected]

Type of the setting class

TUint8 iUnused

TUint8 iUnused [private]

For future use.