Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

gadget::InputPlaceHolder Class Template Reference

Placeholder class. More...

#include <InputMixer.h>

List of all members.

Public Methods

virtual bool sample ()
virtual bool startSampling ()
virtual bool stopSampling ()
virtual void updateData ()
void operator delete (void *p)
 Invokes the global scope delete operator. More...


Protected Methods

virtual void destroy ()
 Deletes this object. More...


Detailed Description

template<class ParentType>
class gadget::InputPlaceHolder< ParentType >

Placeholder class.

This class is provides a generic implementation of the virtual methods of a device.

This class is meant to be used to create "place holder" devices that don't actually function on their own but instead just look like a device with a given interface. This can be useful for devices that are progmatically set by systems such as the remote input manager

Definition at line 59 of file InputMixer.h.


Member Function Documentation

template<class ParentType>
virtual bool gadget::InputPlaceHolder< ParentType >::sample   [inline, virtual]
 

Definition at line 62 of file InputMixer.h.

00063     {return(0);}

template<class ParentType>
virtual bool gadget::InputPlaceHolder< ParentType >::startSampling   [inline, virtual]
 

Definition at line 65 of file InputMixer.h.

00066     {return(0);}

template<class ParentType>
virtual bool gadget::InputPlaceHolder< ParentType >::stopSampling   [inline, virtual]
 

Definition at line 68 of file InputMixer.h.

00069     {return(0);}

template<class ParentType>
virtual void gadget::InputPlaceHolder< ParentType >::updateData   [inline, virtual]
 

Definition at line 71 of file InputMixer.h.

00072     {;}

template<class ParentType>
void gadget::InputPlaceHolder< ParentType >::operator delete void *    p [inline]
 

Invokes the global scope delete operator.

This is required for proper releasing of memory in DLLs on Win32.

Definition at line 78 of file InputMixer.h.

00079    {
00080       ::operator delete(p);
00081    }

template<class ParentType>
virtual void gadget::InputPlaceHolder< ParentType >::destroy   [inline, protected, virtual]
 

Deletes this object.

This is an implementation of the pure virtual gadget::Input::destroy() method.

Definition at line 88 of file InputMixer.h.

00089    {
00090       delete this;
00091    }


The documentation for this class was generated from the following file:
Generated on Sun May 2 14:27:00 2004 for Gadgeteer by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002