HEllo

device.hpp
1
31 #ifndef _DEVICE_H_
32 #define _DEVICE_H_
33
34 #include <iostream>
35 #include <stdint.h>
36 #include <unistd.h>
37
46 class Device{
47
48 public:
49 Device();
50 ~Device();
51
52
61 uint8_t doSomething(uint8_t thing);
62
63 private:
64 uint8_t foo;
65 };
66
67
68 #endif // _DEVICE_H_
Device
Device Class this calss defines a device.
Definition: device.hpp:46
Device::doSomething
uint8_t doSomething(uint8_t thing)
It dose something it adds two thing together.
Definition: device.cpp:9