4 #ifndef __HARDWARE_NONE_H__
5 #define __HARDWARE_NONE_H__
7 #include "nodemanagerroot.h"
11 #include "statuscode.h"
12 #include "uaarraytemplates.h"
14 #include "nodemanagerbase.h"
19 class ControllerObject;
20 class HardWareInterface;
23 namespace CTA_Hardware {
24 class HardWareInterface;
33 namespace CTA_Slc_Dict {
37 namespace CTA_Hardware {
45 int init(std::string name);
47 void getId(std::string *id1, std::string *id2);
50 int cmd(std::string value, std::string *retValue);
51 int set(std::string
value);
52 int set(std::string
value, std::vector<Byte> res);
53 int set(std::string
value, std::vector<short int> res);
54 int set(std::string
value, std::vector<int> res);
55 int set(std::string
value, std::vector<long> res);
56 int set(std::string
value, std::vector<float> res);
58 int get(std::string command, std::vector<Byte> *res);
59 int get(std::string command, std::vector<short int> *res);
60 int get(std::string command, std::vector<int> *res);
61 int get(std::string command, std::vector<long> *res);
62 int get(std::string command, std::vector<float> *res);
64 int get(std::string command, std::string *result);
69 int setTrame(std::string value, std::string *retValue);
70 int getTrame(std::string value, std::string *retValue);
72 int write(std::string ip,
int port,
char *sendBuffer);
87 std::string m_pullPush;
90 std::string m_data_Type;
91 std::string m_headerId;
98 char recvBuffer[8192];
102 int m_manageInterface;