Rhino C++ API  8.14
Public Member Functions | Protected Member Functions | List of all members
IRhRdkTaskOrigin::IRequestHandler Class Referenceabstract

#include <RhRdkTask.h>

Public Member Functions

virtual void DeleteThis (void)=0
 
virtual void * EVF (const wchar_t *, void *)=0
 
virtual bool OnTaskRequestExecute (const UUID &uuidTask, const IRhRdkTaskOrigin &origin)=0
 
virtual void OnTaskRequestUpdate (const UUID &uuidTask, IRhRdkTaskUpdate &tu)=0
 

Protected Member Functions

virtual ~IRequestHandler ()
 

Constructor & Destructor Documentation

◆ ~IRequestHandler()

virtual IRhRdkTaskOrigin::IRequestHandler::~IRequestHandler ( )
inlineprotectedvirtual

Member Function Documentation

◆ DeleteThis()

virtual void IRhRdkTaskOrigin::IRequestHandler::DeleteThis ( void  )
pure virtual

This method is implemented as

delete this;

◆ EVF()

virtual void* IRhRdkTaskOrigin::IRequestHandler::EVF ( const wchar_t *  ,
void *   
)
pure virtual

Emergency virtual function for future expansion.

◆ OnTaskRequestExecute()

virtual bool IRhRdkTaskOrigin::IRequestHandler::OnTaskRequestExecute ( const UUID &  uuidTask,
const IRhRdkTaskOrigin origin 
)
pure virtual

The UI implements this method to execute a particular UI-bound task.

Parameters
uuidTaskis the identifier of the task being executed. The UI only has to handle tasks that it cares about.

◆ OnTaskRequestUpdate()

virtual void IRhRdkTaskOrigin::IRequestHandler::OnTaskRequestUpdate ( const UUID &  uuidTask,
IRhRdkTaskUpdate tu 
)
pure virtual

The UI implements this method to update a particular UI-bound task's enable or check state on a menu or other UI that displays tasks.

Parameters
uuidTaskis the identifier of the task being updated.
tuis a task update object which you can use to get and set the check or enable state.