e2sm_kpm: make e2sm_kpm_report_service classes friend of e2sm_kpm

master
Piotr Gawlowicz 2 years ago committed by Justin Tallon
parent ea8886ced6
commit b6e8f85333

@ -45,15 +45,21 @@ public:
virtual void receive_e2_metrics_callback(const enb_metrics_t& m);
bool _get_meas_definition(std::string meas_name, E2SM_KPM_metric_t& def);
bool _extract_integer_type_meas_value(E2SM_KPM_meas_value_t& meas_value, const enb_metrics_t& enb_metrics);
bool _extract_real_type_meas_value(E2SM_KPM_meas_value_t& meas_value, const enb_metrics_t& enb_metrics);
srslog::basic_logger& logger;
friend class e2sm_kpm_report_service;
friend class e2sm_kpm_report_service_style1;
friend class e2sm_kpm_report_service_style2;
friend class e2sm_kpm_report_service_style3;
friend class e2sm_kpm_report_service_style4;
friend class e2sm_kpm_report_service_style5;
private:
bool _generate_indication_header(e2_sm_kpm_ind_hdr_s& hdr, srsran::unique_byte_buffer_t& buf);
bool _generate_indication_message(e2_sm_kpm_ind_msg_s& msg, srsran::unique_byte_buffer_t& buf);
bool _get_meas_definition(std::string meas_name, E2SM_KPM_metric_t& def);
bool _extract_integer_type_meas_value(E2SM_KPM_meas_value_t& meas_value, const enb_metrics_t& enb_metrics);
bool _extract_real_type_meas_value(E2SM_KPM_meas_value_t& meas_value, const enb_metrics_t& enb_metrics);
srslog::basic_logger& logger;
std::vector<E2SM_KPM_metric_t> supported_meas_types;
std::map<uint32_t, e2sm_kpm_report_service*> registered_actions_data;

Loading…
Cancel
Save