Ulogger::CPlugin Class Reference

class Ulogger::CPlugin : public CBase

ULogger is extensible through a plug-in framework that uses ECom for plug-in discovery. Deriving from this class means that all the ECom-specific logic is already provided for the plug-in implementer, out-of-the-box, leaving the plug-in code to deal with the domain-specific logic that the plug-in is supposed to implement only.

Among the plug-in types that are currently supported are output plug-ins (see class ULogger::MOutputPlugin in uloggeroutputplugin.h) and input plug-ins (see class ULogger::MInputPlugin in uloggerinputplugin.h).

Plug-ins must derive from this class in order to be compatible with ULogger.

Inherits from

Constructor & Destructor Documentation

~CPlugin()

~CPlugin ( ) [inline, virtual]

Virtual destructor.

Member Functions Documentation

GetInterfaceL(TPluginInterface)

TAny * GetInterfaceL ( TPluginInterface aInterfaceId ) [pure virtual]

Return pointer to requested interface. If plug-in implements multiple interfaces, it should return pointer to proper interface trough this method.

Parameters

TPluginInterface aInterfaceId Number of requested interface.

NewL(const TDesC8 &)

CPlugin * NewL ( const TDesC8 & aCue ) [static, inline]

Creates a CPlugin instance of the specified type and returns a pointer to it. The type is specified as the name of the ECom plug-in DLL (without the dll extension).

Parameters

const TDesC8 & aCue a descriptor containing the name of the plug-in to be created

Member Enumerations Documentation

Enum TPluginInterface

Enum to signify plug-in interface types. Used by each specific plug-in interface (M-class) to identify itself as being of a particular type.

Enumerators

EOutput
EInput

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key [private]