From 94f2c034aa2f5027ae6d4f301e9543da93b770da Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Thu, 2 Aug 2018 23:02:48 -0700 Subject: [PATCH] core: Add TracedCallback signature for Time --- src/core/model/nstime.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/core/model/nstime.h b/src/core/model/nstime.h index 2abe0b67a..5e83b66f7 100644 --- a/src/core/model/nstime.h +++ b/src/core/model/nstime.h @@ -545,6 +545,13 @@ public: */ TimeWithUnit As (const enum Unit unit) const; + /** + * TracedCallback signature for Time + * + * \param [in] value Current value of Time + */ + typedef void (* TracedCallback)(Time value); + private: /** How to convert between other units and the current unit. */ struct Information