Rhino C++ API
8.10
|
#include <RhRdkTask.h>
Classes | |
class | IRequestHandler |
Public Member Functions | |
virtual void | AcceptNewContent (const CRhRdkContentArray &aContent) const =0 |
virtual CRhRdkContentKindList | AllowedKinds (void) const =0 |
virtual const wchar_t * | ChildSlotName (void) const =0 |
virtual RhRdkUserControl | Control (void) const =0 |
virtual CRhRdkControllerPtr | Controller (void) const =0 |
virtual void | DeleteThis (void)=0 |
virtual void * | EVF (const wchar_t *wszFunc, void *pvData)=0 |
virtual void | GetNewContent (OUT CRhRdkContentArray &aContent) const =0 |
virtual int | GetSelectedCount (void) const =0 |
virtual void | GetSelection (OUT CRhRdkContentArray &aContent, bool bForModify=false) const =0 |
virtual void | GetSelectionImpl (CRhRdkContentArray &aContentOut) const =0 |
virtual int | GetState (void) const =0 |
virtual bool | IsAmbivalent (void) const =0 |
virtual void | OnBeginAskUserSure (const UUID &uuidTask) const =0 |
virtual void | OnEndAskUserSure (const UUID &uuidTask, RhRdkMbResult) const =0 |
CRhRdkContent * | Parent (void) const |
virtual const class CRhRdkPreviewAppearance * | PreviewAppearance (void) const =0 |
virtual bool | ReplacingSelection (void) const =0 |
virtual bool | SendTaskRequestExecute (const UUID &uuidTask) const =0 |
virtual void | SendTaskRequestUpdate (const UUID &uuidTask, IRhRdkTaskUpdate &tu) const =0 |
virtual bool | SupportsTask (const CRhRdkTask &t) const =0 |
virtual CRhRdkContent::Kinds | TopLevelKind (void) const =0 |
Protected Member Functions | |
virtual | ~IRhRdkTaskOrigin () |
A task origin represents the place in the UI where the user clicked to invoke a menu or other UI that displays tasks.
|
inlineprotectedvirtual |
|
pure virtual |
Some tasks create new contents. When that happens, this method is called with the content array. The task origin temporarily stores the pointers so that the originating UI can examine them.
|
pure virtual |
Gets the allowed kinds for creating new contents.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
This method is implemented as
|
pure virtual |
Emergency virtual function for future expansion.
|
pure virtual |
Gets the array of contents stored by AcceptNewContent().
|
pure virtual |
Gets the number of selected contents.
|
pure virtual |
Get the contents that have been selected by the user.
aContent | accepts the selected contents. |
bForModify | indicates if the operation is planning to modify the contents. |
|
pure virtual |
Gets the contents that have been selected by the user.
aContentOut | accepts the selected contents. |
|
pure virtual |
TODO: Docs
|
pure virtual |
An origin is 'ambivalent' when it wants to show tasks for both top-level and child contents on the same menu. This is a special quirk of the spanner menu.
|
pure virtual |
TODO: Docs
|
pure virtual |
TODO: Docs
CRhRdkContent* IRhRdkTaskOrigin::Parent | ( | void | ) | const |
|
pure virtual |
Gets the preview appearance if the origin is a thumbnail list.
|
pure virtual |
|
pure virtual |
Send a task-execute request to the UI that created this task origin. This enables the UI to execute tasks that are UI-bound.
|
pure virtual |
Send a task-update request to the UI that created this task origin. This enables the UI to update tasks that are UI-bound.
|
pure virtual |
|
pure virtual |
Gets the kind of top-level content in the UI.