Nanoseconds Class Reference

#include <timevalue.h>

Inheritance diagram for Nanoseconds:

Detailed Description

Timer value in nanoseconds.

Public Member Functions

 Nanoseconds (Float64 nanoseconds)
 
MAXON_IMPLICIT Nanoseconds (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)
 
TimeValueoperator= (const TimeValue &src)
 
 MAXON_OPERATOR_EQUALITY_HASHCODE (TimeValue, _value)
 
Bool operator< (const TimeValue &b) const
 
 MAXON_OPERATOR_INEQUALITY (TimeValue)
 
TimeValue operator+ (const TimeValue &b) const
 
TimeValueoperator+= (const TimeValue &b)
 
TimeValue operator- (const TimeValue &b) const
 
const TimeValueoperator-= (const TimeValue &b)
 
TimeValueoperator*= (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 TimeValueStop ()
 
String ToString (const FormatStatement *formatStatement=nullptr) 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)
 

Constructor & Destructor Documentation

◆ Nanoseconds() [1/2]

Nanoseconds ( Float64  nanoseconds)
explicit

◆ Nanoseconds() [2/2]