Rhino C++ API
8.14
|
#include <RhRdkExtension.h>
Public Member Functions | |
CRhRdkExtension () | |
virtual | ~CRhRdkExtension () |
virtual UUID | InterfaceId (void) const =0 |
virtual UUID | PlugInId (void) const =0 |
bool | Unregister (void) |
Public Member Functions inherited from CRhRdkObject | |
CRhRdkObject () | |
virtual | ~CRhRdkObject () |
virtual void * | EVF (const wchar_t *wszFunc, void *pvData) |
void | operator delete (void *buf) |
void | operator delete[] (void *buf) |
void * | operator new (size_t size) |
void * | operator new[] (size_t size) |
Additional Inherited Members | |
Static Public Member Functions inherited from CRhRdkObject | |
static void | CheckMemory (void) |
static void | PopulateDebuggingInfo (void) |
This is the base class for RDK extensions whose interface is defined by a UUID. Some RDK extensions have interface files which are supplied with the RDK SDK (e.g., content factories) and some do not. The latter case is generally reserved for features which are added to the RDK after the initial SDK release and allows us to add extensions without breaking the SDK.
CRhRdkExtension::CRhRdkExtension | ( | ) |
|
virtual |
|
pure virtual |
Returns the unique interface id of this extension.
Implemented in CRhRdkContentIOPlugInEx, CRhRdkLightManagerSupport, CRhRdkContentIOPlugIn, CRhRdkContent::CCustomUserDataFactory, CRhRdkCustomRenderMeshProvider, CRhRdkCustomRenderFrameMenu, CRhRdkRenderWindowMainSidePaneTabFactory, CRhRdkRenderFrameTabFactory, CRhRdkCustomRenderFrameToolBar, CRhRdkRenderWindowCustomDlg, CRhRdkRenderWindowMouseEventWatcher, CRhRdkTask, CRhRdkContentEditorCustomButtonProvider, CRhRdkPostEffectFactory, CRhRdkContentFactory, CRhRdkPostEffectPlugInFactory, CRhRdkRenderWindowEventSink, and CRhRdkCompoundContentImplementor.
|
pure virtual |
This must return the UUID of the host's CRhinoPlugIn class. This is critical because it is used to determine if an extension should be deleted when its host plug-in is removed.
Implemented in CRhRdkContentFactory.
bool CRhRdkExtension::Unregister | ( | void | ) |
Unregister this extension. If successful, this deletes this extension and returns true.