Wyatt  1.0.1
IMessage.h
1 
2 #pragma once
3 #include "Hardware.h"
4 #include <string>
5 #include "exceptions/MessageLengthException.h"
6 
10 class IMessage {
11 public:
12 
18  this->hardware = hardware;
19  }
20 
24  virtual ~IMessage() {};
25 
31  return this->hardware;
32  }
33 
38  virtual std::string serialize() = 0;
39 
40 
41 protected:
46 };
IMessage(Hardware hardware)
Definition: IMessage.h:17
Hardware getHardware()
Definition: IMessage.h:30
Hardware hardware
Definition: IMessage.h:45
virtual std::string serialize()=0
virtual ~IMessage()
Definition: IMessage.h:24