IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
LocalConfigurationUtils.h
1 // LocalConfigurationUtils.h:
3 // --------------------------
4 //
14 
15 #ifndef __IPSDKCORE_LOCALCONFIGURATIONUTILS_H__
16 #define __IPSDKCORE_LOCALCONFIGURATIONUTILS_H__
17 
19 #include <IPSDKUtil/BaseTypes.h>
20 #include <IPSDKCore/Config/Local/LocalConfigurationTypes.h>
23 
24 namespace ipsdk {
25 namespace core {
26 
27 class LocalProcessingPolicy;
28 class DistributedProcessingPolicy;
29 
32 
34 IPSDKCORE_API const LocalProcessingPolicy&
36 
38 IPSDKCORE_API LocalProcessingPolicy&
40 
44 
47 saveLocalProcessingPolicy(const boost::filesystem::path& dirPath);
48 
50 IPSDKCORE_API const DistributedProcessingPolicy&
52 
57 
62 
67 
69 IPSDKCORE_API const boost::filesystem::path&
71 
73 IPSDKCORE_API void
74 setNbMaxThreads(const ipUInt32 nbMaxThreads);
75 
77 IPSDKCORE_API void
78 setMaxMemSzPerThread(const ipUInt64 maxMemSzPerThread);
79 
81 IPSDKCORE_API void
82 setMinMemSzPerThread(const ipUInt64 minMemSzPerThread);
83 
87 IPSDKCORE_API void
88 setAllocatedDiskImagePath(const boost::filesystem::path& dirPath);
89 
94 
99 
104 
109 
113 
124 
134 
137 
138 } // end of namespace core
139 
142 
143 } // end of namespace ipsdk
144 
145 #endif // __IPSDKCORE_LOCALCONFIGURATIONUTILS_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
IPSDKCORE_API ipUInt64 getMaxMemSzForDistributedProcessing()
retrieve maximum memory size for processed data on a given remote computer
eLocalProcessorType
Definition: LocalConfigurationTypes.h:32
IPSDKCORE_API const DistributedProcessingPolicy & getDistributedProcessingPolicy()
retrieve used distributed processing policy
IPSDK_DECLARE_SERIAL_ENUM(IPSDKBaseData, eDiscreteOrientation2d)
serialization operators for eDiscreteOrientation2d enumerate
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
IPSDKCORE_API ipUInt64 getMaxMemSzPerThread()
retrieve maximum physical memory (RAM) used by each thread on local computer
IPSDKCORE_API void setNbMaxThreads(const ipUInt32 nbMaxThreads)
modify the maximum number of usable thread for processings on local computer
IPSDKCORE_API ipUInt64 getMaxMemSzForRemoteStripRequest()
retrieve maximum used physical memory (RAM) for remote strip memory storage request ...
IPSDKCORE_API ipUInt64 getMaxMemSzForAllLocalDistributedStrip()
retrieve maximum used physical memory (RAM) for sum of all locally stored distributed strip ...
IPSDKCORE_API const LocalProcessingPolicy & getLocalProcessingPolicyConst()
retrieve used local processing policy
IPSDKCORE_API LocalProcessingPolicy & getLocalProcessingPolicy()
retrieve used local processing policy
Definition of import/export macro for library.
IPSDKCORE_API void setAllocatedDiskImagePath(const boost::filesystem::path &dirPath)
modify the path to the directory where the automatically disk images are created
Macro allowing to declare serialization for a given enumerate.
#define IPSDKCORE_API
Import/Export macro for library IPSDKCore.
Definition: IPSDKCoreExports.h:27
Base types for multiplatform compatibility.
IPSDKCORE_API void setMinMemSzPerThread(const ipUInt64 minMemSzPerThread)
modify the minimum physical memory (RAM) used by each thread on local computer
IPSDKCORE_API const boost::filesystem::path & getAllocatedDiskImagePath()
return the path to the directory where the automatically disk images are created
IPSDKCORE_API ipUInt64 getDistributedAllocationFailureTimeout()
retrieve time out (in microseconds) used to determine a failure into waiting loop used for distribute...
IPSDKCORE_API ipUInt32 getNbMaxThreads()
retrieve maximum number of usable thread for processings on local computer
IPSDKCORE_API ipUInt64 getDistributedProcessingMemThreshold()
retrieve threshold used to trigger a distributed processing of data
IPSDKCORE_API ipUInt64 getDistributedAllocationWakeUpTimeout()
retrieve time out (in microseconds) used to wake up waiting loop during distributed image allocation...
Predefined types for processing results management.
IPSDKCORE_API void setMaxMemSzPerThread(const ipUInt64 maxMemSzPerThread)
modify the maximum physical memory (RAM) used by each thread on local computer
IPSDKCORE_API ipUInt64 getMinMemSzPerThread()
retrieve minimum physical memory (RAM) used by each thread on local computer
IPSDKCORE_API ipsdk::BoolResult saveLocalProcessingPolicy()
save the local processing policy
IPSDKCORE_API ipUInt64 getConnectionsInitializationTimeOut()
retrieve library time out for network connections initialization
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53