PaCO++  0.05
FabriqueManager.h
Go to the documentation of this file.
1 #ifndef PACO_FABRIQUE_MANAGER_IS_DEFINED
2 #define PACO_FABRIQUE_MANAGER_IS_DEFINED
3 
4 #include "thread/paco_thread.h"
5 #include "com/paco_com.h"
8 
9 #include <string>
10 #include <map>
11 #include <vector>
12 
13 // Concrete fabrique class
15 {
16  private:
21 
22  public:
25 
26  // Thread
27  void register_thread(const ::std::string& fabname, paco_fabrique_thread* pf);
28  paco_fabrique_thread* get_thread(const ::std::string& fabname);
29 
30  // Com
31  void register_com(const ::std::string& fabname, paco_fabrique_com* pf);
32  paco_fabrique_com* get_com(const ::std::string& fabname);
33 
34  // Distribution
35  void register_distribution(const ::std::string& fabname, paco_fabrique_distribution* pf);
36  paco_fabrique_distribution* get_distribution(const ::std::string& fabname);
37 
38  // Com
39  void register_comScheduling(const ::std::string& fabname, paco_fabrique_comScheduling* pf);
40  paco_fabrique_comScheduling* get_comScheduling(const ::std::string& fabname);
41 
42 };
43 
44 #endif
paco_fabrique_manager_comScheduling * pfcomScheduling
void register_comScheduling(const ::std::string &fabname, paco_fabrique_comScheduling *pf)
paco_fabrique_manager_distribution * pfdistribution
paco_fabrique_comScheduling * get_comScheduling(const ::std::string &fabname)
paco_fabrique_manager_com * pfcom
paco_fabrique_distribution * get_distribution(const ::std::string &fabname)
void register_thread(const ::std::string &fabname, paco_fabrique_thread *pf)
void register_distribution(const ::std::string &fabname, paco_fabrique_distribution *pf)
paco_fabrique_manager_thread * pfthread
void register_com(const ::std::string &fabname, paco_fabrique_com *pf)
paco_fabrique_thread * get_thread(const ::std::string &fabname)
paco_fabrique_com * get_com(const ::std::string &fabname)