From 653874b1d03f0296e55736b1f843c01e0688013a Mon Sep 17 00:00:00 2001 From: Owen Green Date: Mon, 11 Mar 2019 18:52:22 +0000 Subject: [PATCH] Change reply for latency u_cmd include/FluidSCWrapper.hpp --- include/FluidSCWrapper.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/FluidSCWrapper.hpp b/include/FluidSCWrapper.hpp index 5d7f9a3..a0e2705 100644 --- a/include/FluidSCWrapper.hpp +++ b/include/FluidSCWrapper.hpp @@ -161,7 +161,11 @@ public: { float l[] {static_cast(static_cast(unit)->mClient.latency())}; auto ft = Wrapper::getInterfaceTable(); - ft->fSendNodeReply(&unit->mParent->mNode,-1,Wrapper::getName(), 1, l); + + std::stringstream ss; + ss << '/' << Wrapper::getName() << "_latency"; + std::cout << ss.str() << '\n'; + ft->fSendNodeReply(&unit->mParent->mNode,-1,ss.str().c_str() , 1, l); } RealTime():