|
HDK
|
#include <time.h>
Public Types | |
| using | SplineEvaluationFlags = uint8_t |
Public Member Functions | |
| EfTime () | |
| EfTime (const UsdTimeCode timeCode, SplineEvaluationFlags splineFlags=0) | |
| bool | operator== (const EfTime &rhs) const |
| bool | operator!= (const EfTime &rhs) const |
| bool | operator< (const EfTime &rhs) const |
| bool | operator<= (const EfTime &rhs) const |
| bool | operator> (const EfTime &rhs) const |
| bool | operator>= (const EfTime &rhs) const |
| EF_API std::string | GetAsString () const |
Time code | |
| const UsdTimeCode | GetTimeCode () const |
| void | SetTimeCode (const UsdTimeCode timeCode) |
Spline evaluation flags | |
| SplineEvaluationFlags | GetSplineEvaluationFlags () const |
| void | SetSplineEvaluationFlags (SplineEvaluationFlags flags) |
Friends | |
| template<class HashState > | |
| void | TfHashAppend (HashState &h, const EfTime &t) |
A class that represents a point in time for execution.
Time has a frame value that can be double-valued or set to "default". The "default" frame can be thought to represent a point that is not on the timeline.
EfTime also contains spline evaluation flags that cause splines to be evaluated in application-specific, special ways. These flags should be consumed when spline evaluation is dispatched to the application-level evaluation logic.
| using EfTime::SplineEvaluationFlags = uint8_t |
|
inline |
|
inlineexplicit |
| EF_API std::string EfTime::GetAsString | ( | ) | const |
Returns this object as string. Note that evaluation location will only be denoted in the output string if the time code IsPreTime().
|
inline |
|
inline |
|
inline |
|
inline |
Returns true if *this < rhs.
Note that a time with frame set to "default" is lesser than all non-default times.
Also note that evaluation location and spline flags have no effect on ordering for the default frame. Spline flags are only used for stable ordering, but there is no logical ordering between two sets of spline flags.
|
inline |
|
inline |
|
inline |