src/core/model/nstime.h
changeset 10978 754c8256c35c
parent 10857 a1e09c7953a1
child 11036 1e03af4311bd
equal deleted inserted replaced
10977:f35701d8a0a0 10978:754c8256c35c
   494    * \param unit [in] The unit to use.
   494    * \param unit [in] The unit to use.
   495    * \return The Time with embedded unit.
   495    * \return The Time with embedded unit.
   496    */
   496    */
   497   TimeWithUnit As (const enum Unit unit) const;
   497   TimeWithUnit As (const enum Unit unit) const;
   498 
   498 
       
   499   /**
       
   500    * TracedValue callback signature for Time
       
   501    *
       
   502    * \param [in] oldValue original value of the traced variable
       
   503    * \param [in] newValue new value of the traced variable
       
   504    */
       
   505   typedef void (* TracedValueCallback)(const Time oldValue,
       
   506                                        const Time newValue);
       
   507   
   499 private:
   508 private:
   500   /** How to convert between other units and the current unit. */
   509   /** How to convert between other units and the current unit. */
   501   struct Information
   510   struct Information
   502   {
   511   {
   503     bool toMul;                     //!< Multiply when converting To, otherwise divide
   512     bool toMul;                     //!< Multiply when converting To, otherwise divide