CMceFileSink Class Reference

class CMceFileSink : public CMceMediaSink

Class representing file sink in Mce.

CMceFileSink can be used to record a stream to the file. The file may consist of both audio and video data. If both media elements are available and should be recorded to the same file, the same file sink should be attached to audio stream and video stream. Recording only one of the media elements is possible as well.

Enable (continue) and Disable (pause) operations to it are considered to be local, so they are not signalled to remote terminal.

mceclient.lib

Inherits from

Public Member Functions
~CMceFileSink()
IMPORT_C voidDisableL()
IMPORT_C voidEnableL()
voidInitializeL(CMceManager *)
IMPORT_C CMceFileSink *NewL(const TFileName &)
CMceFileSink *NewL()
IMPORT_C CMceFileSink *NewLC(const TFileName &)
CMceFileSink *NewLC()
Private Member Functions
CMceFileSink()
voidConstructL(const TFileName &)
voidGetFileInfoL()
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()
CMceMediaSink::CMceMediaSink()
CMceMediaSink::ConstructL(CMceComMediaSink *)
CMceMediaSink::CreateEndpointProxyL()const
CMceMediaSink::DoDisableL()
CMceMediaSink::DoEnableL()
CMceMediaSink::Enabled(TBool)
CMceMediaSink::EndpointProxy()const
CMceMediaSink::EventReceivedL(TMceEvent &)
CMceMediaSink::ExternalizeFlatL(RWriteStream &)
CMceMediaSink::ExternalizeL(MMceComSerializationContext &)
CMceMediaSink::Factory()
CMceMediaSink::HandleEvent(TMceEvent &)
CMceMediaSink::Id()const
CMceMediaSink::InitializeL(CMceMediaStream &)
CMceMediaSink::InternalizeFlatL(RReadStream &)
CMceMediaSink::InternalizeL(MMceComSerializationContext &)
CMceMediaSink::IsEnabled()const
CMceMediaSink::ReferenceCount()
CMceMediaSink::SerializationId()const
CMceMediaSink::SetupEndpointProxyL(MMceEndPointProxy *)
CMceMediaSink::StreamAddedL(CMceMediaStream &)
CMceMediaSink::Type()const
CMceMediaSink::UnInitialize(CMceMediaStream &)
CMceMediaSink::UpdateL(CMceMediaSink &)
CMceMediaSink::Updated()
CMceMediaSink::UsesEndpointProxy()const
CMceMediaSink::~CMceMediaSink()
Inherited Attributes
CMceMediaSink::iEndpointProxy
CMceMediaSink::iFlatData
CMceMediaSink::iParents
CMceMediaSink::iStream

Constructor & Destructor Documentation

CMceFileSink()

CMceFileSink()[private]

C++ default constructor.

~CMceFileSink()

IMPORT_C~CMceFileSink()

Destructor.

Member Functions Documentation

ConstructL(const TFileName &)

voidConstructL(const TFileName &aFileName)[private]

Second-phase constructor.

Parameters

const TFileName & aFileName

DisableL()

IMPORT_C voidDisableL()[virtual]

Disables the sink explicitly.

EnableL()

IMPORT_C voidEnableL()[virtual]

Enables the sink explicitly.

GetFileInfoL()

voidGetFileInfoL()[private]

InitializeL(CMceManager *)

voidInitializeL(CMceManager *aManager)[virtual]

Initializes

Parameters

CMceManager * aManagerthe manager. Ownership is NOT transferred

NewL(const TFileName &)

IMPORT_C CMceFileSink *NewL(const TFileName &aFileName)[static]

Two-phased constructor.

Parameters

const TFileName & aFileNamename of the file including full path info

NewL()

CMceFileSink *NewL()[static]

Two-phased constructor.

NewLC(const TFileName &)

IMPORT_C CMceFileSink *NewLC(const TFileName &aFileName)[static]

Two-phased constructor.

Parameters

const TFileName & aFileNamename of the file including full path info

NewLC()

CMceFileSink *NewLC()[static]

Two-phased constructor.