![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Singleton allowing to store local and remote informations about computers into processing pool. More...
#include <ComputerInfoPool.h>
Public Member Functions | |
| bool | isInit () const |
| retrieve object initialization flag | |
| BoolResult | init (const LocalConfiguration &localConfiguration) |
| initialization method for singleton instance | |
| bool | existsRemoteComputerInfo (const Guid &socketGuid) const |
| check whether a given computer information exists into collection More... | |
| RemoteComputerInfoConstPtr | getRemoteComputerInfo (const Guid &socketGuid) const |
| retrieve a given computer information from collection More... | |
| void | retrieveDirectSlaves (GuidSet &guidSet) const |
| retrieve collection of direct slaves More... | |
| void | retrieveAllSlaves (GuidSet &guidSet) const |
| retrieve collection of direct slaves More... | |
| BoolResult | addDirectSlave (const RemoteComputerInfoPtr &pRemoteComputerInfo) |
| retrieve collection of all slaves More... | |
| BoolResult | addIndirectSlave (const RemoteComputerInfoPtr &pRemoteComputerInfo) |
| add a new indirect slave to pool More... | |
| BoolResult | addComputer (const RemoteComputerInfoPtr &pRemoteComputerInfo) |
| add a new computer to pool More... | |
| BoolResult | removeComputer (const Guid &socketGuid) |
| remove a computer information from pool More... | |
| void | clear () |
| clear of object data | |
| const LocalComputerInfo & | getLocalComputerInfoConst () const |
| retrieve local computer informations associated to pool More... | |
| LocalComputerInfo & | getLocalComputerInfo () |
| retrieve local computer informations associated to pool More... | |
Static Public Member Functions | |
| static ComputerInfoPool & | getInstance () |
| retrieve single instance of object | |
Protected Member Functions | |
| void | clearInternal () |
| internal clear of object data | |
Constructors and destructors | |
| ComputerInfoPool () | |
| ~ComputerInfoPool () | |
Protected Attributes | |
| LocalComputerInfo | _localComputerInfo |
| local computer informations associated to pool | |
| RemoteComputerInfoMap | _remoteComputerInfoMap |
| collection of remote computer informations associated to pool | |
| GuidSet | _directSlaves |
| collection of direct slaves guid | |
| GuidSet | _allSlaves |
| bool | _bInit |
| object initialization flag | |
Singleton allowing to store local and remote informations about computers into processing pool.
| const LocalComputerInfo& ipsdk::core::ComputerInfoPool::getLocalComputerInfoConst | ( | ) | const |
retrieve local computer informations associated to pool
| ipsdk::core::IPSDKCoreException | if isInit() == false |
| LocalComputerInfo& ipsdk::core::ComputerInfoPool::getLocalComputerInfo | ( | ) |
retrieve local computer informations associated to pool
| ipsdk::core::IPSDKCoreException | if isInit() == false |
| bool ipsdk::core::ComputerInfoPool::existsRemoteComputerInfo | ( | const Guid & | socketGuid | ) | const |
check whether a given computer information exists into collection
| ipsdk::core::IPSDKCoreException | if isInit() == false |
| RemoteComputerInfoConstPtr ipsdk::core::ComputerInfoPool::getRemoteComputerInfo | ( | const Guid & | socketGuid | ) | const |
retrieve a given computer information from collection
| ipsdk::core::IPSDKCoreException | if isInit() == false |
| void ipsdk::core::ComputerInfoPool::retrieveDirectSlaves | ( | GuidSet & | guidSet | ) | const |
retrieve collection of direct slaves
| ipsdk::core::IPSDKCoreException | if isInit() == false |
| void ipsdk::core::ComputerInfoPool::retrieveAllSlaves | ( | GuidSet & | guidSet | ) | const |
retrieve collection of direct slaves
| ipsdk::core::IPSDKCoreException | if isInit() == false |
| BoolResult ipsdk::core::ComputerInfoPool::addDirectSlave | ( | const RemoteComputerInfoPtr & | pRemoteComputerInfo | ) |
retrieve collection of all slaves
add a new direct slave to pool
| ipsdk::core::IPSDKCoreException | if isInit() == false |
| BoolResult ipsdk::core::ComputerInfoPool::addIndirectSlave | ( | const RemoteComputerInfoPtr & | pRemoteComputerInfo | ) |
add a new indirect slave to pool
| ipsdk::core::IPSDKCoreException | if isInit() == false |
| BoolResult ipsdk::core::ComputerInfoPool::addComputer | ( | const RemoteComputerInfoPtr & | pRemoteComputerInfo | ) |
add a new computer to pool
| ipsdk::core::IPSDKCoreException | if isInit() == false |
| BoolResult ipsdk::core::ComputerInfoPool::removeComputer | ( | const Guid & | socketGuid | ) |
remove a computer information from pool
| ipsdk::core::IPSDKCoreException | if isInit() == false |
1.8.14