Microseconds Class Reference Math Library

#include <timevalue.h>

Inheritance diagram for Microseconds:

详细描述

Timer value in microseconds.

公共成员函数

  Microseconds ( Float64 microseconds)
MAXON_IMPLICIT   Microseconds (const TimeValue & src )
-  Public Member Functions inherited from TimeValue
  TimeValue ()
  TimeValue ( CurrentTime )
  TimeValue ( ENUM_DONT_INITIALIZE v)
  TimeValue (const TimeValue & src )
  TimeValue ( Int frame, Float64 frameRate)
TimeValue operator= (const TimeValue & src )
Bool   operator== (const TimeValue &b) const
Bool   operator< (const TimeValue &b) const
TimeValue   operator+ (const TimeValue &b) const
TimeValue operator+= (const TimeValue &b)
TimeValue   operator- (const TimeValue &b) const
const TimeValue operator-= (const TimeValue &b)
TimeValue operator*= (const Float64 b)
Float64   GetHours () const
void  SetHours ( Float64 hours)
Float64   GetMinutes () const
void  SetMinutes ( Float64 minutes)
Float64   GetSeconds () const
void  SetSeconds ( Float64 seconds)
Float64   GetMilliseconds () const
void  SetMilliseconds ( Float64 milliseconds)
Float64   GetMicroseconds () const
void  SetMicroseconds ( Float64 microseconds)
Float64   GetNanoseconds () const
void  SetNanoseconds ( Float64 nanoseconds)
const TimeValue Stop ()
String   ToString (const FormatStatement *formatStatement=nullptr) const
HashInt   GetHashCode () const
Int   GetFrame ( Float64 frameRate) const
void  Quantize ( Float64 frameRate)
String   TimeToString ( TIMEFORMAT timeFormat= TIMEFORMAT::SECONDS , Float64 frameRate=1) const
Result < void >  TimeFromString (const String &str, TIMEFORMAT timeFormat, Float64 frameRate)

Additional Inherited Members

-  Static Public Member Functions inherited from TimeValue
static TimeValue   GetTime ()
static Result < void >  DescribeIO (const DataSerializeInterface &stream)
-  Static Public Attributes inherited from TimeValue
static const CurrentTime   NOW
-  Protected Member Functions inherited from TimeValue
  TimeValue ( Float64 seconds)

构造函数 & 析构函数文档编制

◆  Microseconds() [1/2]

Microseconds ( Float64   microseconds )
explicit

◆  Microseconds() [2/2]

MAXON_IMPLICIT Microseconds ( const TimeValue src )