![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Class used for local action request encapsulation. More...
#include <LocalActionRequest.h>
Public Member Functions | |
| eActionRequestType | getActionRequestType () const |
| retrieve action request type | |
| BoolResult | init (const ActionPtr &pAction, bool bIntermediateData) |
| initialization of object More... | |
Constructors and destructors | |
| LocalActionRequest () | |
| ~LocalActionRequest () | |
Public Member Functions inherited from ipsdk::core::BaseActionRequest | |
| bool | isInit () const |
| retrieve object initialization flag | |
| const Guid & | getGuid () const |
| retrieve guid associated to action request More... | |
| eExecutionStatus | getStatus () const |
| check for request execution status More... | |
| void | addCompletionCB (const RequestCompletionCB &completionCB) |
| add a completion callback associated to action request More... | |
| ExecResult | executeAction () |
| launch execution of associated action More... | |
| void | requestCancellation () |
| ask for cancellation of associated action More... | |
| bool | isCancellationRequested () const |
| check whether a cancellation has been requested More... | |
| void | waitForCompletion () |
| method allowing to wait for execution end More... | |
| ExecResult | getActionResult () const |
| retrieve action result More... | |
| void | clear () |
| clear of object data More... | |
| BaseActionRequest () | |
| virtual | ~BaseActionRequest ()=0 |
Protected Member Functions | |
| ExecResult | executeActionDerived () |
| launch execution of associated action in derived class More... | |
| void | requestCancellationDerived () |
| ask for cancellation of associated action in derived class | |
| void | clearDerived () |
| clear of object data in derived class | |
| void | notifyActionCompletion (const ActionPtr &pAction) |
| method used to notify of execution completion for action | |
Protected Member Functions inherited from ipsdk::core::BaseActionRequest | |
| BoolResult | initBase (const Guid &requestGuid=Guid()) |
| base class initialization method More... | |
| void | setStatusToWaiting () |
| method allowing to set request status to waiting for execution More... | |
| void | notifyCompletion (const ExecResult &bResult) |
| method used to notify of execution completion for request More... | |
Protected Attributes | |
| ActionPtr | _pAction |
| pointer to action associated to request | |
| bool | _bIntermediateData |
Class used for local action request encapsulation.
Access to these actions is immediate
| BoolResult ipsdk::core::LocalActionRequest::init | ( | const ActionPtr & | pAction, |
| bool | bIntermediateData | ||
| ) |
initialization of object
| ipsdk::core::IPSDKCoreException | if pAction->getStatus() != eExecutionStatus::eES_NotStarted && pAction->getStatus() != eExecutionStatus::eES_WaitingForExecution |
|
protectedvirtual |
launch execution of associated action in derived class
Implements ipsdk::core::BaseActionRequest.
|
protected |
flag indicating whether local action request is an intermediate data for execution. In this case output data will be deleted after execution
1.8.14