SimEventInputFrame Class Reference

A new input frame is available. More...

#include <Media/MediaSimEvents.H>

Inheritance diagram for SimEventInputFrame:
Inheritance graph
[legend]
Collaboration diagram for SimEventInputFrame:
Collaboration graph
[legend]

List of all members.

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 GenericFrameframe () const
 Get the frame.
int frameNum () const
 Get the frame number.

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:48 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3