![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Class allowing to provide actions from a remote machine. More...
#include <RemoteActionProvider.h>
Public Member Functions | |
| BoolResult | init (const Guid &socketGuid, const ePriority &actionPriority, const Guid &sourceProviderGuid) |
| object initialization method More... | |
| const Guid & | getSocketGuid () const |
| retrieve socket guid used to ask for pending actions More... | |
Constructors and destructors | |
| RemoteActionProvider () | |
| ~RemoteActionProvider () | |
Public Member Functions inherited from ipsdk::core::BaseActionProvider | |
| bool | isInit () const |
| retrieve object initialization flag | |
| const Guid & | getGuid () const |
| retrieve guid associated to provider More... | |
| const ePriority & | getActionsPriority () const |
| retrieve priority associated to provided actions More... | |
| eExecutionStatus | getStatus () const |
| check for provider execution status More... | |
| void | addCompletionCB (const ProviderCompletionCB &completionCB) |
| add a completion callback associated to action provider More... | |
| bool | areActionsPending () const |
| check whether additional actions potentially are pending More... | |
| void | waitForCompletion () |
| method allowing to wait for execution completion More... | |
| bool | waitForCompletion (const boost::chrono::milliseconds &duration) |
| method allowing to wait for a given duration for execution completion More... | |
| bool | waitForCompletion (const boost::chrono::system_clock::time_point &deadLineTime) |
| method allowing to wait until a given time point for execution completion More... | |
| void | requestCancellation () |
| method allowing to request cancellation More... | |
| bool | isCancellationRequested () const |
| check whether a cancellation has been requested More... | |
| ExecResult | getGlobalResult () const |
| retrieve execution global result More... | |
| double | getFullExecutionDuration () const |
| retrieve full execution time More... | |
| void | clear () |
| clear of object data More... | |
| BaseActionProvider () | |
| virtual | ~BaseActionProvider ()=0 |
Protected Member Functions | |
| QueryResult | queryNextAction (const BaseRequestOrigin &requestOrigin, ActionRequestPtr &pActionRequest, bool &bProcessCompletionCheck, SerializationObjectPtr &pCbAdditionalData) |
| query for next action to be processed in derived class More... | |
| bool | hasPendingAction () const |
| method allowing to check whether actions are pending in derived class | |
| BoolResult | notifyDerived (const ActionRequestPtr &pActionRequest, const SerializationObjectConstPtr &pCbAdditionalData, bool &bRestartProvider) |
| method used to notify of execution completion for a given request More... | |
Protected Member Functions inherited from ipsdk::core::BaseActionProvider | |
| BoolResult | initBase (const BasePriority &actionsPriority, const Guid &providerGuid=Guid()) |
| base class initialization method More... | |
| bool | existsRemoteProvider (const Guid &socketGuid) |
| check whether a remote provider exists for a given socket guid More... | |
| void | addRemoteProvider (const Guid &socketGuid) |
| define a new remote provider for a given socket guid More... | |
| bool | unRegisterRemoteProvider (const Guid &socketGuid) |
| un register a remote provider for a given socket guid More... | |
| BoolResult | registerRemoteProvider (const Guid &socketGuid) |
| instantly register a new remote provider for a given socket guid More... | |
| BoolResult | registerRemoteProviders () |
| register remote providers associated to object More... | |
| virtual void | clearDerived () |
| clear of data in derived class | |
| virtual void | requestCancellationDerived () |
| method allowing to request cancellation in derived classes | |
Protected Attributes | |
| Guid | _socketGuid |
| socket guid used to ask for pending actions | |
| bool | _bNoMoreActionDetected |
| flag indicating whether a no more action case has been detected | |
Class allowing to provide actions from a remote machine.
| BoolResult ipsdk::core::RemoteActionProvider::init | ( | const Guid & | socketGuid, |
| const ePriority & | actionPriority, | ||
| const Guid & | sourceProviderGuid | ||
| ) |
object initialization method
| const Guid& ipsdk::core::RemoteActionProvider::getSocketGuid | ( | ) | const |
retrieve socket guid used to ask for pending actions
| ipsdk::core::IPSDKCoreException | if isInit() == false |
|
protectedvirtual |
query for next action to be processed in derived class
| ipsdk::core::IPSDKCoreException | if requestOrigin.getRequestOrigin() != eRequestOrigin::eRO_Local |
Implements ipsdk::core::BaseActionProvider.
|
protectedvirtual |
method used to notify of execution completion for a given request
Reimplemented from ipsdk::core::BaseActionProvider.
1.8.14