sbWindowsFormatterClassFactory Class Reference

#include <sbWindowsFormatterClassFactory.h>

Inheritance diagram for sbWindowsFormatterClassFactory:
[legend]
Collaboration diagram for sbWindowsFormatterClassFactory:
[legend]

Public Member Functions

 STDMETHOD_ (ULONG, AddRef)()
 
 STDMETHOD_ (ULONG, Release)()
 
STDMETHOD() QueryInterface (REFIID aIID, void **aInterface)
 
STDMETHOD() CreateInstance (IUnknown *aOuter, REFIID aIID, void **aInstance)
 
STDMETHOD() LockServer (BOOL aLock)
 
 sbWindowsFormatterClassFactory ()
 
virtual ~sbWindowsFormatterClassFactory ()
 

Protected Attributes

ULONG mRefCount
 

Detailed Description

This class implements an IClassFactory interface for creating sbWindowsFormatter instances.

Definition at line 64 of file sbWindowsFormatterClassFactory.h.

Constructor & Destructor Documentation

sbWindowsFormatterClassFactory::sbWindowsFormatterClassFactory ( )

Create an instance of a Songbird Windows formatter class factory.

Definition at line 209 of file sbWindowsFormatterClassFactory.cpp.

Here is the call graph for this function:

sbWindowsFormatterClassFactory::~sbWindowsFormatterClassFactory ( )
virtual

Destroy an instance of a Songbird Windows formatter class factory.

Definition at line 221 of file sbWindowsFormatterClassFactory.cpp.

Here is the call graph for this function:

Member Function Documentation

STDMETHODIMP sbWindowsFormatterClassFactory::CreateInstance ( IUnknown *  aOuter,
REFIID  aIID,
void **  aInstance 
)

Create and return in aInstance an object instance providing the interface specified by aIID. Use the object specified by aOuter with aggregation. Return CLASS_E_NOAGGREGATION if aggregation is not supported.

Parameters
aOuterAggregation outer object.
aIIDRequested interface.
aInstanceReturned created instance.
Returns
CLASS_E_NOAGGREGATION Aggregation is not supported.

Definition at line 146 of file sbWindowsFormatterClassFactory.cpp.

Here is the call graph for this function:

STDMETHODIMP sbWindowsFormatterClassFactory::LockServer ( BOOL  aLock)

Lock or unlock the object server as specified by aLock. If aLock is true, add a server lock; otherwise, remove a server lock.

Parameters
aLockIf true, add lock; otherwise, remove lock.

Definition at line 187 of file sbWindowsFormatterClassFactory.cpp.

Here is the call graph for this function:

STDMETHODIMP sbWindowsFormatterClassFactory::QueryInterface ( REFIID  aIID,
void **  aInterface 
)

Return in aInterface an implementation of this object with the interface specified by aIID. If this object does not support the specified interface, return E_NOINTERFACE.

Parameters
aIIDRequested interface.
aInterfaceReturned interface object.
Returns
E_NOINTERFACE Requested interface is not supported.

Definition at line 102 of file sbWindowsFormatterClassFactory.cpp.

Here is the caller graph for this function:

sbWindowsFormatterClassFactory::STDMETHOD_ ( ULONG  ,
AddRef   
)
sbWindowsFormatterClassFactory::STDMETHOD_ ( ULONG  ,
Release   
)

Member Data Documentation

ULONG sbWindowsFormatterClassFactory::mRefCount
protected

Definition at line 118 of file sbWindowsFormatterClassFactory.h.


The documentation for this class was generated from the following files: