UML into Header

Files at this revision

API Documentation at this revision

Comitter:
Gandalf_The_Great
Date:
Thu May 07 10:58:33 2015 +0000
Parent:
0:9360b875cb23
Commit message:
+main

Changed in this revision

Bertl.h Show annotated file Show diff for this revision Revisions of this file
LedBertl.h Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
ur_Bertl.h Show annotated file Show diff for this revision Revisions of this file
diff -r 9360b875cb23 -r 873d94ea7daa Bertl.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Bertl.h	Thu May 07 10:58:33 2015 +0000
@@ -0,0 +1,8 @@
+class Bertl : ur_Bertl {
+        protected:
+    int anzahl;
+    public:
+    int Move();
+    bool FrontIsClear();
+    bool PickBeeper(int anz) ;
+    }
\ No newline at end of file
diff -r 9360b875cb23 -r 873d94ea7daa LedBertl.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LedBertl.h	Thu May 07 10:58:33 2015 +0000
@@ -0,0 +1,6 @@
+class LedBertl : Bertl{
+    protected :   
+      uint8_t zeit;
+    Public:
+      string Anzeige();
+}     
\ No newline at end of file
diff -r 9360b875cb23 -r 873d94ea7daa main.cpp
--- a/main.cpp	Thu May 07 10:40:44 2015 +0000
+++ b/main.cpp	Thu May 07 10:58:33 2015 +0000
@@ -1,23 +1,8 @@
-class ur_Bertl {
-             public:
+
     void Move();
-    void Move(int anz);
-    void TurnLeft();
-    void TurnOff();
-             protected:
-    bool error(int code);
+    {
+        return 2;
+        }
+
     
-class Bertl : ur_Bertl {
-        protected:
-    int anzahl;
-    public:
-    int Move();
-    bool FrontIsClear();
-    bool PickBeeper(int anz) ;
-    
- class LedBertl : Bertl{
-    protected :   
-      uint8_t zeit;
-    Public:
-      string Anzeige();
-        
\ No newline at end of file
+ 
\ No newline at end of file
diff -r 9360b875cb23 -r 873d94ea7daa ur_Bertl.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ur_Bertl.h	Thu May 07 10:58:33 2015 +0000
@@ -0,0 +1,9 @@
+class ur_Bertl {
+             public:
+    void Move();
+    void Move(int anz);
+    void TurnLeft();
+    void TurnOff();
+             protected:
+    bool error(int code);
+    }
\ No newline at end of file