CUpnpAvtActionFactory Class Reference

class CUpnpAvtActionFactory : public CBase

AV Transport factory class. This class creates AV Transport actions.

Since
Series 60 2.6

Inherits from

Public Member Functions
~CUpnpAvtActionFactory ()
TInt AvtDeviceCapabilitiesActionLC ( CUpnpAction *&, CUpnpDevice *, TInt )
TInt AvtMediaInfoActionLC ( CUpnpAction *&, CUpnpDevice *, TInt )
TInt AvtNextActionLC ( CUpnpAction *&, CUpnpDevice *, TInt )
TInt AvtPauseActionLC ( CUpnpAction *&, CUpnpDevice *, TInt )
TInt AvtPlayActionLC ( CUpnpAction *&, CUpnpDevice *, TInt , const TDesC8 &)
TInt AvtPositionInfoActionLC ( CUpnpAction *&, CUpnpDevice *, TInt )
TInt AvtPreviousActionLC ( CUpnpAction *&, CUpnpDevice *, TInt )
TInt AvtRecordActionLC ( CUpnpAction *&, CUpnpDevice *, TInt )
TInt AvtSeekActionLC ( CUpnpAction *&, CUpnpDevice *, TInt , const TDesC8 &, const TDesC8 &)
TInt AvtSetNextTransportUriActionLC ( CUpnpAction *&, CUpnpDevice *, TInt , const TDesC8 &, const TDesC8 &)
TInt AvtSetPlayModeActionLC ( CUpnpAction *&, CUpnpDevice *, TInt , const TDesC8 &)
TInt AvtSetRecordModeActionLC ( CUpnpAction *&, CUpnpDevice *, TInt , const TDesC8 &)
TInt AvtSetTransportUriActionLC ( CUpnpAction *&, CUpnpDevice *, TInt , const TDesC8 &, const TDesC8 &)
TInt AvtStopActionLC ( CUpnpAction *&, CUpnpDevice *, TInt )
TInt AvtTransportInfoActionLC ( CUpnpAction *&, CUpnpDevice *, TInt )
TInt AvtTransportSettingsActionLC ( CUpnpAction *&, CUpnpDevice *, TInt )
TInt AvtTransportsActionLC ( CUpnpAction *&, CUpnpDevice *, TInt )
CUpnpAvtActionFactory * NewL ( MUpnpAVControlPointObserver &, CUpnpAVControlPoint &)
Private Member Functions
CUpnpAvtActionFactory ( MUpnpAVControlPointObserver &, CUpnpAVControlPoint &)
void ConstructL ()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
CUpnpAVControlPoint & iAVCP
MUpnpAVControlPointObserver & iAVControlPointObserver

Constructor & Destructor Documentation

CUpnpAvtActionFactory(MUpnpAVControlPointObserver &, CUpnpAVControlPoint &)

CUpnpAvtActionFactory ( MUpnpAVControlPointObserver & aAVCPObserver,
CUpnpAVControlPoint & aAVCP
) [private]

C++ default constructor.

Parameters

MUpnpAVControlPointObserver & aAVCPObserver
CUpnpAVControlPoint & aAVCP

~CUpnpAvtActionFactory()

~CUpnpAvtActionFactory ( )

Destructor.

Member Functions Documentation

AvtDeviceCapabilitiesActionLC(CUpnpAction *&, CUpnpDevice *, TInt)

TInt AvtDeviceCapabilitiesActionLC ( CUpnpAction *& aAction,
CUpnpDevice * aMediaRenderer,
TInt aInstanceId
)
Cretes and places in CU-stack a GetDeviceCapabilities action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaRenderer Action's target device.
TInt aInstanceId Media Renderer instance number.

AvtMediaInfoActionLC(CUpnpAction *&, CUpnpDevice *, TInt)

TInt AvtMediaInfoActionLC ( CUpnpAction *& aAction,
CUpnpDevice * aMediaRenderer,
TInt aInstanceId
)
Cretes and places in CU-stack a GetMediaInfo action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaRenderer Action's target device.
TInt aInstanceId Media Renderer instance number.

AvtNextActionLC(CUpnpAction *&, CUpnpDevice *, TInt)

TInt AvtNextActionLC ( CUpnpAction *& aAction,
CUpnpDevice * aMediaRenderer,
TInt aInstanceId
)
Cretes and places in CU-stack a Next action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaRenderer Action's target device.
TInt aInstanceId Media Renderer instance number.

AvtPauseActionLC(CUpnpAction *&, CUpnpDevice *, TInt)

TInt AvtPauseActionLC ( CUpnpAction *& aAction,
CUpnpDevice * aMediaRenderer,
TInt aInstanceId
)
Cretes and places in CU-stack a Pause action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaRenderer Action's target device.
TInt aInstanceId Media Renderer instance number.

AvtPlayActionLC(CUpnpAction *&, CUpnpDevice *, TInt, const TDesC8 &)

TInt AvtPlayActionLC ( CUpnpAction *& aAction,
CUpnpDevice * aMediaRenderer,
TInt aInstanceId,
const TDesC8 & aSpeed
)
Cretes and places in CU-stack a Play action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaRenderer Action's target device.
TInt aInstanceId Media Renderer instance number.
const TDesC8 & aSpeed Play speed.

AvtPositionInfoActionLC(CUpnpAction *&, CUpnpDevice *, TInt)

TInt AvtPositionInfoActionLC ( CUpnpAction *& aAction,
CUpnpDevice * aMediaRenderer,
TInt aInstanceId
)
Cretes and places in CU-stack a GetPositionInfo action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaRenderer Action's target device.
TInt aInstanceId Media Renderer instance number.

AvtPreviousActionLC(CUpnpAction *&, CUpnpDevice *, TInt)

TInt AvtPreviousActionLC ( CUpnpAction *& aAction,
CUpnpDevice * aMediaRenderer,
TInt aInstanceId
)
Cretes and places in CU-stack a Previous action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaRenderer Action's target device.
TInt aInstanceId Media Renderer instance number.

AvtRecordActionLC(CUpnpAction *&, CUpnpDevice *, TInt)

TInt AvtRecordActionLC ( CUpnpAction *& aAction,
CUpnpDevice * aMediaRenderer,
TInt aInstanceId
)
Cretes and places in CU-stack a Record action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaRenderer Action's target device.
TInt aInstanceId Media Renderer instance number.

AvtSeekActionLC(CUpnpAction *&, CUpnpDevice *, TInt, const TDesC8 &, const TDesC8 &)

TInt AvtSeekActionLC ( CUpnpAction *& aAction,
CUpnpDevice * aMediaRenderer,
TInt aInstanceId,
const TDesC8 & aUnit,
const TDesC8 & aTarget
)
Cretes and places in CU-stack a Seek action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaRenderer Action's target device.
TInt aInstanceId Media Renderer instance number.
const TDesC8 & aUnit
const TDesC8 & aTarget

AvtSetNextTransportUriActionLC(CUpnpAction *&, CUpnpDevice *, TInt, const TDesC8 &, const TDesC8 &)

TInt AvtSetNextTransportUriActionLC ( CUpnpAction *& aAction,
CUpnpDevice * aMediaRenderer,
TInt aInstanceId,
const TDesC8 & aNextUri,
const TDesC8 & aNextMetaData
)
Cretes and places in CU-stack a SetNextTransportURI action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaRenderer Action's target device.
TInt aInstanceId Media Renderer instance number.
const TDesC8 & aNextUri Resource URI.
const TDesC8 & aNextMetaData Resource metadata.

AvtSetPlayModeActionLC(CUpnpAction *&, CUpnpDevice *, TInt, const TDesC8 &)

TInt AvtSetPlayModeActionLC ( CUpnpAction *& aAction,
CUpnpDevice * aMediaRenderer,
TInt aInstanceId,
const TDesC8 & aPlayMode
)
Cretes and places in CU-stack a SetPlayMode action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaRenderer Action's target device.
TInt aInstanceId Media Renderer instance number.
const TDesC8 & aPlayMode Mode of play.

AvtSetRecordModeActionLC(CUpnpAction *&, CUpnpDevice *, TInt, const TDesC8 &)

TInt AvtSetRecordModeActionLC ( CUpnpAction *& aAction,
CUpnpDevice * aMediaRenderer,
TInt aInstanceId,
const TDesC8 & aRecordMode
)
Cretes and places in CU-stack a SetRecordQualityMode action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaRenderer Action's target device.
TInt aInstanceId Media Renderer instance number.
const TDesC8 & aRecordMode Mode of recording.

AvtSetTransportUriActionLC(CUpnpAction *&, CUpnpDevice *, TInt, const TDesC8 &, const TDesC8 &)

TInt AvtSetTransportUriActionLC ( CUpnpAction *& aAction,
CUpnpDevice * aMediaRenderer,
TInt aInstanceId,
const TDesC8 & aCurrentUri,
const TDesC8 & aCurrentMetaData
)
Cretes and places in CU-stack a SetTransportURI action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaRenderer Action's target device.
TInt aInstanceId Media Renderer instance number.
const TDesC8 & aCurrentUri Resource URI.
const TDesC8 & aCurrentMetaData Resource metadata.

AvtStopActionLC(CUpnpAction *&, CUpnpDevice *, TInt)

TInt AvtStopActionLC ( CUpnpAction *& aAction,
CUpnpDevice * aMediaRenderer,
TInt aInstanceId
)
Cretes and places in CU-stack a Stop action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaRenderer Action's target device.
TInt aInstanceId Media Renderer instance number.

AvtTransportInfoActionLC(CUpnpAction *&, CUpnpDevice *, TInt)

TInt AvtTransportInfoActionLC ( CUpnpAction *& aAction,
CUpnpDevice * aMediaRenderer,
TInt aInstanceId
)
Cretes and places in CU-stack a GetTransportInfo action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaRenderer Action's target device.
TInt aInstanceId Media Renderer instance number.

AvtTransportSettingsActionLC(CUpnpAction *&, CUpnpDevice *, TInt)

TInt AvtTransportSettingsActionLC ( CUpnpAction *& aAction,
CUpnpDevice * aMediaRenderer,
TInt aInstanceId
)
Cretes and places in CU-stack a GetTransportSettings action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaRenderer Action's target device.
TInt aInstanceId Media Renderer instance number.

AvtTransportsActionLC(CUpnpAction *&, CUpnpDevice *, TInt)

TInt AvtTransportsActionLC ( CUpnpAction *& aAction,
CUpnpDevice * aMediaRenderer,
TInt aInstanceId
)
Cretes and places in CU-stack a GetTransportIDs action.
Since
Series 60 2.6

Parameters

CUpnpAction *& aAction CUpnpAction pointer for created action.
CUpnpDevice * aMediaRenderer Action's target device.
TInt aInstanceId Media Renderer instance number.

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

NewL(MUpnpAVControlPointObserver &, CUpnpAVControlPoint &)

CUpnpAvtActionFactory * NewL ( MUpnpAVControlPointObserver & aAVCPObserver,
CUpnpAVControlPoint & aAVCP
) [static]

Two-phased constructor.

Parameters

MUpnpAVControlPointObserver & aAVCPObserver
CUpnpAVControlPoint & aAVCP

Member Data Documentation

CUpnpAVControlPoint & iAVCP

CUpnpAVControlPoint & iAVCP [private]

MUpnpAVControlPointObserver & iAVControlPointObserver

MUpnpAVControlPointObserver & iAVControlPointObserver [private]