LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DisplayStateBase Class Referenceabstract

#include <DisplayStates.h>

Inheritance diagram for DisplayStateBase:
[legend]
Collaboration diagram for DisplayStateBase:
[legend]

Public Member Functions

 DisplayStateBase ()
 
virtual DisplayState state () const =0
 
virtual void enter (DisplayState state, DisplayEvent displayEvent, sptr< Event > event=NULL)=0
 
virtual void leave (DisplayState state, DisplayEvent displayEvent, sptr< Event > event=NULL)=0
 
virtual void handleEvent (DisplayEvent displayEvent, sptr< Event > event=NULL)=0
 
virtual bool updateBrightness (int alsRegion)
 
void changeDisplayState (DisplayState state, DisplayEvent displayEvent, sptr< Event > event=NULL)
 
void updateLockState (DisplayLockState, DisplayEvent displayEvent)
 
bool isDisplayUnlocked ()
 
bool isUSBCharging ()
 
bool isOnCall ()
 
bool isSliderOpen ()
 
bool isDNAST ()
 
bool isOnPuck ()
 
bool isProximityActivated ()
 
int getCurrentAlsRegion ()
 
bool isBacklightOn ()
 
bool isDisplayOn ()
 
bool isTouchpanelOn ()
 
bool isDemo ()
 
int dimTimeout ()
 
int offTimeout ()
 
int lockedOffTimeout ()
 
int lastEvent ()
 
void updateLastEvent ()
 
virtual void stopInactivityTimer ()
 
virtual void startInactivityTimer ()
 
void displayOn (bool als)
 
void displayDim ()
 
void displayOff ()
 
bool proximityOff ()
 
bool proximityOn ()
 
bool orientationSensorOn ()
 
bool orientationSensorOff ()
 
void enablePainting ()
 
void disablePainting ()
 
void emitDisplayStateChange (int)
 
bool postPenCancel (int id=0)
 

Protected Attributes

DisplayManagerdm
 

Constructor & Destructor Documentation

DisplayStateBase::DisplayStateBase ( )

Member Function Documentation

void DisplayStateBase::changeDisplayState ( DisplayState  state,
DisplayEvent  displayEvent,
sptr< Event >  event = NULL 
)
int DisplayStateBase::dimTimeout ( )
void DisplayStateBase::disablePainting ( )
void DisplayStateBase::displayDim ( )
void DisplayStateBase::displayOff ( )
void DisplayStateBase::displayOn ( bool  als)
void DisplayStateBase::emitDisplayStateChange ( int  displaySignal)
void DisplayStateBase::enablePainting ( )
virtual void DisplayStateBase::enter ( DisplayState  state,
DisplayEvent  displayEvent,
sptr< Event >  event = NULL 
)
pure virtual
int DisplayStateBase::getCurrentAlsRegion ( )
virtual void DisplayStateBase::handleEvent ( DisplayEvent  displayEvent,
sptr< Event >  event = NULL 
)
pure virtual
bool DisplayStateBase::isBacklightOn ( )
bool DisplayStateBase::isDemo ( )
bool DisplayStateBase::isDisplayOn ( )
bool DisplayStateBase::isDisplayUnlocked ( )
bool DisplayStateBase::isDNAST ( )
bool DisplayStateBase::isOnCall ( )
bool DisplayStateBase::isOnPuck ( )
bool DisplayStateBase::isProximityActivated ( )
bool DisplayStateBase::isSliderOpen ( )
bool DisplayStateBase::isTouchpanelOn ( )
bool DisplayStateBase::isUSBCharging ( )
int DisplayStateBase::lastEvent ( )
virtual void DisplayStateBase::leave ( DisplayState  state,
DisplayEvent  displayEvent,
sptr< Event >  event = NULL 
)
pure virtual
int DisplayStateBase::lockedOffTimeout ( )
int DisplayStateBase::offTimeout ( )
bool DisplayStateBase::orientationSensorOff ( )
bool DisplayStateBase::orientationSensorOn ( )
bool DisplayStateBase::postPenCancel ( int  id = 0)
bool DisplayStateBase::proximityOff ( )
bool DisplayStateBase::proximityOn ( )
void DisplayStateBase::startInactivityTimer ( )
virtual
virtual DisplayState DisplayStateBase::state ( ) const
pure virtual
void DisplayStateBase::stopInactivityTimer ( )
virtual
bool DisplayStateBase::updateBrightness ( int  alsRegion)
virtual

Reimplemented in DisplayOnPuck, DisplayOnLocked, and DisplayOn.

void DisplayStateBase::updateLastEvent ( )
void DisplayStateBase::updateLockState ( DisplayLockState  lockState,
DisplayEvent  displayEvent 
)

Member Data Documentation

DisplayManager* DisplayStateBase::dm
protected

The documentation for this class was generated from the following files: