8 #ifndef AJA_ANCILLARYDATA_TIMECODE_H
9 #define AJA_ANCILLARYDATA_TIMECODE_H
46 virtual void Clear (
void);
81 virtual AJAStatus SetTimeHexValue (
const uint8_t inDigitNum,
const uint8_t inHexValue,
const uint8_t inMask = 0x0f);
92 virtual AJAStatus GetTimeHexValue (uint8_t inDigitNum, uint8_t & outHexValue, uint8_t inMask = 0x0f)
const;
107 virtual AJAStatus SetTimeDigits (
const uint8_t inHourTens,
const uint8_t inHourOnes,
108 const uint8_t inMinTens,
const uint8_t inMinOnes,
109 const uint8_t inSecsTens,
const uint8_t inSecsOnes,
110 const uint8_t inFrameTens,
const uint8_t inFrameOnes);
125 virtual AJAStatus GetTimeDigits ( uint8_t & outHourTens, uint8_t & outHourOnes,
126 uint8_t & outMinTens, uint8_t & outMinOnes,
127 uint8_t & outSecsTens, uint8_t & outSecsOnes,
128 uint8_t & outFrameTens, uint8_t & outFrameOnes)
const;
141 const uint32_t inMinutes,
const uint32_t inSeconds,
const uint32_t inFrames);
154 uint32_t & outMinutes, uint32_t & outSeconds, uint32_t & outFrames)
const;
180 virtual AJAStatus SetBinaryGroupHexValue (uint8_t digitNum, uint8_t hexValue, uint8_t mask = 0x0f);
181 virtual AJAStatus GetBinaryGroupHexValue (uint8_t digitNum, uint8_t& hexValue, uint8_t mask = 0x0f)
const;
188 virtual AJAStatus SetBinaryGroups (uint8_t bg8, uint8_t bg7, uint8_t bg6, uint8_t bg5, uint8_t bg4, uint8_t bg3, uint8_t bg2, uint8_t bg1);
189 virtual AJAStatus GetBinaryGroups (uint8_t& bg8, uint8_t& bg7, uint8_t& bg6, uint8_t& bg5, uint8_t& bg4, uint8_t& bg3, uint8_t& bg2, uint8_t& bg1)
const;
250 virtual std::ostream &
Print (std::ostream & inOutStream,
const bool inDetailed =
false)
const;
255 virtual std::string TimecodeString (
void)
const;
303 uint8_t m_timeDigits[kNumTimeDigits];
304 uint8_t m_binaryGroup[kNumBinaryGroups];
317 #endif // AJA_ANCILLARYDATA_TIMECODE_H