Protocols: Fix includes to use the explicit path of the header files
[remote/remote-mci.git] / protocols / motecontrol / MsgConfirm.h
blobf47645a90d43a92839a9d4fb6e3dd067f187e66a
1 #ifndef REMOTE_PROTOCOLS_MOTECONTROL_MSGCONFIRM_H
2 #define REMOTE_PROTOCOLS_MOTECONTROL_MSGCONFIRM_H
4 #include "protocols/BaseMsg.h"
5 #include "protocols/motecontrol/localconstants.h"
6 #include "protocols/motecontrol/MsgRequest.h"
8 namespace remote { namespace protocols { namespace motecontrol {
10 class MsgConfirm : public BaseMsg
12 public:
13 MsgConfirm(uint8_t command, result_t result, status_t status );
14 MsgConfirm(uint8_t*& buffer, uint32_t& buflen);
15 void operator = (const MsgConfirm& o);
17 uint32_t getLength();
18 uint8_t* write(uint8_t* buffer, uint32_t& buflen);
19 void print(FILE* s);
21 uint8_t getCommand();
22 result_t getResult();
23 status_t getStatus();
25 protected:
26 uint8_t* read(uint8_t* buffer, uint32_t& buflen);
27 uint8_t command;
28 result_t result;
29 status_t status;
31 }}}
32 #endif