23#ifndef _FAKEETHRESOURCE_H_
24#define _FAKEETHRESOURCE_H_
45 bool open2(eOipv4addr_t remIP, yarp::os::Searchable &cfgtotal)
override;
50 const void *
getUDPtransmit(eOipv4addressing_t &destination,
size_t &sizeofpacket, uint16_t &numofrops);
56 bool getRemoteValue(
const eOprotID32_t id32,
void *value,
const double timeout = 0.100,
const unsigned int retries = 0);
58 bool getRemoteValues(
const std::vector<eOprotID32_t> &id32s,
const std::vector<void*> &values,
const double timeout = 0.500);
62 bool setcheckRemoteValue(
const eOprotID32_t id32,
void *value,
const unsigned int retries = 10,
const double waitbeforecheck = 0.001,
const double timeout = 0.050);
66 bool setLocalValue(
const eOprotID32_t id32,
const void *value,
bool overrideROprotection =
false);
73 bool serviceVerifyActivate(eOmn_serv_category_t category,
const eOmn_serv_parameter_t* param,
double timeout = 0.500);
75 bool serviceSetRegulars(eOmn_serv_category_t category, vector<eOprotID32_t> &id32vector,
double timeout = 0.500);
77 bool serviceStart(eOmn_serv_category_t category,
double timeout = 0.500);
79 bool serviceStop(eOmn_serv_category_t category,
double timeout = 0.500);
98 eOipv4addressing_t ipv4addressing;
99 eOipv4addr_t ipv4addr;
100 string ipv4addrstring;
102 string boardTypeString;
103 eObrd_ethtype_t ethboardtype;
104 double lastRecvMsgTimestamp;
105 bool isInRunningMode;
109 bool verifiedEPprotocol[eoprot_endpoints_numberof];
110 bool verifiedBoardPresence;
112 bool verifiedBoardTransceiver;
113 eOmn_comm_status_t boardCommStatus;
114 uint16_t usedNumberOfRegularROPs;
129 bool cleanBoardBehaviour(
void);
131 bool isRunning(
void);
bool processRXpacket(const void *data, const size_t size)
bool serviceStart(eOmn_serv_category_t category, double timeout=0.500)
bool getRemoteValues(const std::vector< eOprotID32_t > &id32s, const std::vector< void * > &values, const double timeout=0.500)
bool getRemoteValue(const eOprotID32_t id32, void *value, const double timeout=0.100, const unsigned int retries=0)
const void * getUDPtransmit(eOipv4addressing_t &destination, size_t &sizeofpacket, uint16_t &numofrops)
HostTransceiver * getTransceiver()
bool serviceSetRegulars(eOmn_serv_category_t category, vector< eOprotID32_t > &id32vector, double timeout=0.500)
bool setRemoteValue(const eOprotID32_t id32, void *value)
bool serviceStop(eOmn_serv_category_t category, double timeout=0.500)
const Properties & getProperties()
bool setcheckRemoteValue(const eOprotID32_t id32, void *value, const unsigned int retries=10, const double waitbeforecheck=0.001, const double timeout=0.050)
bool open2(eOipv4addr_t remIP, yarp::os::Searchable &cfgtotal) override
bool verifyEPprotocol(eOprot_endpoint_t ep)
bool CANPrintHandler(eOmn_info_basic_t *infobasic)
bool setLocalValue(const eOprotID32_t id32, const void *value, bool overrideROprotection=false)
bool getLocalValue(const eOprotID32_t id32, void *value)
bool serviceVerifyActivate(eOmn_serv_category_t category, const eOmn_serv_parameter_t *param, double timeout=0.500)