CRemConAbsVolController Class Reference

#include <remconabsvolcontroller.h>

Link against: remconextapi1.lib

class CRemConAbsVolController : public CRemConInterfaceBase, public MRemConInterfaceIf

Inherits from

Detailed Description

Client-instantiable type supporting sending AbsVol API responses.

Constructor & Destructor Documentation

~CRemConAbsVolController ( )

IMPORT_C~CRemConAbsVolController()

Destructor.

Member Function Documentation

GetAbsoluteVolume ( TRequestStatus &, TUint & )

IMPORT_C voidGetAbsoluteVolume(TRequestStatus &aStatus,
TUint &aNumRemotes
)

Sends a 'get absolute volume' command. The absolute volume will be returned in response(s) via the observer interface. Only one command per controller session can be outstanding at any one time.

Parameters
aStatusUsed by RemCon to indicate completion of the send request.
aNumRemotesThe number of remotes to which the command was sent.

NewL ( CRemConInterfaceSelector &, MRemConAbsVolControllerObserver & )

IMPORT_C CRemConAbsVolController *NewL(CRemConInterfaceSelector &aInterfaceSelector,
MRemConAbsVolControllerObserver &aObserver
)[static]

Factory function.

Parameters
aInterfaceSelectorThe interface selector. The client must have created one of these first.
aObserverThe observer of this interface.
Return Value
A new CRemConAbsVolController, owned by the interface selector.

SetAbsoluteVolume ( TRequestStatus &, TUint, TUint, TUint & )

IMPORT_C voidSetAbsoluteVolume(TRequestStatus &aStatus,
TUintaAbsVol,
TUintaMaxVol,
TUint &aNumRemotes
)

Sends a 'set absolute volume' command. The volume is set to aAbsVol, on a range of zero to aMaxVol. Any responses will be returned via the observer interface. Only one command per controller session can be outstanding at any one time.

Parameters
aStatusUsed by RemCon to indicate completion of the send request.
aAbsVolThe relative volume.
aMaxVolThe maximum against which aAbsVol is relative.
aNumRemotesThe number of remotes to which the command was sent.