AJA NTV2 SDK  17.1.1.1245
NTV2 SDK 17.1.1.1245
SCCSource Class Reference
Inheritance diagram for SCCSource:
[legend]
Collaboration diagram for SCCSource:
[legend]

Public Member Functions

 SCCSource (const double inCharsPerMinute, istream *pInInputStream, const string &inFilePath, const bool inDeleteInputStream=(0))
 
virtual ~SCCSource ()
 
virtual bool EnqueueCCDataToFrame (CNTV2CaptionEncoder608Ptr inEncoder, const uint32_t inFrameNum)
 Enqueues next-available CC data into the given encoder for the given frame number. More...
 
- Public Member Functions inherited from CaptionSource
 CaptionSource (const double inCharsPerMinute, istream *pInInputStream, const string &inFilePath, const bool inDeleteInputStream=(0))
 My only constructor. More...
 
virtual ~CaptionSource ()
 My destructor. If was told at construction time that I was to be responsible for deleting the input stream, then I'll delete it here. More...
 
virtual string GetNextCaptionCharacter (void)
 Returns the next character read from my input stream. If my text input stream has reached EOF, I set my "finished" flag and return zero. More...
 
virtual string GetNextCaptionWord (bool &outLineBreak)
 Returns the next "word" read from my input stream. If my text input stream has reached EOF, I set my "finished" flag and return an empty string. If the returned word is longer than my maximum allowable word length, the string is truncated to that maximum length. More...
 
virtual string GetNextCaptionRow (const bool inBreakLinesOnNewLineChars=(0))
 Returns the next "sentence" read from my input stream. I build the "sentence" by reading "words" using my GetNextCaptionWord function. I always try to return a sentence as close to my designated maximum sentence length as possible. In Text Mode, there's no limit to the length of the row text. More...
 
virtual void SetTextMode (const bool inIsTextMode)
 Sets my text mode. If I'm in text mode, I don't do any word breaking or line/row truncation. More...
 

Detailed Description

Definition at line 630 of file ntv2ccplayer.cpp.

Constructor & Destructor Documentation

◆ SCCSource()

SCCSource::SCCSource ( const double  inCharsPerMinute,
istream *  pInInputStream,
const string &  inFilePath,
const bool  inDeleteInputStream = (0) 
)
explicit

Definition at line 660 of file ntv2ccplayer.cpp.

◆ ~SCCSource()

virtual SCCSource::~SCCSource ( )
inlinevirtual

Definition at line 634 of file ntv2ccplayer.cpp.

Member Function Documentation

◆ EnqueueCCDataToFrame()

bool SCCSource::EnqueueCCDataToFrame ( CNTV2CaptionEncoder608Ptr  inEncoder,
const uint32_t  inFrameNum 
)
virtual

Enqueues next-available CC data into the given encoder for the given frame number.

Definition at line 735 of file ntv2ccplayer.cpp.


The documentation for this class was generated from the following file: