using namespace std;
using namespace plp;
-Device::Device(string id_param, string type_param) {
+Device::Device(string id_param,
+ string type_param) {
id = id_param;
type = type_param;
lifecycle_status = LIFECYCLE_STATUS__UNAVAILABLE;
+ _cfg = NULL;
}
-Device::Device(std::string id_param, std::string type_param, std::string name_param, plp::EnumDeviceLifeCycleStatus status_param) {
+Device::Device(std::string id_param,
+ string type_param,
+ string name_param,
+ plp::EnumDeviceLifeCycleStatus status_param) {
id = id_param;
type = type_param;
name = name_param;
lifecycle_status = status_param;
+ _cfg = NULL;
}
//Device::~Device() {
-// log_debug("Device: constructor\n");
+// delete(_cfg);
//}
string Device::get_id() {