new: dev: initialStructure

This commit is contained in:
hhau 2023-11-19 17:14:40 +01:00
parent 344e76e603
commit da1f4d5891
7 changed files with 84 additions and 0 deletions

5
example/plain.cpp Normal file
View File

@ -0,0 +1,5 @@
#include "Dezibot.h"
int main(){
return 0;
}

45
src/Dezibot.h Normal file
View File

@ -0,0 +1,45 @@
/**
* @file Dezibot.h
* @author your name (you@domain.com)
* @brief
* @version 0.1
* @date 2023-11-19
*
* @copyright Copyright (c) 2023
*
*/
#ifndef Dezibot_h
#define Dezibot_h
#include "Motion.h"
#include "LightDetection.h"
#include "ColorDetection.h"
#include "MultiColorLight.h"
#include "MotionDetection.h"
class Dezibot{
protected:
public:
Motion motion;
LightDetection lightDetection;
ColorDetection colorDetection;
MultiColorLight multiColorLight;
MotionDetection motionDetection;
/*
Display display
IRCommuncation irCommuncation (beinhaltet Kommuniaktion / Annhärung...)
Battery battery
Extension extension
WiFi wifi //wie wird WiFi geschrieben?
//nur lesender Zugriff, in dieser Klasse sind andere Instanzen mit dem Dezibotinterface gekapselt
Friends friends
OperatingSystem operatingSystem
USBCommunication usbCommunication
Button button
//nicht unique, initzial Dezibot
String robotName
*/
};
#endif //Dezibot_h

View File

@ -0,0 +1,7 @@
#ifndef ColorDetection_h
#define ColorDetection_h
class ColorDetection{
};
#endif //ColorDetection_h

View File

@ -0,0 +1,8 @@
#ifndef LightDetection_h
#define LightDetection_h
//beinhaltet IR + Tageslicht
class LightDetection{
};
#endif //LightDetection_h

7
src/motion/Motion.h Normal file
View File

@ -0,0 +1,7 @@
#ifndef Motion_h
#define Motion_h
class Motion{
};
#endif //Motion_h

View File

@ -0,0 +1,6 @@
#ifndef MotionDetection_h
#define MotionDetection_h
class MotionDetection{
};
#endif //MotionDetection

View File

@ -0,0 +1,6 @@
#ifndef MultiColorLight_h
#define MultiColorLight_h
class MultiColorLight{
};
#endif //MultiColorLight_h