Changeset 32c7682 in thomson for elec/CrO2/software/device.h


Ignore:
Timestamp:
Jan 28, 2012, 3:13:17 PM (12 years ago)
Author:
Adrien Destugues <pulkomandy@…>
Branches:
main
Children:
c7b4218
Parents:
96bc8fa
Message:
  • Poll motor on pin status and report it in the GUI.
  • Some cleanup of device class.

git-svn-id: svn://localhost/thomson@12 85ae3b6b-dc8f-4344-a89d-598714f2e4e5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • elec/CrO2/software/device.h

    r96bc8fa r32c7682  
    1414{
    1515        public:
    16                 Device(); // Open device and set it up for communication
     16                static Device& getDevice() throw(const char*);
     17
    1718                ~Device();
    1819
     
    2223
    2324        private:
     25                Device() throw(const char*); // Open device and set it up for communication
     26                Device(const Device& other);
     27
     28
    2429                usb_dev_handle* handle;
    2530
    2631                static bool initOnce;
     32                static Device* instance;
    2733
    2834                static const uint32_t vid;
Note: See TracChangeset for help on using the changeset viewer.