This is used by the CNTV2Card::WriteRegisters function.
More...
#include <ntv2publicinterface.h>
This is used by the CNTV2Card::WriteRegisters function.
- Note
- There is no need to access any of this structure's fields directly. Simply call the CNTV2Card instance's WriteRegisters function.
-
This struct uses a constructor to properly initialize itself. Do not use memset or bzero to initialize or "clear" it.
Definition at line 7809 of file ntv2publicinterface.h.
◆ NTV2SetRegisters()
Constructs an NTV2SetRegisters struct from the given NTV2RegisterWrites collection.
- Parameters
-
| [in] | inRegWrites | An ordered collection of NTV2ReadWriteRegisterSingle structs to be copied into my mInRegInfos field. If omitted, defaults to an empty collection. |
Definition at line 3381 of file ntv2publicinterface.cpp.
◆ GetFailedRegisterWrites()
| bool NTV2SetRegisters::GetFailedRegisterWrites |
( |
NTV2RegWrites & |
outFailedRegWrites | ) |
const |
Returns an NTV2RegisterWrites built from my mOutBadRegInfos field.
- Parameters
-
| [out] | outFailedRegWrites | Receives the list of failed writes. |
- Returns
- True if successful; otherwise false.
Definition at line 3417 of file ntv2publicinterface.cpp.
◆ GetNumFailedWrites()
| ULWord NTV2SetRegisters::GetNumFailedWrites |
( |
void |
| ) |
const |
|
inline |
◆ GetRequestedRegisterCount()
| ULWord NTV2SetRegisters::GetRequestedRegisterCount |
( |
void |
| ) |
const |
|
inline |
◆ GetRequestedRegisterWrites()
| bool NTV2SetRegisters::GetRequestedRegisterWrites |
( |
NTV2RegWrites & |
outRegWrites | ) |
const |
◆ operator NTV2_HEADER *()
◆ outBadRegIndexes()
| NTV2Buffer& NTV2SetRegisters::outBadRegIndexes |
( |
void |
| ) |
|
|
inline |
◆ outNumFailures()
| ULWord& NTV2SetRegisters::outNumFailures |
( |
void |
| ) |
|
|
inline |
◆ Print()
| ostream & NTV2SetRegisters::Print |
( |
std::ostream & |
inOutStream | ) |
const |
Prints a human-readable representation of me to the given output stream.
- Parameters
-
| inOutStream | Specifies the output stream to use. |
- Returns
- A reference to the output stream.
Definition at line 3439 of file ntv2publicinterface.cpp.
◆ regInfos()
| const NTV2Buffer& NTV2SetRegisters::regInfos |
( |
void |
| ) |
const |
|
inline |
◆ ResetUsing()
| bool NTV2SetRegisters::ResetUsing |
( |
const NTV2RegWrites & |
inRegWrites | ) |
|
Resets me, starting over, now using the given NTV2RegisterNumberSet.
- Parameters
-
| [in] | inRegWrites | An ordered collection of NTV2ReadWriteRegisterSingle structs to be copied into my mInRegInfos field. If omitted, defaults to an empty collection. |
Definition at line 3390 of file ntv2publicinterface.cpp.
◆ RPCDecode()
| bool NTV2SetRegisters::RPCDecode |
( |
const NTV2_RPC_BLOB_TYPE & |
inBlob, |
|
|
size_t & |
inOutIndex |
|
) |
| |
◆ RPCDecodeClient()
| bool NTV2SetRegisters::RPCDecodeClient |
( |
const NTV2_RPC_BLOB_TYPE & |
inBlob, |
|
|
size_t & |
inOutIndex |
|
) |
| |
◆ RPCDecodeServer()
| bool NTV2SetRegisters::RPCDecodeServer |
( |
const NTV2_RPC_BLOB_TYPE & |
inBlob, |
|
|
size_t & |
inOutIndex |
|
) |
| |
◆ RPCEncode()
◆ RPCEncodeClient()
◆ RPCEncodeServer()
◆ mHeader
◆ mInNumRegisters
| ULWord NTV2SetRegisters::mInNumRegisters |
◆ mInRegInfos
◆ mOutBadRegIndexes
Array of UWords containing index numbers of the register writes that failed. The SDK owns this memory.
Definition at line 7814 of file ntv2publicinterface.h.
◆ mOutNumFailures
| ULWord NTV2SetRegisters::mOutNumFailures |
◆ mTrailer
The documentation for this class was generated from the following files: