![]() |
AJA NTV2 SDK
17.6.0.2675
NTV2 SDK 17.6.0.2675
|
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) |
| bool | RPCDecodeClient (const NTV2_RPC_BLOB_TYPE &inBlob, size_t &inOutIndex) |
| bool | RPCEncodeClient (NTV2_RPC_BLOB_TYPE &inBlob) |
| bool | RPCDecodeServer (const NTV2_RPC_BLOB_TYPE &inBlob, size_t &inOutIndex) |
| bool | RPCEncodeServer (NTV2_RPC_BLOB_TYPE &inBlob) |
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 7862 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 3676 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 3692 of file ntv2publicinterface.cpp.
|
inline |
Definition at line 7894 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 3707 of file ntv2publicinterface.cpp.
| bool NTV2BankSelGetSetRegs::RPCDecode | ( | const NTV2_RPC_BLOB_TYPE & | inBlob, |
| size_t & | inOutIndex | ||
| ) |
Definition at line 3979 of file ntv2publicinterface.cpp.
| bool NTV2BankSelGetSetRegs::RPCDecodeClient | ( | const NTV2_RPC_BLOB_TYPE & | inBlob, |
| size_t & | inOutIndex | ||
| ) |
| bool NTV2BankSelGetSetRegs::RPCDecodeServer | ( | const NTV2_RPC_BLOB_TYPE & | inBlob, |
| size_t & | inOutIndex | ||
| ) |
| bool NTV2BankSelGetSetRegs::RPCEncode | ( | NTV2_RPC_BLOB_TYPE & | outBlob | ) |
Definition at line 3955 of file ntv2publicinterface.cpp.
| bool NTV2BankSelGetSetRegs::RPCEncodeClient | ( | NTV2_RPC_BLOB_TYPE & | inBlob | ) |
| bool NTV2BankSelGetSetRegs::RPCEncodeServer | ( | NTV2_RPC_BLOB_TYPE & | inBlob | ) |
| NTV2_HEADER NTV2BankSelGetSetRegs::mHeader |
The common structure header – ALWAYS FIRST!
Definition at line 7863 of file ntv2publicinterface.h.
| NTV2Buffer NTV2BankSelGetSetRegs::mInBankInfos |
Bank select NTV2RegInfo. The SDK owns this memory.
Definition at line 7865 of file ntv2publicinterface.h.
| NTV2Buffer NTV2BankSelGetSetRegs::mInRegInfos |
NTV2RegInfo array of registers be read/written. The SDK owns this memory.
Definition at line 7866 of file ntv2publicinterface.h.
| ULWord NTV2BankSelGetSetRegs::mIsWriting |
If non-zero, register(s) will be written; otherwise, register(s) will be read.
Definition at line 7864 of file ntv2publicinterface.h.
| NTV2_TRAILER NTV2BankSelGetSetRegs::mTrailer |
The common structure trailer – ALWAYS LAST!
Definition at line 7867 of file ntv2publicinterface.h.