Fovia's C++ Server API
|
Public Member Functions | |
virtual signed int | AskInterface (const BGUID *piid, IRoot **ppr)=0 |
template<class T > | |
signed int | AskInterface (T **pp) |
virtual signed int | DecRef ()=0 |
virtual signed int | IncRef ()=0 |
Root interface for all interfaces.
Queries this object to see if the interface piid is supported and returns the result in ppr.
piid | The BGUID of the requested interface. |
ppr | The address of an IRoot pointer which will receive the new interface. |
Implemented in IHdrcSession, IHdrcServer, ILibrary, ILibraryLogger, and IAllocator.
Referenced by CBComPtr< T >::IsEqualObject().
|
inline |
Function template for the above
|
pure virtual |
Decreases the reference count on this object by 1. If the reference count reaches 0, the object is deallocated.
Implemented in IHdrcSession, IHdrcServer, ILibrary, ILibraryLogger, and IAllocator.
Referenced by CBComPtr< T >::DecRef().
|
pure virtual |
Increases the reference count on this object by 1. You do not need to call this after an object is first created. It is 1 by default.
Implemented in IHdrcSession, IHdrcServer, ILibrary, ILibraryLogger, and IAllocator.