Changeset 20304
- Timestamp:
- 06/15/07 10:07:36 (1 year ago)
- Files:
-
- juggler/branches/2.0/modules/gadgeteer/drivers/3Dconnexion/SpaceBall/puck_device.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/5DT/DataGlove/DataGlove.cpp (modified) (1 diff)
- juggler/branches/2.0/modules/gadgeteer/drivers/5DT/DataGlove/DataGlove.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/ART/DTrack/DTrack.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/Ascension/Flock/Flock.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/Ascension/MotionStar/MotionStar.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/Ascension/Wanda/Wanda.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/Elexol/Ether24/Ether24.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/Fakespace/PinchGlove/PinchGlove.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/Immersion/IBox/IBox.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/Intersense/IS900/Intersense.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/Intersense/IntersenseAPI/IntersenseAPI.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/Logitech/ThreeDMouse/logiclass.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/Microsoft/DirectXJoystick/DirectXJoystick.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/Microsoft/SpeechRecognition/MSFTSpeechRecogDigital.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/Microsoft/SpeechRecognition/MSFTSpeechRecogString.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/Open/DTK/DTK.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/Open/LinuxJoydev/LinuxJoydev.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/Open/Trackd/TrackdController.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/Open/Trackd/TrackdSensor.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/Open/VRPN/Vrpn.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/Polhemus/Fastrak/Fastrak.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/USDigital/SerialEncoder/SerialEncoder.h (modified) (3 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/VRCO/TrackdAPI/TrackdAPIController.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/drivers/VRCO/TrackdAPI/TrackdAPISensor.h (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/gadget/Type/BaseTypeFactory.cpp (modified) (2 diffs)
- juggler/branches/2.0/modules/gadgeteer/gadget/Type/InputBaseTypes.h (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/branches/2.0/modules/gadgeteer/drivers/3Dconnexion/SpaceBall/puck_device.h
r19046 r20304 36 36 37 37 #include <gadget/gadgetParam.h> 38 #include <gadget/Type/InputBaseTypes.h> 39 #include <gadget/Type/Input.h> 40 #include <gadget/Type/Digital.h> 38 41 #include <gadget/Type/Analog.h> 39 #include <gadget/Type/Digital.h>40 42 #include <gadget/InputManager.h> 41 #include <gadget/Type/Input.h>42 #include <gadget/Type/InputMixer.h>43 43 44 44 /* … … 804 804 /** A driver for puck-like devices 805 805 */ 806 class PuckDevice : public gadget::InputMixer<gadget::InputMixer 807 <gadget::Input,gadget::Digital>,gadget::Analog> 806 class PuckDevice : public gadget::input_digital_analog_t 808 807 { 809 808 public: juggler/branches/2.0/modules/gadgeteer/drivers/5DT/DataGlove/DataGlove.cpp
r16524 r20304 40 40 #include <gadget/Type/DeviceConstructor.h> 41 41 #include <gadget/gadgetParam.h> 42 #include <gadget/Util/Debug.h> 42 43 #include <drivers/5DT/DataGlove/DataGloveStandalone.h> /* standalone dataglove driver */ 43 44 #include <drivers/5DT/DataGlove/DataGlove.h> /* Gadgeteer dataglove driver */ juggler/branches/2.0/modules/gadgeteer/drivers/5DT/DataGlove/DataGlove.h
r19463 r20304 38 38 #include <vector> 39 39 40 #include <gadget/Type/InputBaseTypes.h> 40 41 #include <gadget/Type/Input.h> 41 #include <gadget/Type/Glove.h>42 42 #include <gadget/Type/Analog.h> 43 #include <gadget/Type/Digital.h>44 #include <gadget/Type/InputMixer.h>45 43 #include <drivers/5DT/DataGlove/DataGloveStandalone.h> 46 44 … … 61 59 62 60 //class DataGlove : virtual public Input, public Glove, public Analog 63 class DataGlove : public InputMixer<Input,Analog>61 class DataGlove : public input_analog_t 64 62 { 65 63 public: juggler/branches/2.0/modules/gadgeteer/drivers/ART/DTrack/DTrack.h
r18145 r20304 31 31 32 32 #include <gadget/Devices/DriverConfig.h> 33 #include <gadget/Type/Input.h> 34 #include <gadget/Type/Position.h> 35 #include <gadget/Type/Digital.h> 36 #include <gadget/Type/Analog.h> 37 #include <gadget/Type/InputMixer.h> 33 #include <gadget/Type/InputBaseTyped.h> 38 34 39 35 #include "DTrackStandalone.h" … … 43 39 { 44 40 45 class DTrack : public InputMixer<InputMixer<InputMixer<Input, Digital>, Analog>, Position>41 class DTrack : public input_digital_analog_position_t; 46 42 { 47 43 public: juggler/branches/2.0/modules/gadgeteer/drivers/Ascension/Flock/Flock.h
r17427 r20304 36 36 #include <gadget/Devices/DriverConfig.h> 37 37 #include <vpr/Thread/Thread.h> 38 #include <gadget/Type/InputBaseTypes.h> 38 39 #include <gadget/Type/Input.h> 39 40 #include <gadget/Type/Position.h> 40 #include <gadget/Type/InputMixer.h>41 41 #include <drivers/Ascension/Flock/FlockStandalone.h> 42 42 … … 67 67 */ 68 68 //class Flock : public Input, public Position 69 class Flock : public InputMixer<Input,Position> 69 class Flock 70 : public input_position_t 70 71 { 71 72 public: juggler/branches/2.0/modules/gadgeteer/drivers/Ascension/MotionStar/MotionStar.h
r16524 r20304 39 39 #include <vpr/Thread/Thread.h> 40 40 41 #include <gadget/Type/InputBaseTypes.h> 41 42 #include <gadget/Type/Input.h> 42 43 #include <gadget/Type/Position.h> 43 #include <gadget/Type/InputMixer.h>44 44 #include <drivers/Ascension/MotionStar/MotionStarStandalone.h> 45 45 … … 72 72 * @see Position 73 73 */ 74 class MotionStar : public InputMixer<Input,Position> 74 class MotionStar 75 : public input_position_t 75 76 { 76 77 public: juggler/branches/2.0/modules/gadgeteer/drivers/Ascension/Wanda/Wanda.h
r18697 r20304 39 39 #include <vpr/vprDomain.h> 40 40 41 #include <gadget/Type/InputBaseTypes.h> 41 42 #include <gadget/Type/Input.h> 43 #include <gadget/Type/Digital.h> 42 44 #include <gadget/Type/Analog.h> 43 #include <gadget/Type/Digital.h>44 #include <gadget/Type/InputMixer.h>45 45 #include <drivers/Ascension/Wanda/WandaStandalone.h> 46 46 … … 52 52 * Gadgeteer wrapper around wanda::WandaStandalone driver. 53 53 */ 54 class Wanda : public InputMixer<Input, InputMixer<Digital, Analog> > 54 class Wanda 55 : public input_digital_analog_t 55 56 { 56 57 public: juggler/branches/2.0/modules/gadgeteer/drivers/Elexol/Ether24/Ether24.h
r18654 r20304 37 37 #include <vector> 38 38 #include <vpr/Thread/Thread.h> 39 #include <gadget/Type/InputBaseTypes.h> 39 40 #include <gadget/Type/Input.h> 40 41 #include <gadget/Type/Digital.h> 41 #include <gadget/Type/InputMixer.h>42 42 #include <drivers/Elexol/Ether24/Ether24Standalone.h> 43 43 … … 50 50 */ 51 51 class Ether24 52 : public InputMixer<Input, Digital>52 : public input_digital_t 53 53 { 54 54 public: juggler/branches/2.0/modules/gadgeteer/drivers/Fakespace/PinchGlove/PinchGlove.h
r16524 r20304 41 41 #include <drivers/Fakespace/PinchGlove/PinchGloveStandalone.h> 42 42 43 #include <gadget/Type/InputBaseTypes.h> 44 #include <gadget/Type/Input.h> 45 #include <gadget/Type/Glove.h> 43 46 #include <gadget/Type/Digital.h> 44 #include <gadget/Type/Input.h>45 #include <gadget/Type/InputMixer.h>46 #include <gadget/Type/Glove.h>47 47 48 48 namespace gadget … … 52 52 * Fakespace PinchGlove device. 53 53 */ 54 class PinchGlove : public InputMixer<InputMixer<Input, Glove>, Digital> 54 class PinchGlove 55 : public input_glove_digital_t 55 56 { 56 57 public: juggler/branches/2.0/modules/gadgeteer/drivers/Immersion/IBox/IBox.h
r16524 r20304 42 42 #include <gadget/Devices/DriverConfig.h> 43 43 #include <vector> 44 #include <gadget/Type/InputBaseTypes.h> 44 45 #include <gadget/Type/Input.h> 45 46 #include <gadget/Type/Digital.h> 46 47 #include <gadget/Type/Analog.h> 47 #include <gadget/Type/InputMixer.h>48 48 #include <drivers/Immersion/IBox/IBoxStandalone.h> 49 49 … … 60 60 */ 61 61 //class IBox : public Input, public Digital, public Analog 62 class IBox : public InputMixer<InputMixer<Input,Digital>,Analog> 62 class IBox 63 : public input_digital_analog_t 63 64 { 64 65 protected: juggler/branches/2.0/modules/gadgeteer/drivers/Intersense/IS900/Intersense.h
r18786 r20304 41 41 #include <vector> 42 42 #include <vpr/Thread/Thread.h> 43 #include <gadget/Type/InputBaseTypes.h> 43 44 #include <gadget/Type/Input.h> 44 #include <gadget/Type/Position.h>45 45 #include <gadget/Type/Digital.h> 46 46 #include <gadget/Type/Analog.h> 47 #include <gadget/Type/ InputMixer.h>47 #include <gadget/Type/Position.h> 48 48 #include <drivers/Intersense/IS900/IntersenseStandalone.h> 49 49 … … 110 110 */ 111 111 //class Intersense : public Input, public Position, public Digital, public Analog 112 class Intersense :113 public InputMixer<InputMixer<InputMixer<Input, Digital>, Analog>, Position>112 class Intersense 113 : public input_digital_analog_position_t 114 114 { 115 115 protected: juggler/branches/2.0/modules/gadgeteer/drivers/Intersense/IntersenseAPI/IntersenseAPI.h
r17118 r20304 37 37 #include <vector> 38 38 #include <vpr/Thread/Thread.h> 39 #include <gadget/Type/InputBaseTypes.h> 39 40 #include <gadget/Type/Input.h> 40 #include <gadget/Type/Position.h>41 41 #include <gadget/Type/Digital.h> 42 42 #include <gadget/Type/Analog.h> 43 #include <gadget/Type/ InputMixer.h>43 #include <gadget/Type/Position.h> 44 44 #include <drivers/Intersense/IntersenseAPI/IntersenseAPIStandalone.h> 45 45 … … 75 75 */ 76 76 class IntersenseAPI 77 : public InputMixer<InputMixer<InputMixer<Input, Digital>, Analog>, Position>77 : public input_digital_analog_position_t 78 78 { 79 79 public: juggler/branches/2.0/modules/gadgeteer/drivers/Logitech/ThreeDMouse/logiclass.h
r16524 r20304 52 52 53 53 #include <gadget/Devices/DriverConfig.h> 54 #include <gadget/Type/InputBaseTypes.h> 54 55 #include <gadget/Type/Input.h> 55 56 #include <gadget/Type/Position.h> 56 #include <gadget/Type/InputMixer.h>57 57 #include <gmtl/Vec.h> 58 58 #include <vector> … … 91 91 */ 92 92 //class ThreeDMouse : public gadget::Input, public gadget::Position 93 class ThreeDMouse : public InputMixer<Input,Position> 93 class ThreeDMouse 94 : public input_position_t 94 95 { 95 96 public: juggler/branches/2.0/modules/gadgeteer/drivers/Microsoft/DirectXJoystick/DirectXJoystick.h
r16712 r20304 39 39 #include <utility> 40 40 41 #include <gadget/Type/InputBaseTypes.h> 41 42 #include <gadget/Type/Input.h> 42 43 #include <gadget/Type/Digital.h> 43 44 #include <gadget/Type/Analog.h> 44 #include <gadget/Type/InputMixer.h>45 45 #include <drivers/Microsoft/DirectXJoystick/DirectXJoystickStandalone.h> 46 46 … … 54 54 * @see Digital, Analog 55 55 */ 56 class DirectXJoystick : public InputMixer<InputMixer<Input, Digital>, Analog> 56 class DirectXJoystick 57 : public input_digital_analog_t 57 58 { 58 59 public: juggler/branches/2.0/modules/gadgeteer/drivers/Microsoft/SpeechRecognition/MSFTSpeechRecogDigital.h
r18442 r20304 44 44 45 45 #include <vpr/Thread/Thread.h> 46 #include <gadget/Type/InputBaseTypes.h> 46 47 #include <gadget/Type/Input.h> 47 48 #include <gadget/Type/Command.h> 48 #include <gadget/Type/InputMixer.h>49 49 50 50 #include <drivers/Microsoft/SpeechRecognition/MSFTSpeechServerManager.h> … … 59 59 60 60 class MSFTSpeechRecogDigital 61 : public gadget::InputMixer<gadget::Input, gadget::Command>61 : public input_command_t 62 62 { 63 63 public: juggler/branches/2.0/modules/gadgeteer/drivers/Microsoft/SpeechRecognition/MSFTSpeechRecogString.h
r18442 r20304 43 43 44 44 #include <vpr/Thread/Thread.h> 45 #include <gadget/Type/InputBaseTypes.h> 45 46 #include <gadget/Type/Input.h> 46 47 #include <gadget/Type/String.h> 47 #include <gadget/Type/InputMixer.h>48 48 49 49 #include <drivers/Microsoft/SpeechRecognition/MSFTSpeechServerManager.h> … … 58 58 59 59 class MSFTSpeechRecogString 60 : public gadget::InputMixer<gadget::Input, gadget::String>60 : public input_string_t 61 61 { 62 62 public: juggler/branches/2.0/modules/gadgeteer/drivers/Open/DTK/DTK.h
r16524 r20304 35 35 36 36 #include <gadget/Devices/DriverConfig.h> 37 #include <gadget/Type/InputBaseTypes.h> 38 #include <gadget/Type/Input.h> 37 39 #include <gadget/Type/Digital.h> 38 40 #include <gadget/Type/Analog.h> 39 41 #include <gadget/Type/Position.h> 40 #include <gadget/Type/InputMixer.h>41 42 #include <drivers/Open/DTK/DTKMemorySegment.h> 42 43 … … 52 53 //class GADGET_CLASS_API DTK : public Input, public Position, public Digital, 53 54 // public Analog 54 class GADGET_CLASS_API DTK : public InputMixer<InputMixer<InputMixer<Input,Digital>,Analog>,Position> 55 class DTK 56 : public input_digital_analog_position_t 55 57 { 56 58 public: juggler/branches/2.0/modules/gadgeteer/drivers/Open/LinuxJoydev/LinuxJoydev.h
r16929 r20304 37 37 #include <vector> 38 38 #include <utility> 39 #include <gadget/Type/InputBaseTypes.h> 39 40 #include <gadget/Type/Input.h> 40 41 #include <gadget/Type/Digital.h> 41 42 #include <gadget/Type/Analog.h> 42 #include <gadget/Type/InputMixer.h>43 44 43 45 44 namespace gadget … … 51 50 * @see gadget:;Digital, gadget:;Analog 52 51 */ 53 class LinuxJoydev : public InputMixer<InputMixer<Input,Digital>,Analog> 52 class LinuxJoydev 53 : public input_digital_analog_t 54 54 { 55 55 public: juggler/branches/2.0/modules/gadgeteer/drivers/Open/Trackd/TrackdController.h
r16524 r20304 36 36 #include <gadget/Devices/DriverConfig.h> 37 37 #include <vector> 38 #include <gadget/Type/InputBaseTypes.h> 38 39 #include <gadget/Type/Input.h> 39 40 #include <gadget/Type/Digital.h> 40 41 #include <gadget/Type/Analog.h> 41 #include <gadget/Type/InputMixer.h>42 42 #include <drivers/Open/Trackd/TrackdControllerStandalone.h> 43 43 … … 58 58 */ 59 59 //class TrackdController : public Input, public Digital, public Analog 60 class TrackdController : public InputMixer<InputMixer<Input,Digital>,Analog> 60 class TrackdController 61 : public input_digital_analog_t 61 62 { 62 63 public: juggler/branches/2.0/modules/gadgeteer/drivers/Open/Trackd/TrackdSensor.h
r16524 r20304 36 36 #include <gadget/Devices/DriverConfig.h> 37 37 #include <vector> 38 #include <gadget/Type/InputBaseTypes.h> 38 39 #include <gadget/Type/Input.h> 39 40 #include <gadget/Type/Position.h> 40 #include <gadget/Type/InputMixer.h>41 41 #include <drivers/Open/Trackd/TrackdSensorStandalone.h> 42 42 … … 57 57 */ 58 58 //class TrackdSensor : public Input, public Position 59 class TrackdSensor : public InputMixer<Input,Position> 59 class TrackdSensor 60 : public input_position_t 60 61 { 61 62 public: juggler/branches/2.0/modules/gadgeteer/drivers/Open/VRPN/Vrpn.h
r20303 r20304 53 53 54 54 #include <vpr/Sync/Mutex.h> 55 #include <gadget/Type/InputBaseTypes.h> 55 56 #include <gadget/Type/Input.h> 56 #include <gadget/Type/Position.h>57 57 #include <gadget/Type/Digital.h> 58 58 #include <gadget/Type/Analog.h> 59 #include <gadget/Type/ InputMixer.h>59 #include <gadget/Type/Position.h> 60 60 61 61 #include <gmtl/Matrix.h> … … 88 88 */ 89 89 class Vrpn 90 : public InputMixer<InputMixer<InputMixer<Input, Digital>, Analog>, 91 Position> 90 : public input_digital_analog_position_t 92 91 { 93 92 public: juggler/branches/2.0/modules/gadgeteer/drivers/Polhemus/Fastrak/Fastrak.h
r16524 r20304 52 52 #include <jccl/Config/ConfigElementPtr.h> 53 53 54 #include <gadget/Type/InputBaseTypes.h> 54 55 #include <gadget/Type/Input.h> 55 56 #include <gadget/Type/Digital.h> 56 57 #include <gadget/Type/Position.h> 57 #include <gadget/Type/InputMixer.h>58 58 59 59 #include <drivers/Polhemus/Fastrak/FastrakStandalone.h> … … 63 63 { 64 64 65 class Fastrak : public InputMixer<InputMixer<Input,Digital>, Position> 65 class Fastrak 66 : public input_digital_position_t 66 67 { 67 68 public: juggler/branches/2.0/modules/gadgeteer/drivers/USDigital/SerialEncoder/SerialEncoder.h
r16524 r20304 38 38 #include <vpr/Sync/Guard.h> 39 39 40 #include <gadget/Type/InputBaseTypes.h> 40 41 #include <gadget/Type/Input.h> 41 42 #include <gadget/Type/Position.h> … … 44 45 45 46 #include <gadget/Type/PositionInterface.h> 46 #include <gadget/Type/InputMixer.h>47 47 48 48 #include "SerialEncoderStandalone.h" … … 50 50 51 51 52 class SerialEncoder:public gadget::InputMixer<gadget::Input,gadget::Position> 52 class SerialEncoder 53 : public gadget::input_position_t 53 54 { 54 55 public: juggler/branches/2.0/modules/gadgeteer/drivers/VRCO/TrackdAPI/TrackdAPIController.h
r18744 r20304 36 36 #include <gadget/Devices/DriverConfig.h> 37 37 #include <vector> 38 #include <gadget/Type/InputBaseTypes.h> 38 39 #include <gadget/Type/Input.h> 39 40 #include <gadget/Type/Digital.h> 40 41 #include <gadget/Type/Analog.h> 41 #include <gadget/Devices/Sim/SimInput.h>42 #include <gadget/Type/InputMixer.h>43 42 44 43 #define TRACKD_DLL_EXPORTS 0 … … 61 60 * @see gadget::Analog 62 61 */ 63 class TrackdAPIController : public InputMixer<InputMixer<Input,Digital>,Analog> 62 class TrackdAPIController 63 : public input_digital_analog_t 64 64 { 65 65 public: juggler/branches/2.0/modules/gadgeteer/drivers/VRCO/TrackdAPI/TrackdAPISensor.h
r18744 r20304 36 36 #include <gadget/Devices/DriverConfig.h> 37 37 #include <vector> 38 #include <gadget/Type/InputBaseTypes.h> 38 39 #include <gadget/Type/Input.h> 39 40 #include <gadget/Type/Position.h> 40 #include <gadget/Type/InputMixer.h>41 41 42 42 #define TRACKD_DLL_EXPORTS 0 … … 58 58 * @see gadget::Position 59 59 */ 60 class TrackdAPISensor : public InputMixer<Input,Position> 60 class TrackdAPISensor 61 : public input_position_t 61 62 { 62 63 public: juggler/branches/2.0/modules/gadgeteer/gadget/Type/BaseTypeFactory.cpp
r16524 r20304 47 47 #include <gadget/Type/String.h> 48 48 #include <gadget/Type/InputMixer.h> 49 //#include <gadget/Type/BaseTypes.h>50 49 #include <gadget/Util/Debug.h> 50 #include <gadget/Type/InputBaseTypes.h> 51 51 52 53 #define REGISTER_CONSTRUCTOR_TYPE(INPUT_TYPE) \ 54 BaseTypeConstructor< INPUT_TYPE::MixedPlaceholderType >* con_ ## INPUT_TYPE \ 55 = new BaseTypeConstructor< INPUT_TYPE::MixedPlaceholderType >; \ 56 if (NULL == con_ ## INPUT_TYPE) \ 57 { \ 58 vprDEBUG(vprDBG_ALL,vprDBG_CRITICAL_LVL) \ 59 << clrOutBOLD(clrRED,"ERROR:") << " Failed to load a known type " \ 60 << #INPUT_TYPE << std::endl << vprDEBUG_FLUSH; \ 61 } 52 62 53 63 namespace gadget … … 69 79 // Platform-independent devices. 70 80 71 // Input Digital 72 BaseTypeConstructor< InputMixer<Input,Digital>::MixedPlaceholderType >* input_digital 73 = new BaseTypeConstructor< InputMixer<Input,Digital>::MixedPlaceholderType >; 74 75 // Input Analog 76 BaseTypeConstructor< InputMixer<Input,Analog>::MixedPlaceholderType >* input_analog 77 = new BaseTypeConstructor< InputMixer<Input,Analog>::MixedPlaceholderType >; 78 79 // Input Position 80 BaseTypeConstructor< InputMixer<Input,Position>::MixedPlaceholderType >* input_position 81 = new BaseTypeConstructor< InputMixer<Input,Position>::MixedPlaceholderType >; 82 83 // Input Digital Analog 84 // Input Analog Digital 85 BaseTypeConstructor< InputMixer< InputMixer<Input,Digital> , Analog>::MixedPlaceholderType >* input_digital_analog 86 = new BaseTypeConstructor< InputMixer< InputMixer<Input,Digital> , Analog>::MixedPlaceholderType >; 87 88 // Input Digital Position 89 // Input Position Digital 90 BaseTypeConstructor< InputMixer< InputMixer<Input,Digital> , Position>::MixedPlaceholderType >* input_digital_position 91 = new BaseTypeConstructor< InputMixer< InputMixer<Input,Digital> , Position>::MixedPlaceholderType >; 92 93 // Input Analog Position 94 // Input Position Analog 95 BaseTypeConstructor< InputMixer< InputMixer<Input,Analog> , Position>::MixedPlaceholderType >* input_analog_position 96 = new BaseTypeConstructor< InputMixer< InputMixer<Input,Analog> , Position>::MixedPlaceholderType >; 97 98 // Input Digital Analog Position 99 BaseTypeConstructor< InputMixer< InputMixer< InputMixer<Input,Digital> , Analog> , Position>::MixedPlaceholderType >* input_digital_analog_position 100 = new BaseTypeConstructor< InputMixer< InputMixer< InputMixer<Input,Digital> , Analog> , Position>::MixedPlaceholderType >; 101 102 // SimInput Input Position 103 BaseTypeConstructor< InputMixer< InputMixer<SimInput,Input> , Position>::MixedPlaceholderType >* siminput_input_position 104 = new BaseTypeConstructor< InputMixer< InputMixer<SimInput,Input> , Position>::MixedPlaceholderType >; 105 106 // SimInput Input Digital 107 BaseTypeConstructor< InputMixer< InputMixer<SimInput,Input> , Digital>::MixedPlaceholderType >* siminput_input_digital 108 = new BaseTypeConstructor< InputMixer< InputMixer<SimInput,Input> , Digital>::MixedPlaceholderType >; 109 110 // SimInput Input Analog 111 BaseTypeConstructor< InputMixer< InputMixer<SimInput,Input> , Analog>::MixedPlaceholderType >* siminput_input_analog 112 = new BaseTypeConstructor< InputMixer< InputMixer<SimInput,Input> , Analog>::MixedPlaceholderType >; 113 114 // Input KeyboardMouse 115 BaseTypeConstructor< InputMixer<Input,KeyboardMouse>::MixedPlaceholderType >* input_keyboard 116 = new BaseTypeConstructor< InputMixer<Input,KeyboardMouse>::MixedPlaceholderType >; 117 118 // Input String 119 BaseTypeConstructor< InputMixer<Input, String>::MixedPlaceholderType >* input_string 120 = new BaseTypeConstructor< InputMixer<Input, String>::MixedPlaceholderType >; 121 122 // Input Command 123 BaseTypeConstructor< InputMixer<Input, Command>::MixedPlaceholderType >* input_command 124 = new BaseTypeConstructor< InputMixer<Input, Command>::MixedPlaceholderType >; 125 126 // Input Glove 127 BaseTypeConstructor< InputMixer<Input,Glove>::MixedPlaceholderType >* input_glove 128 = new BaseTypeConstructor< InputMixer<Input,Glove>::MixedPlaceholderType >; 129 130 // Input Glove Digital 131 BaseTypeConstructor< InputMixer< InputMixer<Input, Glove> , Digital>::MixedPlaceholderType >* input_glove_digital 132 = new BaseTypeConstructor< InputMixer< InputMixer<Input, Glove> , Digital>::MixedPlaceholderType >; 133 134 if( (NULL == input_digital) || 135 (NULL == input_analog) || 136 (NULL == input_position) || 137 (NULL == input_digital_analog) || 138 (NULL == input_digital_position) || 139 (NULL == input_analog_position) || 140 (NULL == input_digital_analog_position) || 141 (NULL == siminput_input_position) || 142 (NULL == siminput_input_digital) || 143 (NULL == siminput_input_analog) || 144 (NULL == input_keyboard) || 145 (NULL == input_string) || 146 (NULL == input_command) || 147 (NULL == input_glove) || 148 (NULL == input_glove_digital) ) 149 { 150 vprDEBUG(vprDBG_ALL,vprDBG_CRITICAL_LVL) 151 << clrOutBOLD(clrRED,"ERROR:") << " Failed to load a known device\n" 152 << vprDEBUG_FLUSH; 153 } 81 REGISTER_CONSTRUCTOR_TYPE(input_digital_t); 82 REGISTER_CONSTRUCTOR_TYPE(input_analog_t); 83 REGISTER_CONSTRUCTOR_TYPE(input_position_t); 84 REGISTER_CONSTRUCTOR_TYPE(input_keyboard_t); 85 REGISTER_CONSTRUCTOR_TYPE(input_string_t); 86 REGISTER_CONSTRUCTOR_TYPE(input_command_t); 87 REGISTER_CONSTRUCTOR_TYPE(input_glove_t); 88 REGISTER_CONSTRUCTOR_TYPE(input_digital_analog_t); 89 REGISTER_CONSTRUCTOR_TYPE(input_digital_position_t); 90 REGISTER_CONSTRUCTOR_TYPE(input_analog_position_t); 91 REGISTER_CONSTRUCTOR_TYPE(input_glove_digital_t); 92 REGISTER_CONSTRUCTOR_TYPE(siminput_input_position); 93 REGISTER_CONSTRUCTOR_TYPE(siminput_input_digital); 94 REGISTER_CONSTRUCTOR_TYPE(siminput_input_analog); 95 REGISTER_CONSTRUCTOR_TYPE(input_digital_analog_position_t); 154 96 } 155 97
