X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fo1%2Fves%2FVesEventHandler.cpp;h=bf52f1d50076ff5b6d97697416ea94ad18a9e682;hb=HEAD;hp=18e45a75d1c9bc948cc9d2d307235e6fe41ecf19;hpb=0bb62f25ad9d8f9ff8724572f96e51a898937f0c;p=o-du%2Fl2.git diff --git a/src/o1/ves/VesEventHandler.cpp b/src/o1/ves/VesEventHandler.cpp index 18e45a75d..bf52f1d50 100644 --- a/src/o1/ves/VesEventHandler.cpp +++ b/src/o1/ves/VesEventHandler.cpp @@ -26,6 +26,7 @@ #include "Message.hpp" #include "CellStateChange.hpp" #include "CellStateChangeStdDef.hpp" +#include "SliceMeasurementEventStdDef.hpp" /******************************************************************* * @@ -97,8 +98,13 @@ bool VesEventHandler::prepare(VesEventType evtType, const Message* msg) } case VesEventType::PM_SLICE: { + #ifdef StdDef + mVesEvent = new SliceMeasurementEventStdDef; + O1_LOG("\nO1 VesEventHandler : Preparing Standard VES PM Slice"); + #else mVesEvent = new SliceMeasurementEvent; O1_LOG("\nO1 VesEventHandler : Preparing VES PM Slice"); + #endif break; } case VesEventType::FAULT_NOTIFICATION: