Show
Ignore:
Timestamp:
06/15/07 16:13:43 (1 year ago)
Author:
patrick
Message:

MFT r20307: Define all possible input base types in InputBaseTypes?.h. When

creating a new device driver you must derive from one of these
classes. This was added in an attempt to prevent bugs in device
drivers where they do not work correctly in a cluster
configuration because they are derived from an unknown
gadget::InputMixer?<S,T> instantiation.

This revision includes the fix for the VRPN driver so that it will
work in a cluster configuration again.

Bumped the Gadgeteer version to 1.1.28.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/branches/2.2/modules/gadgeteer/drivers/VRCO/TrackdAPI/TrackdAPIController.h

    r19729 r20309  
    3030#include <gadget/Devices/DriverConfig.h> 
    3131#include <vector> 
     32#include <gadget/Type/InputBaseTypes.h> 
    3233#include <gadget/Type/Input.h> 
    3334#include <gadget/Type/Digital.h> 
    3435#include <gadget/Type/Analog.h> 
    35 #include <gadget/Devices/Sim/SimInput.h> 
    36 #include <gadget/Type/InputMixer.h> 
    3736 
    3837#define TRACKD_DLL_EXPORTS 0 
     
    5554 * @see gadget::Analog 
    5655 */ 
    57 class TrackdAPIController : public InputMixer<InputMixer<Input,Digital>,Analog> 
     56class TrackdAPIController 
     57   : public input_digital_analog_t 
    5858{ 
    5959public: 
  • juggler/branches/2.2/modules/gadgeteer/drivers/VRCO/TrackdAPI/TrackdAPISensor.h

    r19729 r20309  
    3030#include <gadget/Devices/DriverConfig.h> 
    3131#include <vector> 
     32#include <gadget/Type/InputBaseTypes.h> 
    3233#include <gadget/Type/Input.h> 
    3334#include <gadget/Type/Position.h> 
    34 #include <gadget/Type/InputMixer.h> 
    3535 
    3636#define TRACKD_DLL_EXPORTS 0 
     
    5252 * @see gadget::Position 
    5353 */ 
    54 class TrackdAPISensor : public InputMixer<Input,Position> 
     54class TrackdAPISensor 
     55   : public input_position_t 
    5556{ 
    5657public: