Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SensorObserverControl::RTViewControl Class Reference

The real time view for SensorObserverControl is split into a separate class for more straightfoward handling of refreshes. More...

#include <SensorObserverControl.h>

Inheritance diagram for SensorObserverControl::RTViewControl:

Detailed Description

The real time view for SensorObserverControl is split into a separate class for more straightfoward handling of refreshes.

Definition at line 33 of file SensorObserverControl.h.

List of all members.

Public Member Functions

 RTViewControl (SensorObserverControl *p)
 constructor, pass pointer to SensorObserverControl which contains it
virtual void processEvent (const EventBase &)
 causes control to refresh whenever an event (i.e. timer) is received
virtual void refresh ()
 called when the child has deactivated and this control should refresh its display, or some other event (such as the user pressing the refresh button) has happened to cause a refresh to be needed
virtual void pause ()
 called when a control is being overriden by a child, or the control system is deactivating (e-stop being turned off)
virtual void deactivate ()
 called when this control is being popped from the control stack
virtual void setPeriod (unsigned int x)
 sets period

Protected Attributes

SensorObserverControlparent
 a back pointer to SensorObserverControl which contains it so updateRT can be triggered
unsigned int period
 the time to wait between automatic refreshes

Private Member Functions

 RTViewControl (const RTViewControl &)
 don't call
RTViewControloperator= (const RTViewControl &)
 don't call

Constructor & Destructor Documentation

SensorObserverControl::RTViewControl::RTViewControl ( SensorObserverControl p  ) 

constructor, pass pointer to SensorObserverControl which contains it

Definition at line 36 of file SensorObserverControl.h.

SensorObserverControl::RTViewControl::RTViewControl ( const RTViewControl  )  [private]

don't call


Member Function Documentation

void SensorObserverControl::RTViewControl::deactivate (  )  [virtual]

called when this control is being popped from the control stack

Reimplemented from ControlBase.

Definition at line 203 of file SensorObserverControl.cc.

RTViewControl& SensorObserverControl::RTViewControl::operator= ( const RTViewControl  )  [private]

don't call

void SensorObserverControl::RTViewControl::pause (  )  [virtual]

called when a control is being overriden by a child, or the control system is deactivating (e-stop being turned off)

Reimplemented from ControlBase.

Definition at line 199 of file SensorObserverControl.cc.

virtual void SensorObserverControl::RTViewControl::processEvent ( const EventBase  )  [virtual]

causes control to refresh whenever an event (i.e. timer) is received

Implements EventListener.

Definition at line 37 of file SensorObserverControl.h.

void SensorObserverControl::RTViewControl::refresh (  )  [virtual]

called when the child has deactivated and this control should refresh its display, or some other event (such as the user pressing the refresh button) has happened to cause a refresh to be needed

Reimplemented from ControlBase.

Definition at line 192 of file SensorObserverControl.cc.

Referenced by processEvent().

void SensorObserverControl::RTViewControl::setPeriod ( unsigned int  x  )  [virtual]

sets period

The change doesn't get picked up until next call to refresh()

Definition at line 208 of file SensorObserverControl.cc.

Referenced by SensorObserverControl::refresh().


Member Data Documentation

a back pointer to SensorObserverControl which contains it so updateRT can be triggered

Definition at line 43 of file SensorObserverControl.h.

Referenced by refresh().

the time to wait between automatic refreshes

Definition at line 44 of file SensorObserverControl.h.

Referenced by refresh(), and setPeriod().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:16 2016 by Doxygen 1.6.3