#ifndef PROLOGIX #define PROLOGIX #include "Device.h" #include #include "PTY_Interface.h" #include #include using namespace std; class Prologix_GPIB_USB : public Device { public: typedef string (Prologix_GPIB_USB::*handler)(Interface *fpl, vector *args); map cmds; Prologix_GPIB_USB(); ~Prologix_GPIB_USB(); string handleCMD(Interface *fpl, string cmd, vector *args); string version(Interface *fpl, vector *args); string addr(Interface *fpl, vector *args); string kill(Interface *fpl, vector *args); void addCMD(const char *cmd, handler h); void addCMD(string cmd, handler h); }; #endif