|
COM Library
|
The mixin class used for the common (DLL/EXE) COM server behaviour. More...
#include <Server.hpp>
Public Member Functions | |
| long | LockCount () const |
| Query the lock count. | |
| virtual void | Lock () |
| Lock the server. | |
| virtual void | Unlock () |
| Unlock the server. | |
| ITypeLibPtr | LoadTypeLibrary () const |
| Load the type library. | |
Static Public Member Functions | |
| static Server & | This () |
| Singleton accessor. | |
Protected Member Functions | |
| Server () | |
| Default constructor. | |
| virtual | ~Server () |
| Destructor. | |
Private Attributes | |
| long | m_nLockCount |
| The lock count. | |
Static Private Attributes | |
| static Server * | g_pThis = NULL |
| The singleton COM server. | |
The mixin class used for the common (DLL/EXE) COM server behaviour.
| COM::Server::Server | ( | ) | [protected] |
Default constructor.
| COM::Server::~Server | ( | ) | [protected, virtual] |
Destructor.
| long COM::Server::LockCount | ( | ) | const [inline] |
Query the lock count.
| Server & COM::Server::This | ( | ) | [static] |
Singleton accessor.
Reimplemented in COM::InprocServer.
| void COM::Server::Lock | ( | ) | [virtual] |
Lock the server.
This is used to ensure that the server is not unloaded whilst it still has objects alive.
| void COM::Server::Unlock | ( | ) | [virtual] |
Unlock the server.
| ITypeLibPtr COM::Server::LoadTypeLibrary | ( | ) | const |
Load the type library.
long COM::Server::m_nLockCount [private] |
The lock count.
Server * COM::Server::g_pThis = NULL [static, private] |
The singleton COM server.
Reimplemented in COM::InprocServer.
1.7.6.1