4 #ifndef __HARDWARE_SERIAL_H__
5 #define __HARDWARE_SERIAL_H__
7 #include "nodemanagerroot.h"
11 #include "statuscode.h"
12 #include "uaarraytemplates.h"
14 #include "nodemanagerbase.h"
23 #define LG_BUFFER 1024
29 class ControllerObject;
32 namespace CTA_Hardware {
33 class HardWareInterface;
42 namespace CTA_Slc_Dict {
45 namespace CTA_Hardware {
54 int init(std::string name);
57 int set(std::string ip,
int port, std::vector<Byte>
value);
58 int set(std::string
value, std::vector<short int> res) {
62 int set(std::string
value, std::vector<int> res) {
66 int set(std::string
value, std::vector<long> res) {
70 int set(std::string
value, std::vector<float> res) {
74 int get(std::string command, std::vector<Byte> *res) {
return 0;};
75 int get(std::string command, std::vector<short int> *res){
return 0;};
76 int get(std::string command, std::vector<int> *res){
return 0;};
77 int get(std::string command, std::vector<long> *res){
return 0;};
78 int get(std::string command, std::vector<float> *res){
return 0;};
80 int set(std::string
value);
81 int set(std::string
value, std::vector<Byte> res) {
85 int cmd(std::string
value, std::string *retValue) {
89 int get(std::string command, std::string *result);