USR_SCREENSAVER Class Reference

List of all members.

Public Member Functions

virtual DWORD WINAPI Run ()=0
virtual BOOL NotifyDataReady (FIRMWARE::DATA_REPORT &dataReport)=0
virtual SCREEN_SAVER_STATE GetScreenState ()=0
virtual void WaitForLCDDisplayReady ()=0
virtual void StopAnimation ()=0
virtual void SetContext (INKUSB_CONTEXT libContext, INKUSB_DEVICE_CONTEXT devContext)=0
virtual void ReInit ()=0
 USR_SCREENSAVER ()
virtual ~USR_SCREENSAVER ()


Detailed Description

A "Screen Saver" is responsible for all display setup. This means it's first job is to create the initial display before setting (or returning) from WaitForLCDDisplayRead.

All calls are "blocking" unless otherwise noted -- in other words it is expected that the method does not return until the logical operation has completed.

If the user decides to not create their own screen saver (by passing a NULL pointer in to the inkUSBePadOpenConnection) a default one will be provided by this library.


Constructor & Destructor Documentation

USR_SCREENSAVER (  )  [inline]

00106 {}

virtual ~USR_SCREENSAVER (  )  [inline, virtual]

00107 {}


Member Function Documentation

virtual DWORD WINAPI Run (  )  [pure virtual]

This user-supplied routine 'loops forever' until the TerminateScreenSaverThread function is called.

virtual BOOL NotifyDataReady ( FIRMWARE::DATA_REPORT dataReport  )  [pure virtual]

If this routine returns TRUE then the internal data I/O thread will post the data packet to the application.

virtual SCREEN_SAVER_STATE GetScreenState (  )  [pure virtual]

virtual void WaitForLCDDisplayReady (  )  [pure virtual]

virtual void StopAnimation (  )  [pure virtual]

virtual void SetContext ( INKUSB_CONTEXT  libContext,
INKUSB_DEVICE_CONTEXT  devContext 
) [pure virtual]

virtual void ReInit (  )  [pure virtual]

Resets state to 'initialized'


Generated on Mon Dec 17 17:19:33 2007 for ePadAPIs by  doxygen 1.5.4