|
AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
Go to the documentation of this file.
54 uint32_t ElapsedTime (
void)
const;
64 inline double ETSecs (
void)
const {
return double(ElapsedTime()) * PrecisionSecs(Precision());}
74 inline bool Timeout (
const uint32_t interval)
const {
return (ElapsedTime() >= interval);}
97 std::ostream & Print (std::ostream & oss)
const;
107 static std::string PrecisionName (
const AJATimerPrecision precision,
const bool longName =
true);
123 #if defined(DOCTEST_LIBRARY_INCLUDED)
124 public:
inline void SetStopTime (
const uint64_t inIncr) {mStartTime = 0; mStopTime = inIncr;};
130 #endif // AJA_TIMER_H
bool IsRunning(void) const
bool Timeout(const uint32_t interval) const
Master header for the ajabase library.
std::ostream & Print(std::ostream &oss) const
double ETSecs(void) const
@ AJATimerPrecisionMicroseconds
@ AJATimerPrecisionNanoseconds
AJA_EXPORT std::ostream & operator<<(std::ostream &oss, const AJATimer &inObj)
AJATimerPrecision Precision(void) const
@ AJATimerPrecisionMilliseconds