![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Template class for processor operations dispatching with static split operation types. More...
#include <StaticProcessorDispatcher.h>
Public Types | |
| typedef TProcessor | ProcessorType |
| processor type associated to object | |
| typedef BaseStaticProcessorDispatcher | BaseDispatcherType |
| base class associated to dispatcher class | |
Public Types inherited from ipsdk::processor::BaseStaticProcessorDispatcher | |
| typedef BaseStaticSplit | DataSplitType |
| data split operations type | |
Public Member Functions | |
| const std::string & | getProcessorName () const |
| retrieve processor name associated to dispatch operation | |
| const std::string & | getProcessorToolTip () const |
| retrieve processor tooltip associated to dispatch operation | |
Constructors and destructors | |
| StaticProcessorDispatcher () | |
| ~StaticProcessorDispatcher () | |
Public Member Functions inherited from ipsdk::processor::BaseStaticProcessorDispatcher | |
| BaseStaticProcessorDispatcher () | |
| virtual | ~BaseStaticProcessorDispatcher ()=0 |
Public Member Functions inherited from ipsdk::processor::BaseProcessorDispatcher | |
| BoolResult | setProcessorDispatchPolicy (const ProcessorDispatchPolicy &processorDispatchPolicy) |
| select used processor dispatch policy More... | |
| const ProcessorDispatchPolicy & | getProcessorDispatchPolicy () const |
| retrieve used processor dispatch policy More... | |
| ElementsSplitInfoConstPtr | getElementsSplitInfo () const |
| retrieve informations about splitted data More... | |
| ipUInt64 | getNbNotReleased () const |
| retrieve the number of non released (i.e. running) processors | |
| ipUInt64 | getNbPendingElements () const |
| retrieve the number of pending (i.e. waiting to start) processors | |
| ipUInt64 | getNbProcessedElements () const |
| retrieve the number of finished processors | |
| RemoteDataSize | getNotReleasedDataSizes () const |
| retrieve the size of data used by the process | |
| ipUInt64 | getRemainingDataMemorySize () const |
| retrieve the size of remaining data | |
| BaseProcessorDispatcher () | |
| virtual | ~BaseProcessorDispatcher ()=0 |
| void | setProcessorRulePolicy (const eProcessorRulePolicy &processorRulePolicy) |
| access to used rule policy on created processors | |
| const eProcessorRulePolicy & | getProcessorRulePolicy () const |
| access to used rule policy on created processors | |
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 | |
| ProcessorPtr | createProcessor () const |
| initialization method for class More... | |
Protected Member Functions inherited from ipsdk::processor::BaseStaticProcessorDispatcher | |
| BoolResult | initBase (const core::BasePriority &actionPriority, const DataSplitColl &dataSplitColl) |
| base class initialization method More... | |
| BoolResult | initBase (const core::BasePriority &actionPriority, const ipUInt64 nbMaxThreads, const DataSplitColl &dataSplitColl) |
| base class initialization method More... | |
Protected Member Functions inherited from ipsdk::processor::BaseProcessorDispatcher | |
| BoolResult | initBase (const core::BasePriority &actionPriority, const ElementsLocationInfo &elementsLocationInfo, const GuidSet &broadcastSocketGuids, const ipUInt64 nbMinEltsPerSplit, const ipUInt64 nbMaxEltsPerSplit, const ipUInt64 minMemSzPerThread=0, const ipUInt64 maxMemSzPerThread=NumericLimits< ipUInt64 >::max(), const ipUInt64 nbMaxThreads=0) |
| base class initialization method It is possible to enforce the maximum number of threads used to dispatch the data More... | |
| void | broadcastToRemotes () |
| method allowing to broadcast processor dispatcher to all configured remote processing servers | |
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 | requestCancellationDerived () |
| method allowing to request cancellation in derived classes | |
Additional Inherited Members | |
Protected Types inherited from ipsdk::processor::BaseStaticProcessorDispatcher | |
| typedef boost::shared_ptr< DataSplitType > | DataSplitPtr |
| shared pointer to DataSplit | |
| typedef std::vector< DataSplitPtr > | DataSplitColl |
| collection of data split operations | |
Protected Attributes inherited from ipsdk::processor::BaseStaticProcessorDispatcher | |
| DataSplitColl | _dataSplitColl |
| collection of data split operations associated to object | |
Template class for processor operations dispatching with static split operation types.
|
inlineprotectedvirtual |
initialization method for class
Implements ipsdk::processor::BaseProcessorDispatcher.
1.8.14