-
Severin Landwein authoredSeverin Landwein authored
class_for_demonstration.cpp 738 B
#include "class_for_demonstration.h"
#include <sys/types.h>
#include <unistd.h>
#include <string>
#include <vector>
#include "another_header.h"
uint8_t ClassForDemonstration::get_member_1() {
return member_example_1;
}
uint8_t ClassForDemonstration::getMember2() {
return memberExample2;
}
void ClassForDemonstration::set_member_1(uint8_t value) {
member_example_1 = value;
}
void ClassForDemonstration::setMember2(uint8_t value) {
memberExample2 = value;
}
void ClassForDemonstration::serial_out_object(Stream &stream) {
stream.print(get_member_1());
stream.print("\t");
stream.print(getMember2());
}
void ClassForDemonstration::fill_object() {
set_member_1(millis());
setMember2(millis());
}