IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
ipsdk::processor::BaseStaticSplit Class Referenceabstract

Base class for data static split objets used for data dispatch. More...

#include <BaseStaticSplit.h>

Inheritance diagram for ipsdk::processor::BaseStaticSplit:
ipsdk::processor::BaseDataSplit ipsdk::imaproc::BaseCudaSubImageSplit< TAttribute::StorageType > ipsdk::imaproc::BaseSubImageSplit< TAttribute::StorageType > ipsdk::imaproc::BaseCudaSubImageSplit< InOutStorageType > ipsdk::imaproc::BaseImageTileSplit< InputDataType > ipsdk::imaproc::BasePlanIndexedSplit ipsdk::imaproc::BaseStaticImageStripSplit< InputDataType > ipsdk::imaproc::BaseSubImageSplit< InOutStorageType > ipsdk::processor::StaticNoSplit< TProcessor, TAttribute > ipsdk::processor::StaticParameterSplit< TProcessor, TAttribute > ipsdk::processor::StaticResultSplit< TProcessor, TAttribute >

Public Member Functions

eSplitBaseType getSplitBaseType () const
 retrieve split operation base type
 
virtual eSplitStaticType getSplitStaticType () const =0
 retrieve static split operation type
 
BoolResult initAttribute (BaseProcessor &processor, const ipUInt32 elementIdx, const core::BaseRequestOrigin &requestOrigin)
 initialize processor attribute associate to split operation for a starting element index and a number of elements More...
 
Constructors and destructors
 BaseStaticSplit ()
 
virtual ~BaseStaticSplit ()=0
 
- Public Member Functions inherited from ipsdk::processor::BaseDataSplit
virtual const std::string & getAttributeName () const =0
 retrieve attribute name associated to split operation
 
virtual const std::string & getAttributeToolTip () const =0
 retrieve attribute tooltip associated to split operation
 
bool isInit () const
 retrieve object initialization flag
 
bool isSplitted () const
 check whether object will be associated to split operation More...
 
const ElementsLocationInfogetElementsLocationInfo () const
 retrieve data location informations More...
 
ipUInt64 getFullMemorySize () const
 retrieve full memory data size for elements More...
 
bool areDataLocalized () const
 check whether data are localized More...
 
bool hasLocalData () const
 check whether some data are local data More...
 
bool hasRemoteData () const
 check whether some data are remote data More...
 
void disableDataLocalization ()
 method allowing to disable data localization More...
 
 BaseDataSplit ()
 
virtual ~BaseDataSplit ()=0
 
ipUInt64 getNbElements () const
 retrieve total number of elements associated to input data More...
 
ipUInt64 getDataMemorySize (const ipUInt64 elementIdx) const
 retrieve memory size of data for a given element More...
 
ipUInt64 getDataMemorySize () const
 retrieve memory size of data for a given element More...
 

Static Public Attributes

static const eSplitBaseType::domain g_splitBaseType = eSplitBaseType::eSBT_Static
 data split type associated to object
 

Protected Member Functions

virtual BoolResult processAttribute (BaseProcessor &processor, const ipUInt32 elementIdx, const core::BaseRequestOrigin &requestOrigin)=0
 initialize processor attribute associate to split operation for a given element index More...
 
- Protected Member Functions inherited from ipsdk::processor::BaseDataSplit
void initBaseSplitted (const ElementsLocationInfo &elementsLocationInfo)
 base class initialization method for splitted elements More...
 
void initBaseUnSplitted (const ElementsLocationInfo &elementsLocationInfo)
 base class initialization method for un splitted elements More...
 
virtual bool checkProcessorType (const processor::BaseProcessor &processor)=0
 check processor type in derived class
 
void throwNullInputSharedPtr ()
 

Detailed Description

Base class for data static split objets used for data dispatch.

Author
E. Noirfalise
Date
2014/2/5

Objects are splitted by unitary elements Number of unitary elements is predefined

Member Function Documentation

◆ initAttribute()

BoolResult ipsdk::processor::BaseStaticSplit::initAttribute ( BaseProcessor processor,
const ipUInt32  elementIdx,
const core::BaseRequestOrigin requestOrigin 
)

initialize processor attribute associate to split operation for a starting element index and a number of elements

Exceptions
ipsdk::processor::IPSDKBaseProcessingExceptionif isSplitted() == true && elementIdx >= getNbElements()
ipsdk::processor::IPSDKBaseProcessingExceptionif processor type is invalid
Returns
false in case of failure

◆ processAttribute()

virtual BoolResult ipsdk::processor::BaseStaticSplit::processAttribute ( BaseProcessor processor,
const ipUInt32  elementIdx,
const core::BaseRequestOrigin requestOrigin 
)
protectedpure virtual

The documentation for this class was generated from the following file: