AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
This sample class demonstrates how to use the Corvid/Kona/Io UART RS422 port(s). It is NOT intended to be an extensive machine control implementation. More...
#include <ntv2serialcontrol.h>
Public Member Functions | |
CNTV2SerialControl (const UWord inDeviceIndex=0, const UWord inSerialPortIndexNum=0) | |
virtual | ~CNTV2SerialControl () |
virtual bool | Open (void) |
virtual void | Close (void) |
virtual ULWord | Play (void) |
virtual ULWord | ReversePlay (void) |
virtual ULWord | Stop (void) |
virtual ULWord | FastForward (void) |
virtual ULWord | Rewind (void) |
virtual ULWord | AdvanceFrame (void) |
virtual ULWord | BackFrame (void) |
virtual ULWord | GotoFrameByHMS (UByte inHrs, UByte inMins, UByte inSecs, UByte inFrames) |
virtual ULWord | GetTimecodeString (SByte *timecodeString) |
virtual const SerialMachineResponse & | GetLastResponse (void) const |
virtual bool | WriteCommand (const UByte *txBuffer, bool response=(!(0))) |
virtual bool | WriteTxBuffer (const UByte *txBuffer, UWord length) |
virtual bool | ReadRxBuffer (UByte *rxBuffer, UWord &actualLength, UWord maxlength) |
virtual bool | GotACK (void) |
virtual bool | WaitForRxInterrupt (void) |
virtual bool | WaitForTxInterrupt (void) |
Public Member Functions inherited from CBaseMachineControl | |
CBaseMachineControl () | |
virtual | ~CBaseMachineControl () |
virtual ULWord | GotoFrameByString (SByte *pInFrameString) |
virtual ULWord | GotoFrame (ULWord inFrameNumber) |
virtual ULWord | RecordAtFrame (ULWord inFrameNumber) |
virtual ULWord | Loop (ULWord inStartFrameNumber, ULWord inEndFrameNumber) |
virtual ControlType | GetControlType (void) const |
Protected Attributes | |
CNTV2Card | _ntv2Card |
SerialMachineResponse | _serialMachineResponse |
RegisterNum | _controlRegisterNum |
Which UART control register to use: kRegRS422Control (72) or kRegRS4222Control (246) More... | |
RegisterNum | _receiveRegisterNum |
Which UART receive data register to use: kRegRS422Receive (71) or kRegRS4222Receive (245) More... | |
RegisterNum | _transmitRegisterNum |
Which UART transmit data register to use: kRegRS422Transmit (70) or kRegRS4222Transmit (244) More... | |
Protected Attributes inherited from CBaseMachineControl | |
ControlType | _controlType |
Additional Inherited Members | |
Public Types inherited from CBaseMachineControl | |
enum | ControlType { CONTROLTYPE_DDR, CONTROLTYPE_XVID, CONTROLTYPE_NTV2, CONTROLTYPE_SERIAL, CONTROLTYPE_INVALID } |
enum | ControUnimplemented { CONTROL_UNIMPLEMENTED = 0xFFFFFFFF } |
This sample class demonstrates how to use the Corvid/Kona/Io UART RS422 port(s). It is NOT intended to be an extensive machine control implementation.
Definition at line 32 of file ntv2serialcontrol.h.
|
explicit |
Definition at line 26 of file ntv2serialcontrol.cpp.
|
virtual |
Definition at line 65 of file ntv2serialcontrol.cpp.
|
virtual |
Reimplemented from CBaseMachineControl.
Definition at line 118 of file ntv2serialcontrol.cpp.
|
virtual |
Reimplemented from CBaseMachineControl.
Definition at line 154 of file ntv2serialcontrol.cpp.
|
inlinevirtual |
Implements CBaseMachineControl.
Definition at line 42 of file ntv2serialcontrol.h.
|
virtual |
Reimplemented from CBaseMachineControl.
Definition at line 104 of file ntv2serialcontrol.cpp.
|
inlinevirtual |
Definition at line 54 of file ntv2serialcontrol.h.
Reimplemented from CBaseMachineControl.
Definition at line 193 of file ntv2serialcontrol.cpp.
|
virtual |
Definition at line 328 of file ntv2serialcontrol.cpp.
|
virtual |
Reimplemented from CBaseMachineControl.
Definition at line 229 of file ntv2serialcontrol.cpp.
|
inlinevirtual |
Implements CBaseMachineControl.
Definition at line 41 of file ntv2serialcontrol.h.
|
virtual |
Reimplemented from CBaseMachineControl.
Definition at line 83 of file ntv2serialcontrol.cpp.
|
virtual |
Definition at line 360 of file ntv2serialcontrol.cpp.
|
virtual |
Reimplemented from CBaseMachineControl.
Definition at line 90 of file ntv2serialcontrol.cpp.
|
virtual |
Reimplemented from CBaseMachineControl.
Definition at line 111 of file ntv2serialcontrol.cpp.
|
virtual |
Reimplemented from CBaseMachineControl.
Definition at line 97 of file ntv2serialcontrol.cpp.
|
virtual |
Definition at line 384 of file ntv2serialcontrol.cpp.
|
virtual |
Definition at line 393 of file ntv2serialcontrol.cpp.
|
virtual |
Definition at line 250 of file ntv2serialcontrol.cpp.
Definition at line 344 of file ntv2serialcontrol.cpp.
|
protected |
Which UART control register to use: kRegRS422Control (72) or kRegRS4222Control (246)
Definition at line 70 of file ntv2serialcontrol.h.
|
protected |
Definition at line 68 of file ntv2serialcontrol.h.
|
protected |
Which UART receive data register to use: kRegRS422Receive (71) or kRegRS4222Receive (245)
Definition at line 71 of file ntv2serialcontrol.h.
|
protected |
Definition at line 69 of file ntv2serialcontrol.h.
|
protected |
Which UART transmit data register to use: kRegRS422Transmit (70) or kRegRS4222Transmit (244)
Definition at line 72 of file ntv2serialcontrol.h.