X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fmessaging%2Fmessenger.hpp;h=82d8a499b2819d92ee415b6e113865ce402407bd;hb=ef3620529c936a8790d6970c57198b4caee09c0d;hp=173426c72076c2504122aec268b4a1afc44368b1;hpb=6ef23e1d7f7f47ccab5be6ff1b68e5cfdda80ad2;p=ric-plt%2Fxapp-frame-cpp.git diff --git a/src/messaging/messenger.hpp b/src/messaging/messenger.hpp index 173426c..82d8a49 100644 --- a/src/messaging/messenger.hpp +++ b/src/messaging/messenger.hpp @@ -41,6 +41,7 @@ #include "message.hpp" #include "alarm.hpp" +#include "metrics.hpp" #ifndef RMR_FALSE #define RMR_FALSE 0 @@ -82,6 +83,10 @@ class Messenger { std::unique_ptr Alloc_alarm( std::string meid ); std::unique_ptr Alloc_alarm( int prob_id, std::string meid ); + std::unique_ptr Alloc_metrics( ); // metrics allocation + std::unique_ptr Alloc_metrics( std::string source ); + std::unique_ptr Alloc_metrics( std::string reporter, std::string source ); + void Listen( ); // lisen driver std::unique_ptr Receive( int timeout ); // receive 1 message void Stop( ); // force to stop