ROmxILCoreClientSession Class Reference

class ROmxILCoreClientSession : public RSessionBase

Client-side of a an IL Client - IL Core communication

Inherits from

Public Member Functions
ROmxILCoreClientSession()
~ROmxILCoreClientSession()
voidClose()
OMX_ERRORTYPE ComponentNameEnum(OMX_STRING, OMX_U32, OMX_U32)
TInt Connect()
OMX_ERRORTYPE DeinitAndClose()
OMX_ERRORTYPE FreeHandle(OMX_HANDLETYPE)
OMX_ERRORTYPE GetComponentsOfRole(OMX_STRING, OMX_U32 *, OMX_U8 **)
OMX_ERRORTYPE GetContentPipe(OMX_HANDLETYPE *, OMX_STRING)
OMX_ERRORTYPE GetHandle(OMX_HANDLETYPE *, OMX_STRING, OMX_PTR, OMX_CALLBACKTYPE *)
OMX_ERRORTYPE GetRolesOfComponent(OMX_STRING, OMX_U32 *, OMX_U8 **)
COmxILCore &ILCore()
OMX_ERRORTYPE ListLoaders()
TInt Open()
OMX_ERRORTYPE SetupTunnel(OMX_HANDLETYPE, OMX_U32, OMX_HANDLETYPE, OMX_U32)
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Inherited Attributes
RHandleBase::iHandle

Constructor & Destructor Documentation

ROmxILCoreClientSession()

ROmxILCoreClientSession()

~ROmxILCoreClientSession()

~ROmxILCoreClientSession()

Member Functions Documentation

Close()

voidClose()

Closes the session to the IL Core server thread.

ComponentNameEnum(OMX_STRING, OMX_U32, OMX_U32)

OMX_ERRORTYPE ComponentNameEnum(OMX_STRINGcComponentName,
OMX_U32nNameLength,
OMX_U32nIndex
)

Requests OMX_ComponentNameEnum to the OpenMAX IL core.

Parameters

OMX_STRING cComponentName
OMX_U32 nNameLength
OMX_U32 nIndex

Connect()

TInt Connect()

Starts the separate IL Core server thread if not already started

DeinitAndClose()

OMX_ERRORTYPE DeinitAndClose()

Requests de-initialization of the OpenMAX IL core. It closes the session to the IL Core server.

FreeHandle(OMX_HANDLETYPE)

OMX_ERRORTYPE FreeHandle(OMX_HANDLETYPEhComponent)

Requests OMX_FreeHandle to the OpenMAX IL core.

Parameters

OMX_HANDLETYPE hComponent

GetComponentsOfRole(OMX_STRING, OMX_U32 *, OMX_U8 **)

OMX_ERRORTYPE GetComponentsOfRole(OMX_STRINGrole,
OMX_U32 *pNumComps,
OMX_U8 **compNames
)

Requests OMX_GetComponentsOfRole to the OpenMAX IL core.

Parameters

OMX_STRING role
OMX_U32 * pNumComps
OMX_U8 ** compNames

GetContentPipe(OMX_HANDLETYPE *, OMX_STRING)

OMX_ERRORTYPE GetContentPipe(OMX_HANDLETYPE *hPipe,
OMX_STRINGszURI
)

Requests OMX_GetContentPipe to the OpenMAX IL core.

Parameters

OMX_HANDLETYPE * hPipe
OMX_STRING szURI

GetHandle(OMX_HANDLETYPE *, OMX_STRING, OMX_PTR, OMX_CALLBACKTYPE *)

OMX_ERRORTYPE GetHandle(OMX_HANDLETYPE *pHandle,
OMX_STRINGcComponentName,
OMX_PTRpAppData,
OMX_CALLBACKTYPE *pCallBacks
)

Requests OMX_GetHandle to the OpenMAX IL core.

Parameters

OMX_HANDLETYPE * pHandle
OMX_STRING cComponentName
OMX_PTR pAppData
OMX_CALLBACKTYPE * pCallBacks

GetRolesOfComponent(OMX_STRING, OMX_U32 *, OMX_U8 **)

OMX_ERRORTYPE GetRolesOfComponent(OMX_STRINGcompName,
OMX_U32 *pNumRoles,
OMX_U8 **roles
)

Requests OMX_GetRolesOfComponent to the OpenMAX IL core.

Parameters

OMX_STRING compName
OMX_U32 * pNumRoles
OMX_U8 ** roles

ILCore()

COmxILCore &ILCore()

Obtains the IL Core pointer stored in the IL Core thread.

ListLoaders()

OMX_ERRORTYPE ListLoaders()

Requests initialization of the OpenMAX IL Core loaders.

Open()

TInt Open()

Opens a session to the IL Core server thread that should already be started

SetupTunnel(OMX_HANDLETYPE, OMX_U32, OMX_HANDLETYPE, OMX_U32)

OMX_ERRORTYPE SetupTunnel(OMX_HANDLETYPEhOutput,
OMX_U32nPortOutput,
OMX_HANDLETYPEhInput,
OMX_U32nPortInput
)

Requests OMX_SetupTunnel to the OpenMAX IL core.

Parameters

OMX_HANDLETYPE hOutput
OMX_U32 nPortOutput
OMX_HANDLETYPE hInput
OMX_U32 nPortInput