SDLdisplayStream Class Reference

A FrameOstream class that sends images to SDL windows. More...

#include <GUI/SDLdisplayStream.H>

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

List of all members.

Classes

struct  WindowMap

Public Member Functions

 SDLdisplayStream (OptionManager &mgr)
 Constructor.
virtual ~SDLdisplayStream ()
 Virtual destructor.
virtual void writeFrame (const GenericFrame &image, const std::string &shortname, const FrameInfo &auxinfo=FrameOstream::defaultInfo)
 Write a frame to the named onscreen window.
virtual bool isVoid () const
 Returns true if the user has clicked a close button on any open window.
virtual void closeStream (const std::string &shortname)
 Close the SDL window, regardless of the value of shortname.

Detailed Description

A FrameOstream class that sends images to SDL windows.

Definition at line 47 of file SDLdisplayStream.H.


Constructor & Destructor Documentation

SDLdisplayStream::SDLdisplayStream ( OptionManager mgr  ) 

Constructor.

Definition at line 68 of file SDLdisplayStream.C.

References ModelComponent::addSubComponent(), and nub::soft_ref< T >::reset().

SDLdisplayStream::~SDLdisplayStream (  )  [virtual]

Virtual destructor.

Definition at line 79 of file SDLdisplayStream.C.


Member Function Documentation

void SDLdisplayStream::closeStream ( const std::string shortname  )  [virtual]

Close the SDL window, regardless of the value of shortname.

Implements FrameOstream.

Definition at line 180 of file SDLdisplayStream.C.

References nub::soft_ref< T >::reset().

bool SDLdisplayStream::isVoid (  )  const [virtual]

Returns true if the user has clicked a close button on any open window.

Reimplemented from FrameOstream.

Definition at line 164 of file SDLdisplayStream.C.

void SDLdisplayStream::writeFrame ( const GenericFrame image,
const std::string shortname,
const FrameInfo auxinfo = FrameOstream::defaultInfo 
) [virtual]

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