Subversion Repositories HomeAutomation

Rev

Rev 991 | Rev 999 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 991 Rev 997
Line 24... Line 24...
24
 
24
 
25
using namespace std;
25
using namespace std;
26
 
26
 
27
#include <string>
27
#include <string>
28
#include <map>
28
#include <map>
-
 
29
#include <stdexcept>
29
 
30
 
30
#include "canmessageexception.h"
31
#include "canmessageexception.h"
31
#include "canidtranslator.h"
32
#include "canidtranslator.h"
32
#include "canvariable.h"
33
#include "canvariable.h"
33
#include "../Tools/tools.h"
34
#include "../Tools/tools.h"
Line 59... Line 60...
59
    void setCommandName(string commandName) { myCommandName = commandName; }; ///FIXME: Check if data is valid
60
    void setCommandName(string commandName) { myCommandName = commandName; }; ///FIXME: Check if data is valid
60
 
61
 
61
    map<string, CanVariable>& getData() { return myData; };
62
    map<string, CanVariable>& getData() { return myData; };
62
    string getJSONData();
63
    string getJSONData();
63
    void setData(map<string, CanVariable> data);
64
    void setData(map<string, CanVariable> data);
-
 
65
 
-
 
66
    string toString();
64
   
67
   
65
private:
68
private:
66
    bool myIsUnknown;
69
    bool myIsUnknown;
67
    string myClassName;
70
    string myClassName;
68
    string myDirectionFlag;
71
    string myDirectionFlag;