Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

NullControl Class Reference

#include <NullControl.h>

Inheritance diagram for NullControl:

Inheritance graph
[legend]
List of all members.

Detailed Description

when activated, this will return immediately (handy for fake items in a menu)

Definition at line 8 of file NullControl.h.

Public Member Functions

 NullControl (ControlBase *inputRedirectTgt=NULL)
 Constructor.
 NullControl (const std::string &n, ControlBase *inputRedirectTgt=NULL)
 Constructor.
 NullControl (const std::string &n, const std::string &d, ControlBase *inputRedirectTgt=NULL)
 Constructor.
virtual void setInputRedirect (ControlBase *inputRedirectTgt)
 sets inputRedirect
virtual ControlBasegetInputRedirect () const
 returns inputRedirect
virtual ControlBasetakeInput (const std::string &msg)
 returns NULL unless inputRedirect is set, in which case it will return inputRedirect->takeInput(msg)
virtual ControlBaseactivate (MotionManager::MC_ID, Socket *)
 returns NULL
virtual ControlBasedoSelect ()
 returns NULL
virtual ControlBasedoNextItem ()
 returns NULL
virtual ControlBasedoPrevItem ()
 returns NULL
virtual ControlBasedoReadStdIn (const std::string &=std::string())
 returns NULL

Protected Attributes

ControlBaseinputRedirect
 the target to receiving forwarding of any calls to takeInput()

Private Member Functions

 NullControl (const NullControl &)
 you can override, but don't call this...
NullControloperator= (const NullControl &)
 you can override, but don't call this...


Member Data Documentation

the target to receiving forwarding of any calls to takeInput()

this is handy if this instance is some feedback to the user, and any input they enter with this control selected only makes sense to be handled by the parent

Definition at line 38 of file NullControl.h.

Referenced by getInputRedirect(), setInputRedirect(), and takeInput().


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

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