Wyatt  1.0.1
MotorMessage.h
1 #pragma once
2 #include "messages/IMessage.h"
3 #include "exceptions/DataSizeException.h"
4 #include "DriveConstants.h"
5 
10 class MotorMessage: public IMessage {
11 
12 public:
13 
21  MotorMessage(Hardware hardware, int data);
22 
26  ~MotorMessage() override;
27 
32  std::string serialize() override;
33 
38  int getData();
39 
40 private:
44  int data;
45 };
~MotorMessage() override
Hardware hardware
Definition: IMessage.h:45
MotorMessage(Hardware hardware, int data)
Definition: MotorMessage.cpp:4
std::string serialize() override