Collections of BERTL libraries

Committer:
DongExpander
Date:
Mon Apr 18 12:30:42 2016 +0000
Revision:
2:4a9ed5ca8a9a
Feature; Added functions_bertl and class_software

Who changed what in which revision?

UserRevisionLine numberNew contents of line
DongExpander 2:4a9ed5ca8a9a 1 #ifndef class_software
DongExpander 2:4a9ed5ca8a9a 2
DongExpander 2:4a9ed5ca8a9a 3 #define MAX_LOG 100
DongExpander 2:4a9ed5ca8a9a 4
DongExpander 2:4a9ed5ca8a9a 5 #define class_software
DongExpander 2:4a9ed5ca8a9a 6
DongExpander 2:4a9ed5ca8a9a 7 class Logfile {
DongExpander 2:4a9ed5ca8a9a 8 //functions
DongExpander 2:4a9ed5ca8a9a 9 public:
DongExpander 2:4a9ed5ca8a9a 10 Logfile();
DongExpander 2:4a9ed5ca8a9a 11 Logfile(int lenght);
DongExpander 2:4a9ed5ca8a9a 12 void push(unsigned char input);
DongExpander 2:4a9ed5ca8a9a 13 unsigned char last();
DongExpander 2:4a9ed5ca8a9a 14 unsigned char at(int pos);
DongExpander 2:4a9ed5ca8a9a 15 //variables
DongExpander 2:4a9ed5ca8a9a 16 private:
DongExpander 2:4a9ed5ca8a9a 17 unsigned char array[MAX_LOG];
DongExpander 2:4a9ed5ca8a9a 18 int array_lenght;
DongExpander 2:4a9ed5ca8a9a 19 };
DongExpander 2:4a9ed5ca8a9a 20
DongExpander 2:4a9ed5ca8a9a 21 #endif
DongExpander 2:4a9ed5ca8a9a 22