/* * Factory.hh * * Created on: Dec 11, 2010 * Author: lamikr */ #ifndef FACTORY_HH_ #define FACTORY_HH_ #include #include #include "DeviceConfig.hh" #include "W1Device.hh" namespace w1 { class Factory { public: Factory(); virtual ~Factory(); static W1Device *get_device(int family_code, std::string device_id, dirent *direntry_param); static DeviceConfig *get_device_config(std::string device_id); }; } #endif /* FACTORY_HH_ */