AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
This is used to atomically perform bank-selected register reads or writes. More...
#include <ntv2publicinterface.h>
Public Member Functions | |
NTV2BankSelGetSetRegs (const NTV2RegInfo &inBankSelect, const NTV2RegInfo &inRegInfo, const bool inDoWrite=false) | |
Constructs an NTV2BankSelGetSetRegs struct for atomically reading or writing the given bank-selected register. More... | |
NTV2RegInfo | GetRegInfo (const UWord inIndex0=0) const |
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) |
Public Attributes | |
NTV2_HEADER | mHeader |
The common structure header – ALWAYS FIRST! More... | |
ULWord | mIsWriting |
If non-zero, register(s) will be written; otherwise, register(s) will be read. More... | |
NTV2Buffer | mInBankInfos |
Bank select NTV2RegInfo. The SDK owns this memory. More... | |
NTV2Buffer | mInRegInfos |
NTV2RegInfo array of registers be read/written. The SDK owns this memory. More... | |
NTV2_TRAILER | mTrailer |
The common structure trailer – ALWAYS LAST! More... | |
This is used to atomically perform bank-selected register reads or writes.
Definition at line 7587 of file ntv2publicinterface.h.
|
explicit |
Constructs an NTV2BankSelGetSetRegs struct for atomically reading or writing the given bank-selected register.
[in] | inBankSelect | The bank select register info. |
[in] | inRegInfo | The register info of the register to be read or written. |
[in] | inDoWrite | Specify 'true' to write the register value; otherwise use 'false'. Defaults to 'false'. |
Definition at line 3454 of file ntv2publicinterface.cpp.
NTV2RegInfo NTV2BankSelGetSetRegs::GetRegInfo | ( | const UWord | inIndex0 = 0 | ) | const |
inIndex0 | Specifies the zero-based index of the NTV2RegInfo to retrieve from my array. |
Definition at line 3470 of file ntv2publicinterface.cpp.
|
inline |
Definition at line 7619 of file ntv2publicinterface.h.
ostream & NTV2BankSelGetSetRegs::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 3485 of file ntv2publicinterface.cpp.
bool NTV2BankSelGetSetRegs::RPCDecode | ( | const NTV2_RPC_BLOB_TYPE & | inBlob, |
size_t & | inOutIndex | ||
) |
Definition at line 3701 of file ntv2publicinterface.cpp.
bool NTV2BankSelGetSetRegs::RPCEncode | ( | NTV2_RPC_BLOB_TYPE & | outBlob | ) |
Definition at line 3677 of file ntv2publicinterface.cpp.
NTV2_HEADER NTV2BankSelGetSetRegs::mHeader |
The common structure header – ALWAYS FIRST!
Definition at line 7588 of file ntv2publicinterface.h.
NTV2Buffer NTV2BankSelGetSetRegs::mInBankInfos |
Bank select NTV2RegInfo. The SDK owns this memory.
Definition at line 7590 of file ntv2publicinterface.h.
NTV2Buffer NTV2BankSelGetSetRegs::mInRegInfos |
NTV2RegInfo array of registers be read/written. The SDK owns this memory.
Definition at line 7591 of file ntv2publicinterface.h.
ULWord NTV2BankSelGetSetRegs::mIsWriting |
If non-zero, register(s) will be written; otherwise, register(s) will be read.
Definition at line 7589 of file ntv2publicinterface.h.
NTV2_TRAILER NTV2BankSelGetSetRegs::mTrailer |
The common structure trailer – ALWAYS LAST!
Definition at line 7592 of file ntv2publicinterface.h.