Subversion Repositories HomeAutomation

Rev

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

Rev 1322 Rev 1323
Line 12... Line 12...
12
#include <boost/make_shared.hpp>
12
#include <boost/make_shared.hpp>
13
#include "message/Datatype.h"
13
#include "message/Datatype.h"
14
#include "message/BitBuffer.h"
14
#include "message/BitBuffer.h"
15
#include "protocol/Protocol.h"
15
#include "protocol/Protocol.h"
16
#include "utils/convert.h"
16
#include "utils/convert.h"
-
 
17
#include "xml/Node.h"
17
 
18
 
18
namespace atom {
19
namespace atom {
19
namespace message {
20
namespace message {
20
 
21
 
21
using namespace std;
22
using namespace std;
22
 
23
 
23
class Variable
24
class Variable
24
{
25
{
25
public:
26
public:
26
    Variable();
27
    Variable();
27
    Variable(string name, string datatype, bool required, string unit);
28
    Variable(xml::Node xmlNode);
28
    virtual ~Variable();
29
    virtual ~Variable();
29
 
30
 
30
    string getName();
31
    string getName();
31
    Datatype::pointer getDatatype();
32
    Datatype::pointer getDatatype();
32
    string getUnit();
33
    string getUnit();