PaCO++
0.05
|
#include <FabriqueManager.h>
Public Member Functions | |
paco_fabrique_com * | get_com (const ::std::string &fabname) |
paco_fabrique_comScheduling * | get_comScheduling (const ::std::string &fabname) |
paco_fabrique_distribution * | get_distribution (const ::std::string &fabname) |
paco_fabrique_thread * | get_thread (const ::std::string &fabname) |
paco_fabrique_manager () | |
void | register_com (const ::std::string &fabname, paco_fabrique_com *pf) |
void | register_comScheduling (const ::std::string &fabname, paco_fabrique_comScheduling *pf) |
void | register_distribution (const ::std::string &fabname, paco_fabrique_distribution *pf) |
void | register_thread (const ::std::string &fabname, paco_fabrique_thread *pf) |
~paco_fabrique_manager () | |
Private Attributes | |
paco_fabrique_manager_com * | pfcom |
paco_fabrique_manager_comScheduling * | pfcomScheduling |
paco_fabrique_manager_distribution * | pfdistribution |
paco_fabrique_manager_thread * | pfthread |
Definition at line 14 of file FabriqueManager.h.
Definition at line 4 of file FabriqueManager.cc.
References pfcom, pfcomScheduling, pfdistribution, and pfthread.
{ pfthread = new paco_fabrique_manager_thread(); pfcom = new paco_fabrique_manager_com(); pfdistribution = new paco_fabrique_manager_distribution(); pfcomScheduling = new paco_fabrique_manager_comScheduling(); }
Definition at line 12 of file FabriqueManager.cc.
References pfcom, pfcomScheduling, pfdistribution, and pfthread.
{ delete pfcomScheduling; delete pfdistribution; delete pfcom; delete pfthread; }
paco_fabrique_com * paco_fabrique_manager::get_com | ( | const ::std::string & | fabname | ) |
Definition at line 41 of file FabriqueManager.cc.
References paco_fabrique_manager_tpl< T >::paco_get(), and pfcom.
Referenced by PaCO_operation::setLibCom().
paco_fabrique_comScheduling * paco_fabrique_manager::get_comScheduling | ( | const ::std::string & | fabname | ) |
Definition at line 67 of file FabriqueManager.cc.
References paco_fabrique_manager_tpl< T >::paco_get(), and pfcomScheduling.
Referenced by PaCO_operation::setLibComScheduling().
{ return pfcomScheduling->paco_get(fabname); }
paco_fabrique_distribution * paco_fabrique_manager::get_distribution | ( | const ::std::string & | fabname | ) |
Definition at line 54 of file FabriqueManager.cc.
References paco_fabrique_manager_tpl< T >::paco_get(), and pfdistribution.
{ return pfdistribution->paco_get(fabname); }
paco_fabrique_thread * paco_fabrique_manager::get_thread | ( | const ::std::string & | fabname | ) |
Definition at line 28 of file FabriqueManager.cc.
References paco_fabrique_manager_tpl< T >::paco_get(), and pfthread.
Referenced by PaCO_operation::setLibThread().
void paco_fabrique_manager::register_com | ( | const ::std::string & | fabname, |
paco_fabrique_com * | pf | ||
) |
Definition at line 36 of file FabriqueManager.cc.
References paco_fabrique_manager_tpl< T >::paco_register(), and pfcom.
{ pfcom->paco_register(fabname, pf); }
void paco_fabrique_manager::register_comScheduling | ( | const ::std::string & | fabname, |
paco_fabrique_comScheduling * | pf | ||
) |
Definition at line 62 of file FabriqueManager.cc.
References paco_fabrique_manager_tpl< T >::paco_register(), and pfcomScheduling.
{ pfcomScheduling->paco_register(fabname, pf); }
void paco_fabrique_manager::register_distribution | ( | const ::std::string & | fabname, |
paco_fabrique_distribution * | pf | ||
) |
Definition at line 49 of file FabriqueManager.cc.
References paco_fabrique_manager_tpl< T >::paco_register(), and pfdistribution.
{ pfdistribution->paco_register(fabname, pf); }
void paco_fabrique_manager::register_thread | ( | const ::std::string & | fabname, |
paco_fabrique_thread * | pf | ||
) |
Definition at line 23 of file FabriqueManager.cc.
References paco_fabrique_manager_tpl< T >::paco_register(), and pfthread.
{ pfthread->paco_register(fabname, pf); }
Definition at line 18 of file FabriqueManager.h.
Referenced by get_com(), paco_fabrique_manager(), register_com(), and ~paco_fabrique_manager().
Definition at line 20 of file FabriqueManager.h.
Referenced by get_comScheduling(), paco_fabrique_manager(), register_comScheduling(), and ~paco_fabrique_manager().
Definition at line 19 of file FabriqueManager.h.
Referenced by get_distribution(), paco_fabrique_manager(), register_distribution(), and ~paco_fabrique_manager().
Definition at line 17 of file FabriqueManager.h.
Referenced by get_thread(), paco_fabrique_manager(), register_thread(), and ~paco_fabrique_manager().