InprocServer.hpp File Reference

The InprocServer class declaration. More...

#include <WCL/Dll.hpp>
#include "Server.hpp"
#include "ComMain.hpp"

Namespaces

namespace  COM

Classes

class  COM::InprocServer
 The base class for In-prcoess (DLL based) servers. More...

Defines

#define DEFINE_CLASS_FACTORY_TABLE()
#define DEFINE_CLASS(clsid, type, primary_iface)
#define END_CLASS_FACTORY_TABLE()

Typedefs

typedef Core::IFacePtr< IClassFactory > COM::IClassFactoryPtr
 The class factory smart-pointer type.
typedef Core::IFacePtr< IUnknown > COM::IUnknownPtr
 The IUnknown smart-pointer type.


Detailed Description

The InprocServer class declaration.

Author:
Chris Oldwood

Define Documentation

 
#define DEFINE_CLASS_FACTORY_TABLE (  ) 

Value:

virtual COM::IUnknownPtr CreateObject(const CLSID& oCLSID)      \
                                    {                                                               \
                                        COM::IUnknownPtr pUnknown;

#define DEFINE_CLASS ( clsid,
type,
primary_iface   ) 

Value:

if (oCLSID == clsid)                                        \
                                            pUnknown = COM::IUnknownPtr(static_cast<primary_iface*>(new type), true);

 
#define END_CLASS_FACTORY_TABLE (  ) 

Value:

return pUnknown;                                            \
                                    }


Generated on Wed Feb 13 22:53:38 2008 for COM Library by  doxygen 1.5.2