IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
ThreadManagerTypes.h
Go to the documentation of this file.
1 // ThreadManagerTypes.h:
3 // ---------------------
4 //
14 
15 #ifndef __IPSDKCORE_THREADMANAGERTYPES_H__
16 #define __IPSDKCORE_THREADMANAGERTYPES_H__
17 
18 #include <IPSDKUtil/BaseTypes.h>
19 #include <IPSDKUtil/Tools/Guid.h>
23 #include <boost/shared_ptr.hpp>
24 #include <boost/thread/thread.hpp>
25 #include <map>
26 #include <list>
27 
28 namespace ipsdk {
29 namespace core {
30 
32 
35 
37 typedef boost::shared_ptr<boost::thread> ThreadPtr;
38 
40 typedef std::map<ipUInt32, ThreadPtr> ThreadColl;
41 
43 typedef std::map<Guid, ActionProviderPtr> ProviderMap;
44 
46 typedef std::list<ActionProviderPtr> ProviderList;
47 
49 typedef std::map<ePriority, ProviderList> ProviderPriorityColl;
50 
52 typedef std::list<ActionRequestPtr> ActionColl;
53 
55 typedef boost::shared_ptr<ProviderManager> ProviderManagerPtr;
56 
59 
60 } // end of namespace core
61 } // end of namespace ipsdk
62 
63 #endif // __IPSDKCORE_THREADMANAGERTYPES_H__
std::map< ipUInt32, ThreadPtr > ThreadColl
collection of indexed threads
Definition: ThreadManagerTypes.h:40
std::list< ActionRequestPtr > ActionColl
collection of action requests
Definition: ThreadManagerTypes.h:52
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
boost::shared_ptr< ProviderManager > ProviderManagerPtr
shared pointer to provider manager
Definition: ThreadManagerTypes.h:55
std::map< ePriority, ProviderList > ProviderPriorityColl
collection of execution providers ordered by priority
Definition: ThreadManagerTypes.h:49
Base types for multiplatform compatibility.
Predefined types for action provider management.
std::map< Guid, ActionProviderPtr > ProviderMap
collection of providers ordered by guid
Definition: ThreadManagerTypes.h:43
boost::shared_ptr< boost::thread > ThreadPtr
shared pointer to thread
Definition: ThreadManagerTypes.h:31
Predefined types for action resquests management.
Class allowing to manager providers execution with respect to their priority.
Definition: ProviderManager.h:37
std::list< ActionProviderPtr > ProviderList
collection of execution providers
Definition: ThreadManagerTypes.h:46
Predefined types for priorities management.