TOBI SignalServer
0.1
|
A factory for HWThreads. More...
#include <hw_thread_factory.h>
Public Member Functions | |
~HWThreadFactory () | |
deletes all prototypes | |
void | registerBuilder (std::string const &key, HWThreadBuilder *builder) |
takes ownership of the HWThreadBuilder pointer (it will be destroyed if the factory is destroyed) | |
HWThread * | createHWThread (std::string const &key, boost::asio::io_service &io, ticpp::Iterator< ticpp::Element > hw) |
std::vector< std::string > | getPossibleHardwareNames () |
Get the names to build the respective hardware objects. | |
Static Public Member Functions | |
static HWThreadFactory & | instance () |
Private Member Functions | |
HWThreadFactory (HWThreadFactory const &src) | |
HWThreadFactory & | operator= (HWThreadFactory const &src) |
Private Attributes | |
std::map< std::string, HWThreadBuilder * > | builders_ |
A factory for HWThreads.
Definition at line 61 of file hw_thread_factory.h.