AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
This is used by the CNTV2Card::ReadRegisters function. More...
#include <ntv2publicinterface.h>
Public Member Functions | |
NTV2GetRegisters (const NTV2RegNumSet &inRegisterNumbers=NTV2RegNumSet()) | |
Constructs an NTV2GetRegisters struct from the given set of register numbers. More... | |
NTV2GetRegisters (NTV2RegisterReads &inRegReads) | |
Constructs me from the given NTV2RegInfo sequence. More... | |
bool | ResetUsing (const NTV2RegNumSet &inRegisterNumbers) |
Resets me, starting over, now using the given NTV2RegisterNumberSet. More... | |
bool | ResetUsing (const NTV2RegisterReads &inRegReads) |
Resets me, starting over, using the given NTV2RegisterReads vector. More... | |
bool | GetGoodRegisters (NTV2RegNumSet &outGoodRegNums) const |
Returns an NTV2RegNumSet built from my mOutGoodRegisters field. More... | |
bool | GetRegisterValues (NTV2RegisterValueMap &outValues) const |
Returns an NTV2RegisterValueMap built from my mOutGoodRegisters and mOutValues fields. More... | |
bool | GetRegisterValues (NTV2RegisterReads &inOutValues) const |
Returns a NTV2RegInfo sequence built from my mOutGoodRegisters and mOutValues fields. More... | |
bool | GetRequestedRegisterNumbers (NTV2RegNumSet &outRegNums) const |
Answers with the set of register numbers that were requested. More... | |
bool | GetBadRegisters (NTV2RegNumSet &outBadRegNums) const |
Returns the set of register numbers that were not read successfully. More... | |
bool | PatchRegister (const ULWord inRegNum, const ULWord inValue) |
Patches the given register value. More... | |
std::ostream & | Print (std::ostream &inOutStream) const |
Prints a human-readable representation of me to the given output stream. More... | |
operator NTV2_HEADER * () | |
bool | RPCEncode (NTV2_RPC_BLOB_TYPE &outBlob) |
bool | RPCDecode (const NTV2_RPC_BLOB_TYPE &inBlob, size_t &inOutIndex) |
This is used by the CNTV2Card::ReadRegisters function.
Definition at line 7411 of file ntv2publicinterface.h.
|
explicit |
Constructs an NTV2GetRegisters struct from the given set of register numbers.
[in] | inRegisterNumbers | A set of distinct NTV2RegisterNumbers to copy into the mRegisters field. If omitted, defaults to an empty set. |
Definition at line 2981 of file ntv2publicinterface.cpp.
|
explicit |
Constructs me from the given NTV2RegInfo sequence.
[in] | inRegReads | An NTV2RegInfo sequence that identifies the register numbers to be read. |
Definition at line 2991 of file ntv2publicinterface.cpp.
bool NTV2GetRegisters::GetBadRegisters | ( | NTV2RegNumSet & | outBadRegNums | ) | const |
Returns the set of register numbers that were not read successfully.
[out] | outBadRegNums | Receives the set of "bad" registers. |
Definition at line 3058 of file ntv2publicinterface.cpp.
bool NTV2GetRegisters::GetGoodRegisters | ( | NTV2RegNumSet & | outGoodRegNums | ) | const |
Returns an NTV2RegNumSet built from my mOutGoodRegisters field.
[out] | outGoodRegNums | Receives the set of "good" registers. |
Definition at line 3041 of file ntv2publicinterface.cpp.
bool NTV2GetRegisters::GetRegisterValues | ( | NTV2RegisterReads & | inOutValues | ) | const |
Returns a NTV2RegInfo sequence built from my mOutGoodRegisters and mOutValues fields.
[out] | inOutValues | If empty upon entry, receives all successfully-read register values; otherwise updates only the register values it already contains (if they were requested and successfully read). |
Definition at line 3124 of file ntv2publicinterface.cpp.
bool NTV2GetRegisters::GetRegisterValues | ( | NTV2RegisterValueMap & | outValues | ) | const |
Returns an NTV2RegisterValueMap built from my mOutGoodRegisters and mOutValues fields.
[out] | outValues | Receives the register/value map. |
Definition at line 3101 of file ntv2publicinterface.cpp.
bool NTV2GetRegisters::GetRequestedRegisterNumbers | ( | NTV2RegNumSet & | outRegNums | ) | const |
Answers with the set of register numbers that were requested.
[out] | outRegNums | Receives the set of unique register numbers. |
Definition at line 3023 of file ntv2publicinterface.cpp.
|
inline |
Definition at line 7504 of file ntv2publicinterface.h.
Patches the given register value.
[in] | inRegNum | Specifies the register to be patched. |
[in] | inValue | Specifies the new value. |
Definition at line 3077 of file ntv2publicinterface.cpp.
ostream & NTV2GetRegisters::Print | ( | std::ostream & | inOutStream | ) | const |
Prints a human-readable representation of me to the given output stream.
inOutStream | Specifies the output stream to use. |
Definition at line 3151 of file ntv2publicinterface.cpp.
|
inline |
Resets me, starting over, using the given NTV2RegisterReads vector.
[in] | inRegReads | A vector of NTV2RegInfo values to use for my mInRegisters field. |
Definition at line 7447 of file ntv2publicinterface.h.
bool NTV2GetRegisters::ResetUsing | ( | const NTV2RegNumSet & | inRegisterNumbers | ) |
Resets me, starting over, now using the given NTV2RegisterNumberSet.
[in] | inRegisterNumbers | A set of distinct NTV2RegisterNumbers to copy into my mInRegisters field. |
Definition at line 3001 of file ntv2publicinterface.cpp.
bool NTV2GetRegisters::RPCDecode | ( | const NTV2_RPC_BLOB_TYPE & | inBlob, |
size_t & | inOutIndex | ||
) |
Definition at line 3617 of file ntv2publicinterface.cpp.
bool NTV2GetRegisters::RPCEncode | ( | NTV2_RPC_BLOB_TYPE & | outBlob | ) |
Definition at line 3589 of file ntv2publicinterface.cpp.