![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Class allowing to store elements location informations. More...
#include <ElementsLocationInfo.h>
Public Member Functions | |
| ipUInt64 | getStartOffset () const |
| retrieve start offset associated to object | |
| ipUInt64 | getNbElements () const |
| retrieve number of elements associated to object | |
| ipUInt64 | insertNonLocalized (const ElementsRange &elementsRange, const ipUInt64 dataMemorySize) |
| insertion of a new non localized information into collection More... | |
| ipUInt64 | insertLocal (const ElementsRange &elementsRange, const ipUInt64 dataMemorySize) |
| insertion of a new local information into collection More... | |
| bool | areDataLocalized () const |
| check whether data are localized | |
| bool | hasLocalData () const |
| check whether some data are local data | |
| bool | hasRemoteData () const |
| check whether some data are remote data | |
| bool | hasRemoteData (const Guid &socketGuid) const |
| check whether a remote location contains remote data | |
| const GuidSet & | getRemoteLocations () const |
| retrieve global guid set associated to remote data | |
| ipUInt64 | getFullDataMemorySize () const |
| const ElementsLocation & | getElementsLocation () const |
| retrieve locations associated to elements | |
| ipUInt64 | getMinNbElements () const |
| minimum number of elements by location | |
| ipUInt64 | getMaxNbElements () const |
| maximum number of elements by location | |
| ipUInt64 | merge (const ElementsLocationInfo &elementsLocationInfo) |
| merge a given remote data information object into exiting one More... | |
| void | clearDataLocalization () |
| method allowing to clear data localization | |
| void | clear () |
| clear data associated to object | |
Constructors and destructors | |
| ElementsLocationInfo () | |
| ElementsLocationInfo (const ElementsLocationInfo &elementsLocationInfo) | |
| ElementsLocationInfo & | operator= (const ElementsLocationInfo &elementsLocationInfo) |
| ~ElementsLocationInfo () | |
| ipUInt64 | insertRemote (const ElementsRange &elementsRange, const Guid &guid, const ipUInt64 dataMemorySize) |
| insertion of a new remote information into collection More... | |
| ipUInt64 | insertRemote (const ElementsRange &elementsRange, const GuidSet &guidSet, const ipUInt64 dataMemorySize) |
| insertion of a new remote information into collection More... | |
Access to informations associated to a given element index | |
| bool | contains (const ipUInt64 elementIdx) const |
| check whether a given index is contained by object | |
| bool | contains (const ElementsRange &elementsRange) const |
| check whether a given range is contained by object | |
| const GuidSet & | getDataLocations (const ipUInt64 elementIdx) const |
| retrieve socket guid set associated to a given element index More... | |
| ipUInt64 | getDataMemorySize (const ipUInt64 elementIdx) const |
| retrieve data memory size associated to a given element index (data size is expressed in octets) More... | |
| ipUInt64 | getDataMemorySize (const ElementsRange &elementsRange) const |
| retrieve data memory size associated to a given range (data size is expressed in octets) More... | |
| bool | areDataLocalized (const ipUInt64 elementIdx) const |
| check whether data are localized More... | |
| bool | hasLocalData (const ipUInt64 elementIdx) const |
| check whether some data are local data More... | |
| bool | hasRemoteData (const ipUInt64 elementIdx) const |
| check whether some data are remote data More... | |
Protected Member Functions | |
| ipUInt64 | insertElements (const ElementsRange &elementsRange, const GuidSet &guidSet, const ipUInt64 dataMemorySize, const bool bAllowExtension) |
| insertion of new elements information into collection More... | |
Protected Attributes | |
| ElementsLocation | _elementsLocations |
| ipUInt64 | _startOffset |
| current start offset for data | |
| ipUInt64 | _nbElements |
| number of elements into collection | |
| bool | _bHasLocalData |
| flag indicating whether some data are local data | |
| bool | _bHasRemoteData |
| flag indicating whether some data are remote data | |
| GuidSet | _remoteLocations |
| global guid set associated to remote data locations | |
| ipUInt64 | _fullDataMemorySize |
| full data memory size associated to elements | |
Class allowing to store elements location informations.
| ipUInt64 ipsdk::processor::ElementsLocationInfo::insertNonLocalized | ( | const ElementsRange & | elementsRange, |
| const ipUInt64 | dataMemorySize | ||
| ) |
insertion of a new non localized information into collection
| ipUInt64 ipsdk::processor::ElementsLocationInfo::insertLocal | ( | const ElementsRange & | elementsRange, |
| const ipUInt64 | dataMemorySize | ||
| ) |
insertion of a new local information into collection
| ipUInt64 ipsdk::processor::ElementsLocationInfo::insertRemote | ( | const ElementsRange & | elementsRange, |
| const Guid & | guid, | ||
| const ipUInt64 | dataMemorySize | ||
| ) |
insertion of a new remote information into collection
| ipUInt64 ipsdk::processor::ElementsLocationInfo::insertRemote | ( | const ElementsRange & | elementsRange, |
| const GuidSet & | guidSet, | ||
| const ipUInt64 | dataMemorySize | ||
| ) |
insertion of a new remote information into collection
|
inline |
retrieve full data memory size associated to elements (data size is expressed in octets)
| const GuidSet& ipsdk::processor::ElementsLocationInfo::getDataLocations | ( | const ipUInt64 | elementIdx | ) | const |
retrieve socket guid set associated to a given element index
| ipsdk::IPSDKBaseProcessingException | if contains(elementIdx) == false |
| ipUInt64 ipsdk::processor::ElementsLocationInfo::getDataMemorySize | ( | const ipUInt64 | elementIdx | ) | const |
retrieve data memory size associated to a given element index (data size is expressed in octets)
| ipsdk::IPSDKBaseProcessingException | if contains(elementIdx) == false |
| ipUInt64 ipsdk::processor::ElementsLocationInfo::getDataMemorySize | ( | const ElementsRange & | elementsRange | ) | const |
retrieve data memory size associated to a given range (data size is expressed in octets)
| ipsdk::IPSDKBaseProcessingException | if contains(elementsRange) == false |
| bool ipsdk::processor::ElementsLocationInfo::areDataLocalized | ( | const ipUInt64 | elementIdx | ) | const |
check whether data are localized
| ipsdk::IPSDKBaseProcessingException | if contains(elementIdx) == false |
| bool ipsdk::processor::ElementsLocationInfo::hasLocalData | ( | const ipUInt64 | elementIdx | ) | const |
check whether some data are local data
| ipsdk::IPSDKBaseProcessingException | if contains(elementIdx) == false |
| bool ipsdk::processor::ElementsLocationInfo::hasRemoteData | ( | const ipUInt64 | elementIdx | ) | const |
check whether some data are remote data
| ipsdk::IPSDKBaseProcessingException | if contains(elementIdx) == false |
| ipUInt64 ipsdk::processor::ElementsLocationInfo::merge | ( | const ElementsLocationInfo & | elementsLocationInfo | ) |
merge a given remote data information object into exiting one
|
protected |
insertion of new elements information into collection
|
protected |
map associating data range to their locations represented by a socket guid set
1.8.14