AutomateXWin Class Reference

List of all members.

Public Member Functions

 AutomateXWin (const char *win_name)
 connect to the x window display and select the given window name
virtual ~AutomateXWin ()
 destroy the window and stop the event handling
void setFocus ()
 set the focus to this window
Image< PixRGB< byte > > getImage ()
 Get the image of the window.
void DeleteImage (void)
 Delete the image buffer.
void sendKey (const int key)
 send the given key to the window
int getHighBitIndex (unsigned int x)
void GetWindowGeometry ()
Window XWindowByName (Display *display, const Window rootwin, const char *name)
void XListWindows (Display *display, const Window rootwin)

Detailed Description

Definition at line 59 of file AutomateXWin.H.


Constructor & Destructor Documentation

AutomateXWin::AutomateXWin ( const char *  win_name  ) 

connect to the x window display and select the given window name

Definition at line 47 of file AutomateXWin.C.

AutomateXWin::~AutomateXWin (  )  [virtual]

destroy the window and stop the event handling

Definition at line 108 of file AutomateXWin.C.


Member Function Documentation

void AutomateXWin::DeleteImage ( void   ) 

Delete the image buffer.

Definition at line 214 of file AutomateXWin.C.

Referenced by getImage().

Image< PixRGB< byte > > AutomateXWin::getImage (  ) 

Get the image of the window.

Definition at line 128 of file AutomateXWin.C.

References DeleteImage(), NO_INIT, and Image< T >::setVal().

void AutomateXWin::sendKey ( const int  key  ) 

send the given key to the window

Definition at line 225 of file AutomateXWin.C.

void AutomateXWin::setFocus (  ) 

set the focus to this window

Definition at line 122 of file AutomateXWin.C.


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