From 7cfeebd964540d4100242c8a74bd2f0ca2d8c5ef Mon Sep 17 00:00:00 2001 From: Simina Popandron Date: Fri, 24 Nov 2023 22:51:52 +0200 Subject: [PATCH] Update unsigned log to uinterval_t --- src/fico4omnet/utilities/ResultFilters.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/fico4omnet/utilities/ResultFilters.cc b/src/fico4omnet/utilities/ResultFilters.cc index 370af13..3c851c8 100644 --- a/src/fico4omnet/utilities/ResultFilters.cc +++ b/src/fico4omnet/utilities/ResultFilters.cc @@ -1,9 +1,9 @@ #include "fico4omnet/utilities/ResultFilters.h" - + //Auto-generated messages #include "fico4omnet/linklayer/can/messages/CanDataFrame_m.h" #include "fico4omnet/linklayer/can/messages/ErrorFrame_m.h" -#include "fico4omnet/linklayer/flexray/messages/FRFrame_m.h" +#include "fico4omnet/linklayer/flexray/messages/FRFrame_m.h" namespace FiCo4OMNeT { @@ -29,22 +29,22 @@ void IDFilter::receiveSignal(cResultFilter *prev, simtime_t_cref t, (void)prev; #ifdef WITH_CAN_COMMON if (CanDataFrame* dataFrame = dynamic_cast(object)) { - fire(this, t, static_cast (dataFrame->getCanID()), details); + fire(this, t, static_cast (dataFrame->getCanID()), details); return; } if (ErrorFrame* errorFrame = dynamic_cast(object)) { - fire(this, t, static_cast (errorFrame->getCanID()), details); + fire(this, t, static_cast (errorFrame->getCanID()), details); return; } if (ErrorFrame* errorFrame = dynamic_cast(object)) { - fire(this, t, static_cast (errorFrame->getCanID()), details); + fire(this, t, static_cast (errorFrame->getCanID()), details); return; } #endif #ifdef WITH_FR_COMMON if (FRFrame* frFrame = dynamic_cast(object)) { - fire(this, t, static_cast (frFrame->getFrameID()), details); + fire(this, t, static_cast (frFrame->getFrameID()), details); return; } #endif @@ -81,7 +81,7 @@ bool LowHighRatioFilter::process(simtime_t& t, double& value, __attribute__((unu } return true; } - + Register_ResultFilter("rmNaN", RmNaNFilter); RmNaNFilter::RmNaNFilter() @@ -103,8 +103,8 @@ void RmNaNFilter::finish(cResultFilter * prev) { (void)prev; if(!this->hadValues){ - fire(this, simTime(), static_cast (0), nullptr); - } + fire(this, simTime(), static_cast (0), nullptr); + } } }