This is used by the CNTV2Card::ReadRegisters function.
More...
#include <ntv2publicinterface.h>
This is used by the CNTV2Card::ReadRegisters function.
- Note
- There is no need to access any of this structure's fields directly. Simply call the CNTV2Card instance's ReadRegisters function.
-
This struct uses a constructor to properly initialize itself. Do not use memset or bzero to initialize or "clear" it.
Definition at line 7681 of file ntv2publicinterface.h.
◆ NTV2GetRegisters() [1/2]
Constructs an NTV2GetRegisters struct from the given set of register numbers.
- Parameters
-
[in] | inRegisterNumbers | A set of distinct NTV2RegisterNumbers to copy into the mRegisters field. If omitted, defaults to an empty set. |
Definition at line 3165 of file ntv2publicinterface.cpp.
◆ NTV2GetRegisters() [2/2]
◆ GetBadRegisters()
bool NTV2GetRegisters::GetBadRegisters |
( |
NTV2RegNumSet & |
outBadRegNums | ) |
const |
Returns the set of register numbers that were not read successfully.
- Parameters
-
[out] | outBadRegNums | Receives the set of "bad" registers. |
- Returns
- True if successful; otherwise false.
Definition at line 3242 of file ntv2publicinterface.cpp.
◆ GetGoodRegisters()
bool NTV2GetRegisters::GetGoodRegisters |
( |
NTV2RegNumSet & |
outGoodRegNums | ) |
const |
Returns an NTV2RegNumSet built from my mOutGoodRegisters field.
- Parameters
-
[out] | outGoodRegNums | Receives the set of "good" registers. |
- Returns
- True if successful; otherwise false.
Definition at line 3225 of file ntv2publicinterface.cpp.
◆ GetRegisterValues() [1/2]
Returns a NTV2RegInfo sequence built from my mOutGoodRegisters and mOutValues fields.
- Parameters
-
[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). |
- Returns
- True if successful; otherwise false.
Definition at line 3316 of file ntv2publicinterface.cpp.
◆ GetRegisterValues() [2/2]
Returns an NTV2RegisterValueMap built from my mOutGoodRegisters and mOutValues fields.
- Parameters
-
[out] | outValues | Receives the register/value map. |
- Returns
- True if successful; otherwise false.
Definition at line 3285 of file ntv2publicinterface.cpp.
◆ GetRequestedRegisterNumbers()
bool NTV2GetRegisters::GetRequestedRegisterNumbers |
( |
NTV2RegNumSet & |
outRegNums | ) |
const |
Answers with the set of register numbers that were requested.
- Parameters
-
[out] | outRegNums | Receives the set of unique register numbers. |
- Returns
- True if successful; otherwise false.
Definition at line 3207 of file ntv2publicinterface.cpp.
◆ operator NTV2_HEADER *()
◆ PatchRegister()
bool NTV2GetRegisters::PatchRegister |
( |
const ULWord |
inRegNum, |
|
|
const ULWord |
inValue |
|
) |
| |
Patches the given register value.
- Parameters
-
[in] | inRegNum | Specifies the register to be patched. |
[in] | inValue | Specifies the new value. |
- Returns
- True if successful; otherwise false.
Definition at line 3261 of file ntv2publicinterface.cpp.
◆ Print()
ostream & NTV2GetRegisters::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 3360 of file ntv2publicinterface.cpp.
◆ ResetUsing() [1/2]
Resets me, starting over, using the given NTV2RegisterReads vector.
- Parameters
-
[in] | inRegReads | A vector of NTV2RegInfo values to use for my mInRegisters field. |
- Note
- The mask and shift fields of the NTV2RegInfo values are ignored.
Definition at line 7717 of file ntv2publicinterface.h.
◆ ResetUsing() [2/2]
bool NTV2GetRegisters::ResetUsing |
( |
const NTV2RegNumSet & |
inRegisterNumbers | ) |
|
Resets me, starting over, now using the given NTV2RegisterNumberSet.
- Parameters
-
[in] | inRegisterNumbers | A set of distinct NTV2RegisterNumbers to copy into my mInRegisters field. |
Definition at line 3185 of file ntv2publicinterface.cpp.
◆ RPCDecode()
bool NTV2GetRegisters::RPCDecode |
( |
const NTV2_RPC_BLOB_TYPE & |
inBlob, |
|
|
size_t & |
inOutIndex |
|
) |
| |
◆ RPCDecodeClient()
bool NTV2GetRegisters::RPCDecodeClient |
( |
const NTV2_RPC_BLOB_TYPE & |
inBlob, |
|
|
size_t & |
inOutIndex |
|
) |
| |
◆ RPCDecodeServer()
bool NTV2GetRegisters::RPCDecodeServer |
( |
const NTV2_RPC_BLOB_TYPE & |
inBlob, |
|
|
size_t & |
inOutIndex |
|
) |
| |
◆ RPCEncode()
◆ RPCEncodeClient()
◆ RPCEncodeServer()
The documentation for this class was generated from the following files: