35 void QueryString(std::string &str,
const AJATimeBase& timeBase,
bool bDropFrame);
36 void QueryString(
char *pString,
const AJATimeBase& timeBase,
bool bDropFrame);
45 void QuerySMPTEString(
char *pString,
const AJATimeBase& timeBase,
bool bDropFrame);
52 static int QuerySMPTEStringSize(
void);
59 uint32_t QueryFrame(
void)
const;
79 void QueryHmsf(uint32_t &h, uint32_t &m, uint32_t &s, uint32_t &f,
const AJATimeBase& timeBase,
bool bDropFrame)
const;
86 void Set(uint32_t frame);
94 void Set(
const std::string &str,
const AJATimeBase& timeBase);
103 void SetWithCleanup(
const std::string &str,
const AJATimeBase& timeBase,
bool bDrop);
112 void Set(
const std::string &str,
const AJATimeBase& timeBase,
bool bDropFrame);
124 void SetHmsf(uint32_t h, uint32_t m, uint32_t s, uint32_t f,
const AJATimeBase& timeBase,
bool bDropFrame);
132 void SetSMPTEString(
const char *pBufr,
const AJATimeBase& timeBase);
142 void SetRP188 (
const uint32_t inDBB,
const uint32_t inLo,
const uint32_t inHi,
const AJATimeBase & inTimeBase);
155 void QueryRP188(uint32_t *pDbb, uint32_t *pLow, uint32_t *pHigh,
const AJATimeBase& timeBase,
bool bDrop);
168 void QueryRP188(uint32_t & outDBB, uint32_t & outLo, uint32_t & outHi,
const AJATimeBase & timeBase,
const bool bDrop);
183 static bool QueryIsDropFrame(
const std::string &str);
186 static int QueryStringSize(
void);
195 static bool QueryIsRP188DropFrame (
const uint32_t inDBB,
const uint32_t inLo,
const uint32_t inHi);
203 const AJATimeCode operator+(
const int32_t val)
const;
205 const AJATimeCode operator-(
const int32_t val)
const;
210 bool operator>(
const int32_t val)
const;
219 #endif // AJA_TIMECODE_H