/* * GenericDevice.hh * * Created on: Feb 28, 2011 * Author: lamikr */ #ifndef DEVICETYPEGENERIC_HH_ #define DEVICETYPEGENERIC_HH_ #include #include "DataReader.hh" namespace plp { enum EnumDeviceLifeCycleStatus {LIFECYCLE_STATUS__UNAVAILABLE, LIFECYCLE_STATUS__AVAILABLE}; class Device { public: virtual std::string get_id() = 0; virtual std::string get_name() = 0; virtual void set_name(std::string name_param) = 0; virtual std::string get_device_type() = 0; virtual plp::DataReader *get_device_data() = 0; virtual EnumDeviceLifeCycleStatus get_lifecycle_state() = 0; virtual void printout() = 0; }; } #endif /* DEVICETYPEGENERIC_HH_ */