3 #ifndef __HARDWARE_PCI_H__
4 #define __HARDWARE_PCI_H__
6 #include "nodemanagerroot.h"
10 #include "statuscode.h"
11 #include "uaarraytemplates.h"
13 #include "nodemanagerbase.h"
17 #define LG_BUFFER 1024
23 class ControllerObject;
26 namespace CTA_Hardware {
27 class HardWareInterface;
38 namespace CTA_Slc_Dict {
42 namespace CTA_Hardware {
46 HardWare_Pci(std::string full,
const char *acm, speed_t vitesse,
51 int init(std::string name);
53 int cmd(std::string
value, std::string *retValue) {
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) {
75 int get(std::string command, std::vector<Byte> *res) {
return 0;};
76 int get(std::string command, std::vector<short int> *res){
return 0;};
77 int get(std::string command, std::vector<int> *res){
return 0;};
78 int get(std::string command, std::vector<long> *res){
return 0;};
79 int get(std::string command, std::vector<float> *res){
return 0;};
81 int set(std::string
value);
82 int set(std::string
value, std::vector<Byte> res) {
87 int get(std::string command, std::string *result);