Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SensorObserverControl::RTViewControl Class Reference

#include <SensorObserverControl.h>

Inheritance diagram for SensorObserverControl::RTViewControl:

Inheritance graph
[legend]
List of all members.

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.

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


Member Function Documentation

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 202 of file SensorObserverControl.cc.

Referenced by SensorObserverControl::refresh().


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

Tekkotsu v3.0
Generated Fri May 11 20:08:45 2007 by Doxygen 1.4.7