Subversion Repositories Projects

Rev

Rev 397 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 397 Rev 399
Line 7... Line 7...
7
 */
7
 */
Line 8... Line 8...
8
 
8
 
Line 9... Line 9...
9
using namespace std;
9
using namespace std;
-
 
10
 
-
 
11
class Communication{
10
 
12
    protected:
11
class Communication{
13
        bool connected;
12
    public:
14
    public:
13
        //connect to MK
15
        //connect to MK
14
        virtual void connect_MK(string) {};
16
        virtual void connect_MK(string) {};
15
        //send command to MK
17
        //send command to MK
-
 
18
        virtual bool send_cmd(char, int, char[150],unsigned int, bool) { return false; };
-
 
19
        virtual void stop_resend() {};
16
        virtual bool send_cmd(char, int, char[150],unsigned int, bool) { return false; };
20
       
17
        virtual void stop_resend() {};
21
        bool is_connected();
18
};
22
};