e2sm_kpm: refactor function name

master
Piotr Gawlowicz 2 years ago committed by Justin Tallon
parent ad63115f31
commit 68bfba5273

@ -34,7 +34,7 @@ public:
virtual bool _initialize_ric_ind_hdr(); virtual bool _initialize_ric_ind_hdr();
virtual bool _initialize_ric_ind_msg() = 0; virtual bool _initialize_ric_ind_msg() = 0;
virtual bool collect_meas_data() = 0; virtual bool _collect_meas_data() = 0;
virtual bool is_ric_ind_ready() = 0; virtual bool is_ric_ind_ready() = 0;
virtual bool clear_collected_data() = 0; virtual bool clear_collected_data() = 0;
@ -78,7 +78,7 @@ public:
static bool process_ric_action_definition(e2sm_kpm* e2sm_kpm, e2_sm_kpm_action_definition_s& action_definition); static bool process_ric_action_definition(e2sm_kpm* e2sm_kpm, e2_sm_kpm_action_definition_s& action_definition);
virtual bool _initialize_ric_ind_msg(); virtual bool _initialize_ric_ind_msg();
virtual bool collect_meas_data(); virtual bool _collect_meas_data();
virtual bool is_ric_ind_ready(); virtual bool is_ric_ind_ready();
virtual bool clear_collected_data(); virtual bool clear_collected_data();
@ -101,7 +101,7 @@ public:
static bool process_ric_action_definition(e2sm_kpm* e2sm_kpm, e2_sm_kpm_action_definition_s& action_definition); static bool process_ric_action_definition(e2sm_kpm* e2sm_kpm, e2_sm_kpm_action_definition_s& action_definition);
virtual bool _initialize_ric_ind_msg(); virtual bool _initialize_ric_ind_msg();
virtual bool collect_meas_data(); virtual bool _collect_meas_data();
virtual bool is_ric_ind_ready(); virtual bool is_ric_ind_ready();
virtual bool clear_collected_data(); virtual bool clear_collected_data();
@ -121,7 +121,7 @@ public:
static bool process_ric_action_definition(e2sm_kpm* e2sm_kpm, e2_sm_kpm_action_definition_s& action_definition); static bool process_ric_action_definition(e2sm_kpm* e2sm_kpm, e2_sm_kpm_action_definition_s& action_definition);
virtual bool _initialize_ric_ind_msg(); virtual bool _initialize_ric_ind_msg();
virtual bool collect_meas_data(); virtual bool _collect_meas_data();
virtual bool is_ric_ind_ready(); virtual bool is_ric_ind_ready();
virtual bool clear_collected_data(); virtual bool clear_collected_data();
@ -141,7 +141,7 @@ public:
static bool process_ric_action_definition(e2sm_kpm* e2sm_kpm, e2_sm_kpm_action_definition_s& action_definition); static bool process_ric_action_definition(e2sm_kpm* e2sm_kpm, e2_sm_kpm_action_definition_s& action_definition);
virtual bool _initialize_ric_ind_msg(); virtual bool _initialize_ric_ind_msg();
virtual bool collect_meas_data(); virtual bool _collect_meas_data();
virtual bool is_ric_ind_ready(); virtual bool is_ric_ind_ready();
virtual bool clear_collected_data(); virtual bool clear_collected_data();
@ -161,7 +161,7 @@ public:
static bool process_ric_action_definition(e2sm_kpm* e2sm_kpm, e2_sm_kpm_action_definition_s& action_definition); static bool process_ric_action_definition(e2sm_kpm* e2sm_kpm, e2_sm_kpm_action_definition_s& action_definition);
virtual bool _initialize_ric_ind_msg(); virtual bool _initialize_ric_ind_msg();
virtual bool collect_meas_data(); virtual bool _collect_meas_data();
virtual bool is_ric_ind_ready(); virtual bool is_ric_ind_ready();
virtual bool clear_collected_data(); virtual bool clear_collected_data();

@ -90,7 +90,7 @@ bool e2sm_kpm_report_service::_start_meas_collection()
if (granul_period) { if (granul_period) {
printf("Start collecting measurements every %i ms\n", granul_period); printf("Start collecting measurements every %i ms\n", granul_period);
parent->logger.debug("Start collecting measurements every every %i ms", granul_period); parent->logger.debug("Start collecting measurements every every %i ms", granul_period);
meas_collection_timer.set(granul_period, [this](uint32_t tid) { this->collect_meas_data(); }); meas_collection_timer.set(granul_period, [this](uint32_t tid) { this->_collect_meas_data(); });
meas_collection_timer.run(); meas_collection_timer.run();
return true; return true;
} }
@ -344,7 +344,7 @@ meas_data_item_s& e2sm_kpm_report_service_style1::_get_meas_data_item(std::strin
return ric_ind_message.meas_data[0]; return ric_ind_message.meas_data[0];
} }
bool e2sm_kpm_report_service_style1::collect_meas_data() bool e2sm_kpm_report_service_style1::_collect_meas_data()
{ {
meas_info_list_l& meas_info_list = ric_ind_message.meas_info_list; meas_info_list_l& meas_info_list = ric_ind_message.meas_info_list;
for (uint32_t i = 0; i < meas_info_list.size(); i++) { for (uint32_t i = 0; i < meas_info_list.size(); i++) {
@ -444,7 +444,7 @@ bool e2sm_kpm_report_service_style2::process_ric_action_definition(e2sm_kpm*
return false; return false;
} }
bool e2sm_kpm_report_service_style2::collect_meas_data() bool e2sm_kpm_report_service_style2::_collect_meas_data()
{ {
// TODO: implement // TODO: implement
return false; return false;
@ -487,7 +487,7 @@ bool e2sm_kpm_report_service_style3::process_ric_action_definition(e2sm_kpm*
return false; return false;
} }
bool e2sm_kpm_report_service_style3::collect_meas_data() bool e2sm_kpm_report_service_style3::_collect_meas_data()
{ {
// TODO: implement // TODO: implement
return false; return false;
@ -530,7 +530,7 @@ bool e2sm_kpm_report_service_style4::process_ric_action_definition(e2sm_kpm*
return false; return false;
} }
bool e2sm_kpm_report_service_style4::collect_meas_data() bool e2sm_kpm_report_service_style4::_collect_meas_data()
{ {
// TODO: implement // TODO: implement
return false; return false;
@ -573,7 +573,7 @@ bool e2sm_kpm_report_service_style5::process_ric_action_definition(e2sm_kpm*
return false; return false;
} }
bool e2sm_kpm_report_service_style5::collect_meas_data() bool e2sm_kpm_report_service_style5::_collect_meas_data()
{ {
// TODO: implement // TODO: implement
return false; return false;

Loading…
Cancel
Save