diff options
author | Steve Huston <shuston@riverace.com> | 2010-06-17 22:07:42 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2010-06-17 22:07:42 +0000 |
commit | 882705374380bcde34bb554451d09d913a2f75f3 (patch) | |
tree | 7d73b4e4278f2873000003997c9945e5ce035894 /ACE/ace/Time_Value.h | |
parent | 7199c1212eaeb68644e7abc8b072acaf49286b14 (diff) | |
download | ATCD-882705374380bcde34bb554451d09d913a2f75f3.tar.gz |
ChangeLogTag:Thu Jun 17 21:59:34 UTC 2010 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ACE/ace/Time_Value.h')
-rw-r--r-- | ACE/ace/Time_Value.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ACE/ace/Time_Value.h b/ACE/ace/Time_Value.h index 5943094ef75..75bb998f598 100644 --- a/ACE/ace/Time_Value.h +++ b/ACE/ace/Time_Value.h @@ -129,11 +129,24 @@ public: /// Converts from ACE_Time_Value format into milliseconds format. /** * @return Sum of second field (in milliseconds) and microsecond field + * (in milliseconds). + * + * @note The semantics of this method differs from the sec() and + * usec() methods. There is no analogous "millisecond" + * component in an ACE_Time_Value. + */ + ACE_UINT64 get_msec () const; + + /// Converts from ACE_Time_Value format into milliseconds format. + /** + * @return Sum of second field (in milliseconds) and microsecond field * (in milliseconds) and return them via the @param ms parameter. * * @note The semantics of this method differs from the sec() and * usec() methods. There is no analogous "millisecond" * component in an ACE_Time_Value. + * + * @deprecated Use get_msec() instead. */ void msec (ACE_UINT64 &ms) const; @@ -145,6 +158,8 @@ public: * @note The semantics of this method differs from the sec() and * usec() methods. There is no analogous "millisecond" * component in an ACE_Time_Value. + * + * @deprecated Use get_msec() instead. */ void msec (ACE_UINT64 &ms) /* const */; @@ -154,6 +169,14 @@ public: * usec() methods. There is no analogous "millisecond" * component in an ACE_Time_Value. */ + void set_msec (const ACE_UINT64 &ms); + + /// Converts from milli-seconds format into ACE_Time_Value format. + /** + * @note The semantics of this method differs from the sec() and + * usec() methods. There is no analogous "millisecond" + * component in an ACE_Time_Value. + */ void msec (long); /// Converts from milli-seconds format into ACE_Time_Value format. |