15 #define AJAAncillaryData_FrameStatusInfo5251_PayloadSize 0x08 60 m_IsRecording =
false;
61 m_IsValidFrame =
true;
81 m_IsRecording = rhs.m_IsRecording;
82 m_IsValidFrame = rhs.m_IsValidFrame;
100 m_IsRecording = (((
m_payload[0] & 0x60) == 0x20) ?
true :
false);
105 m_IsValidFrame = (((
m_payload[0] & 0x80) == 0x00) ?
true :
false);
127 <<
"Recording: " << (m_IsRecording ?
"Active" :
"Inactive");
virtual uint8_t GetDID(void) const
#define AJAAncillaryData_FrameStatusInfo5251_PayloadSize
AJAAncillaryData & operator=(const AJAAncillaryData &inRHS)
virtual uint8_t GetSID(void) const
This class handles "5251" Frame Status Information packets.
virtual void Clear(void)
Frees my allocated memory, if any, and resets my members to their default values. ...
static AJAAncDataType RecognizeThisAncillaryData(const AJAAncillaryData *pInAncData)
AJAAncDataType m_ancType
One of a known set of ancillary data types (or "Custom" if not identified)
AJAAncDataType
Identifies the ancillary data types that are known to this module.
const uint8_t AJAAncillaryData_FrameStatusInfo5251_SID
AJAAncillaryData_FrameStatusInfo5251()
My default constructor.
virtual void Clear(void)
Frees my allocated memory, if any, and resets my members to their default values. ...
virtual AJAStatus ParsePayloadData(void)
Parses out (interprets) the "local" ancillary data from my payload data.
ByteVector m_payload
My payload data (DC = size)
AJAAncDataCoding m_coding
Analog or digital data.
virtual std::ostream & Print(std::ostream &inOutStream, const bool inDetailed=false) const
Streams a human-readable representation of me to the given output stream.
Includes data that is valid, but we don't recognize.
virtual AJAAncillaryData_FrameStatusInfo5251 & operator=(const AJAAncillaryData_FrameStatusInfo5251 &inRHS)
Assignment operator – replaces my contents with the right-hand-side value.
Declares the AJAAncillaryData_FrameStatusInfo5251 class.
Frame Status Information, such as Active Frame flag.
uint8_t m_SID
Official SMPTE secondary ID (or DBN - w/o parity)
virtual AJAAncDataCoding GetDataCoding(void) const
uint8_t m_DID
Official SMPTE ancillary packet ID (w/o parity)
const uint8_t AJAAncillaryData_FrameStatusInfo5251_DID
virtual ~AJAAncillaryData_FrameStatusInfo5251()
My destructor.
virtual uint32_t GetDC(void) const
I am the principal class that stores a single SMPTE-291 SDI ancillary data packet OR the digitized co...
virtual std::ostream & Print(std::ostream &inOutStream, const bool inDetailed=false) const
Streams a human-readable representation of me to the given output stream.
bool m_rcvDataValid
This is set true (or not) by ParsePayloadData()
The ancillary data is in the form of a SMPTE-291 Ancillary Packet.