Rhino C++ API
8.17
|
#include <RhRdkTaskOrigin.h>
Public Member Functions | |
CRhRdkSingleSelectionTaskOrigin (const CRhRdkDocument &rdkDoc, CRhRdkControllerPtr con, const UUID &uuidInstance, const CRhRdkPreviewAppearance *pAppearance, const UUID &uuidEditor) | |
virtual | ~CRhRdkSingleSelectionTaskOrigin () |
virtual void | GetSelectionImpl (CRhRdkContentArray &aContentOut) const final override |
virtual const CRhRdkPreviewAppearance * | PreviewAppearance (void) const final override |
virtual bool | SupportsTask (const CRhRdkTask &task) const override |
virtual const wchar_t * | TopLevelKind (void) const final override |
virtual UUID | Uuid (void) const final override |
![]() | |
CRhRdkContextTaskOrigin (const CRhRdkDocument &rdkDoc, CRhRdkControllerPtr con) | |
![]() | |
CRhRdkTaskOrigin (const CRhRdkDocument &rdkDoc, CRhRdkControllerPtr con) | |
virtual | ~CRhRdkTaskOrigin () |
virtual IRhRdkTaskCollection::Control | Control (void) const =0 |
CRhRdkControllerPtr | Controller (void) const |
virtual int | GetSelectedCount (void) const |
void | GetSelection (CRhRdkContentArray &aContentOut, bool bForModify=false) const |
virtual int | GetState (void) const |
virtual bool | IsAmbivalent (void) const |
virtual void | OnBeginAskUserSure (const UUID &uuidTask) const |
virtual void | OnBeginExecuteTask (const UUID &uuidTask) const |
virtual void | OnEndAskUserSure (const UUID &uuidTask, RhRdkMbResult) const |
virtual void | OnEndExecuteTask (const UUID &uuidTask, CRhRdkTask::Result) const |
virtual const CRhRdkPreviewMetaData * | PreviewMetaData (void) const |
virtual CRhRdkDocument * | RdkDocument (void) const |
virtual CRhinoDoc * | RhinoDoc (void) const |
virtual bool | WillReplaceContent (void) const |
![]() | |
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 void | CheckMemory (void) |
static void | PopulateDebuggingInfo (void) |
Used when task origin is something with a single selected content. This is typically used by the floating preview and editor preview thumbnails. Its special quirk is that it makes menus work as if the content is not part of a hierarchy.
CRhRdkSingleSelectionTaskOrigin::CRhRdkSingleSelectionTaskOrigin | ( | const CRhRdkDocument & | rdkDoc, |
CRhRdkControllerPtr | con, | ||
const UUID & | uuidInstance, | ||
const CRhRdkPreviewAppearance * | pAppearance, | ||
const UUID & | uuidEditor | ||
) |
|
virtual |
|
finaloverridevirtual |
Implement this to get the contents that have been selected by the user.
aContentOut | accepts the selected contents. |
Implements CRhRdkTaskOrigin.
|
finaloverridevirtual |
TODO: Docs
Reimplemented from CRhRdkTaskOrigin.
|
overridevirtual |
Reimplemented from CRhRdkContextTaskOrigin.
Reimplemented in CRhRdkFloatingPreviewTaskOrigin, CRhRdkContentInstanceBrowserTaskOrigin, and CRhRdkContentTypeBrowserTaskOrigin.
|
finaloverridevirtual |
TODO: Docs
Implements CRhRdkTaskOrigin.
|
finaloverridevirtual |
TODO: Docs
Implements CRhRdkTaskOrigin.