root/juggler/branches/2.2/modules/gadgeteer/gadget/Type/InputBaseTypes.h

Revision 20689, 3.2 kB (checked in by patrick, 9 months ago)

MFT r20685, r20688: Derive from a known gadget::InputMixer<S,T> instantiation.

  • Property svn:eol-style set to native
Line 
1 /*************** <auto-copyright.pl BEGIN do not edit this line> **************
2  *
3  * VR Juggler is (C) Copyright 1998-2005 by Iowa State University
4  *
5  * Original Authors:
6  *   Allen Bierbaum, Christopher Just,
7  *   Patrick Hartling, Kevin Meinert,
8  *   Carolina Cruz-Neira, Albert Baker
9  *
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Library General Public
12  * License as published by the Free Software Foundation; either
13  * version 2 of the License, or (at your option) any later version.
14  *
15  * This library is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  * Library General Public License for more details.
19  *
20  * You should have received a copy of the GNU Library General Public
21  * License along with this library; if not, write to the
22  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23  * Boston, MA 02111-1307, USA.
24  *
25  * -----------------------------------------------------------------
26  * File:          $RCSfile$
27  * Date modified: $Date: 2006-12-09 13:42:12 -0600 (Sat, 09 Dec 2006) $
28  * Version:       $Revision: 19596 $
29  * -----------------------------------------------------------------
30  *
31  *************** <auto-copyright.pl END do not edit this line> ***************/
32
33 #ifndef _GADGET_INPUT_BASE_TYPES_H_
34 #define _GADGET_INPUT_BASE_TYPES_H_
35
36 #include <gadget/gadgetConfig.h>
37 #include <gadget/Type/InputMixer.h>
38
39 namespace gadget
40 {
41
42 class Input;
43 class Digital;
44 class Analog;
45 class Position;
46 class KeyboardMouse;
47 class String;
48 class Command;
49 class Glove;
50 class SimInput;
51
52 /**
53  * @name Device Driver Base Types
54  *
55  * The possible input base types for device drivers. A device driver
56  * implementation must derive from one of these in order to function in a
57  * cluster configuration.
58  *
59  * @since 1.1.28
60  */
61 //@{
62 typedef InputMixer< Input, Digital > input_digital_t;
63 typedef InputMixer< Input, Analog > input_analog_t;
64 typedef InputMixer< Input, Position > input_position_t;
65 typedef InputMixer< Input, KeyboardMouse > input_keyboard_t;
66 typedef InputMixer< Input, String > input_string_t;
67 typedef InputMixer< Input, Command > input_command_t;
68 typedef InputMixer< Input, Glove > input_glove_t;
69 typedef InputMixer< InputMixer<Input, Digital>, Analog> input_digital_analog_t;
70 typedef InputMixer< InputMixer<Input, Digital>, Position> input_digital_position_t;
71 typedef InputMixer< InputMixer<Input, Analog>, Position> input_analog_position_t;
72 typedef InputMixer< InputMixer<Input, Glove>, Digital> input_glove_digital_t;
73 typedef InputMixer< InputMixer< InputMixer< InputMixer<Input, Glove>, Digital>, Analog>, Position> input_glove_digital_analog_position_t;
74 typedef InputMixer< InputMixer< InputMixer<Input, Digital>, Analog>, Position> input_digital_analog_position_t;
75 typedef InputMixer< InputMixer<SimInput, Input>, Position> siminput_input_position;
76 typedef InputMixer< InputMixer<SimInput, Input>, Digital> siminput_input_digital;
77 typedef InputMixer< InputMixer<SimInput, Input>, Analog> siminput_input_analog;
78 typedef InputMixer< InputMixer< InputMixer<SimInput,Input>, Digital>, Glove> siminput_input_digital_glove_t;
79 //@}
80
81 } // end namespace
82
83 #endif   /* GADGET_INPUT_BASE_TYPES_H */
Note: See TracBrowser for help on using the browser.