AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
Everything needed to call CNTV2Card::ReadRegister or CNTV2Card::WriteRegister functions. More...
#include <ntv2publicinterface.h>
Public Member Functions | |
NTV2RegInfo (const ULWord inRegNum=0, const ULWord inRegValue=0, const ULWord inRegMask=0xFFFFFFFF, const ULWord inRegShift=0) | |
Constructs me from the given parameters. More... | |
void | Set (const ULWord inRegNum, const ULWord inRegValue, const ULWord inRegMask=0xFFFFFFFF, const ULWord inRegShift=0) |
Sets me from the given parameters. More... | |
void | MakeInvalid (void) |
Invalidates me, setting my register number, value, mask and shift values to 0xFFFFFFFF. More... | |
bool | IsValid (void) const |
bool | operator== (const NTV2RegInfo &inRHS) const |
bool | operator< (const NTV2RegInfo &inRHS) const |
std::ostream & | Print (std::ostream &outputStream, const bool inAsCode=false) const |
Renders me to the given output stream in a human-readable format. More... | |
std::ostream & | PrintCode (std::ostream &outputStream, const int inRadix=16, const NTV2DeviceID inDeviceID=DEVICE_ID_INVALID) const |
Renders me to the given output stream as source code using a "WriteRegister" function call. More... | |
Public Attributes | |
ULWord | registerNumber |
My register number to use in a ReadRegister or WriteRegister call. More... | |
ULWord | registerValue |
My register value to use in a ReadRegister or WriteRegister call. More... | |
ULWord | registerMask |
My register mask value to use in a ReadRegister or WriteRegister call. More... | |
ULWord | registerShift |
My register shift value to use in a ReadRegister or WriteRegister call. More... | |
Everything needed to call CNTV2Card::ReadRegister or CNTV2Card::WriteRegister functions.
Definition at line 3931 of file ntv2publicinterface.h.
|
inline |
Constructs me from the given parameters.
[in] | inRegNum | Specifies the register number to use. If not specified, defaults to zero. |
[in] | inRegValue | Specifies the register value to use. If not specified, defaults to zero. |
[in] | inRegMask | Specifies the bit mask to use. If not specified, defaults to 0xFFFFFFFF. |
[in] | inRegShift | Specifies the shift to use. If not specified, defaults to zero. |
Definition at line 3946 of file ntv2publicinterface.h.
|
inline |
Definition at line 3971 of file ntv2publicinterface.h.
|
inline |
Invalidates me, setting my register number, value, mask and shift values to 0xFFFFFFFF.
Definition at line 3966 of file ntv2publicinterface.h.
bool NTV2RegInfo::operator< | ( | const NTV2RegInfo & | inRHS | ) | const |
[in] | inRHS | Specifies the right-hand-side NTV2RegInfo that will be compared to me. |
Definition at line 3243 of file ntv2publicinterface.cpp.
|
inline |
[in] | inRHS | Specifies the right-hand-side NTV2RegInfo that will be compared to me. |
Definition at line 3978 of file ntv2publicinterface.h.
ostream & NTV2RegInfo::Print | ( | std::ostream & | outputStream, |
const bool | inAsCode = false |
||
) | const |
Renders me to the given output stream in a human-readable format.
outputStream | Specifies the output stream in which to Print my contents. |
inAsCode | Deprecated as of SDK 16.0 – use PrintCode instead. Defaults to false. If true, renders me as source code. |
Definition at line 3252 of file ntv2publicinterface.cpp.
ostream & NTV2RegInfo::PrintCode | ( | std::ostream & | outputStream, |
const int | inRadix = 16 , |
||
const NTV2DeviceID | inDeviceID = DEVICE_ID_INVALID |
||
) | const |
Renders me to the given output stream as source code using a "WriteRegister" function call.
outputStream | Specifies the output stream to write into. | |
[in] | inRadix | Optionally specifies the radix to use for the my register value. Defaults to hexadecimal (base 16). |
[in] | inDeviceID | Optionally specifies the NTV2DeviceID for properly interpreting my register values. |
Definition at line 3265 of file ntv2publicinterface.cpp.
|
inline |
Sets me from the given parameters.
[in] | inRegNum | Specifies the register number to use. |
[in] | inRegValue | Specifies the register value to use. |
[in] | inRegMask | Specifies the bit mask to use. If not specified, defaults to 0xFFFFFFFF. |
[in] | inRegShift | Specifies the shift to use. If not specified, defaults to zero. |
Definition at line 3961 of file ntv2publicinterface.h.
ULWord NTV2RegInfo::registerMask |
My register mask value to use in a ReadRegister or WriteRegister call.
Definition at line 3935 of file ntv2publicinterface.h.
ULWord NTV2RegInfo::registerNumber |
My register number to use in a ReadRegister or WriteRegister call.
Definition at line 3933 of file ntv2publicinterface.h.
ULWord NTV2RegInfo::registerShift |
My register shift value to use in a ReadRegister or WriteRegister call.
Definition at line 3936 of file ntv2publicinterface.h.
ULWord NTV2RegInfo::registerValue |
My register value to use in a ReadRegister or WriteRegister call.
Definition at line 3934 of file ntv2publicinterface.h.