A new input frame is available. More...
#include <Media/MediaSimEvents.H>
Public Member Functions | |
SimEventInputFrame (SimModule *src, const GenericFrame &fram, const int framenum) | |
Constuctor. | |
virtual | ~SimEventInputFrame () |
Destructor. | |
virtual std::string | toString () const |
Get a description for printing out. | |
const GenericFrame & | frame () const |
Get the frame. | |
int | frameNum () const |
Get the frame number. |
A new input frame is available.
InputFrameSeries posts this event each time a new input frame has become available.
Definition at line 53 of file MediaSimEvents.H.
SimEventInputFrame::SimEventInputFrame | ( | SimModule * | src, | |
const GenericFrame & | fram, | |||
const int | framenum | |||
) |
Constuctor.
Definition at line 43 of file MediaSimEvents.C.
SimEventInputFrame::~SimEventInputFrame | ( | ) | [virtual] |
Destructor.
Definition at line 49 of file MediaSimEvents.C.
const GenericFrame & SimEventInputFrame::frame | ( | ) | const |
Get the frame.
Definition at line 60 of file MediaSimEvents.C.
int SimEventInputFrame::frameNum | ( | ) | const |
Get the frame number.
Definition at line 63 of file MediaSimEvents.C.
std::string SimEventInputFrame::toString | ( | ) | const [virtual] |
Get a description for printing out.
Reimplemented from SimEvent.
Definition at line 52 of file MediaSimEvents.C.
References GenericFrame::getDims(), Dims::h(), GenericFrame::nativeTypeName(), sformat(), and Dims::w().