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 ()
 Constructor.
 NullControl (const std::string &n)
 Constructor.
 NullControl (const std::string &n, const std::string &d)
 Constructor.
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
virtual ControlBasetakeInput (const std::string &)
 returns NULL


Constructor & Destructor Documentation

NullControl::NullControl  )  [inline]
 

Constructor.

Definition at line 12 of file NullControl.h.

NullControl::NullControl const std::string &  n  )  [inline]
 

Constructor.

Definition at line 14 of file NullControl.h.

NullControl::NullControl const std::string &  n,
const std::string &  d
[inline]
 

Constructor.

Definition at line 16 of file NullControl.h.


Member Function Documentation

virtual ControlBase* NullControl::activate MotionManager::MC_ID  ,
Socket
[inline, virtual]
 

returns NULL

Reimplemented in BehaviorActivatorControl, HelpControl, RebootControl, ShutdownControl, and ToggleControl.

Definition at line 20 of file NullControl.h.

Referenced by ToggleControl::activate(), HelpControl::activate(), and BehaviorActivatorControl::activate().

virtual ControlBase* NullControl::doNextItem  )  [inline, virtual]
 

returns NULL

Reimplemented from ControlBase.

Definition at line 23 of file NullControl.h.

virtual ControlBase* NullControl::doPrevItem  )  [inline, virtual]
 

returns NULL

Reimplemented from ControlBase.

Definition at line 24 of file NullControl.h.

virtual ControlBase* NullControl::doReadStdIn const std::string &  = std::string()  )  [inline, virtual]
 

returns NULL

Reimplemented from ControlBase.

Definition at line 25 of file NullControl.h.

virtual ControlBase* NullControl::doSelect  )  [inline, virtual]
 

returns NULL

Reimplemented from ControlBase.

Reimplemented in RebootControl, ShutdownControl, and ToggleControl.

Definition at line 22 of file NullControl.h.

Referenced by ToggleControl::doSelect().

virtual ControlBase* NullControl::takeInput const std::string &   )  [inline, virtual]
 

returns NULL

Reimplemented from ControlBase.

Definition at line 26 of file NullControl.h.


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

Tekkotsu v2.4.1
Generated Tue Aug 16 16:35:06 2005 by Doxygen 1.4.4