15 #ifndef __IPSDKBASEPROCESSING_ELEMENTSSPLITINFO_H__ 16 #define __IPSDKBASEPROCESSING_ELEMENTSSPLITINFO_H__ 21 #pragma warning (push) 22 #pragma warning (disable : 4275 4251) 27 #include <boost/noncopyable.hpp> 69 ipUInt64 getNbMinEltsPerSplit()
const;
74 ipUInt64 getNbMaxEltsPerSplit()
const;
79 ipUInt64 getMinMemSzPerSplit()
const;
84 ipUInt64 getMaxMemSzPerSplit()
const;
89 bool hasPendingData()
const;
95 bool hasRemainingData()
const;
101 bool hasSocketGuid(
const Guid& socketGuid)
const;
107 ipUInt64 getRemainingDataMemorySize()
const;
113 ipUInt64 getRemainingDataMemorySize(
const Guid& socketGuid)
const;
119 ipUInt64 getAcquiredDataMemorySize(
const Guid& socketGuid)
const;
151 void markHasReleased(
const Guid& socketGuid,
162 ipUInt64 getNbProcessedElements()
const;
172 ipUInt64 getNbPendingElements()
const;
189 const Guid& socketGuidProcessor,
244 #pragma warning (pop) 246 #endif // __IPSDKBASEPROCESSING_ELEMENTSSPLITINFO_H__ bool _bInit
flag indicating whether object has been initialized
Definition: ElementsSplitInfo.h:226
Class allowing to encapsulate a typed process result associated to a string description.
Definition: ProcessingResult.h:28
Predefined types for elements informations management.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
#define IPSDKBASEPROCESSING_API
Import/Export macro for library IPSDKBaseProcessing.
Definition: IPSDKBaseProcessingExports.h:27
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
ElementsLocation _pendingElements
collection of pending elements for processing
Definition: ElementsSplitInfo.h:212
RemoteDataSize _acquiredDataSizes
Definition: ElementsSplitInfo.h:220
std::map< ElementsRange, ElementLocationInfo > ElementsLocation
collection associating a elements range to a socket guid set
Definition: ElementsInfoTypes.h:43
ElementsLocation _acquiredElements
Definition: ElementsSplitInfo.h:216
std::map< Guid, ipUInt64 > RemoteDataSize
collection of guid associated to a data size
Definition: ElementsInfoTypes.h:46
ElementsLocation _processedElements
collection of processed elements
Definition: ElementsSplitInfo.h:223
ipUInt64 _minMemSzPerSplit
minimum data size for a split operation
Definition: ElementsSplitInfo.h:203
ipUInt64 _nbMaxEltsPerSplit
maximum number of elements for a split operation
Definition: ElementsSplitInfo.h:200
Class encapsulating an auto initialized uuid.
Definition: Guid.h:27
Predefined types for action provider management.
bool isInit() const
check for object initialization
Definition: ElementsSplitInfo.h:233
ipUInt64 _nbMinEltsPerSplit
minimum number of elements for a split operation
Definition: ElementsSplitInfo.h:197
ipUInt64 _maxMemSzPerSplit
maximum data size for a split operation
Definition: ElementsSplitInfo.h:206
ipUInt64 _remainingDataMemorySize
remaining data memory size associated to not processed elements
Definition: ElementsSplitInfo.h:209
Class allowing to store information about elements range (start offset and number of elements) ...
Definition: ElementsRange.h:27
Definition of import/export macro for library.
Class allowing to store elements split informations.
Definition: ElementsSplitInfo.h:35
Class allowing to store elements location informations.
Definition: ElementsLocationInfo.h:32