4 * Created on: Mar 4, 2011
12 #include "DeviceConfig.hh"
17 enum EnumDeviceLifeCycleStatus {LIFECYCLE_STATUS__UNAVAILABLE, LIFECYCLE_STATUS__AVAILABLE};
21 Device(string id_param, string type_param);
22 Device(string id_param,
25 EnumDeviceLifeCycleStatus status_param);
26 virtual ~Device() { delete(_cfg); }
28 std::string get_name();
29 std::string get_type();
30 plp::EnumDeviceLifeCycleStatus get_lifecycle_state();
31 void set_name(std::string name_param);
32 virtual void printout() = 0;
37 plp::DeviceConfig *_cfg;
38 plp::EnumDeviceLifeCycleStatus lifecycle_status;
42 #endif /* DEVICEINFO_HH_ */