23#ifndef _ABSTRACTETHRESOURCE_H_
24#define _ABSTRACTETHRESOURCE_H_
27#include "EoProtocol.h"
29#include <yarp/os/Searchable.h>
63 virtual bool open2(eOipv4addr_t remIP, yarp::os::Searchable &cfgtotal) = 0;
70 virtual const void *
getUDPtransmit(eOipv4addressing_t &destination,
size_t &sizeofpacket, uint16_t &numofrops) = 0;
74 virtual bool getRemoteValue(
const eOprotID32_t id32,
void *value,
const double timeout = 0.100,
const unsigned int retries = 0) = 0;
76 virtual bool getRemoteValues(
const std::vector<eOprotID32_t> &id32s,
const std::vector<void*> &values,
const double timeout = 0.500) = 0;
80 virtual bool setcheckRemoteValue(
const eOprotID32_t id32,
void *value,
const unsigned int retries = 10,
const double waitbeforecheck = 0.001,
const double timeout = 0.050) = 0;
84 virtual bool setLocalValue(eOprotID32_t id32,
const void *value,
bool overrideROprotection =
false) = 0;
90 virtual bool serviceVerifyActivate(eOmn_serv_category_t category,
const eOmn_serv_parameter_t* param,
double timeout = 0.500) = 0;
92 virtual bool serviceSetRegulars(eOmn_serv_category_t category, vector<eOprotID32_t> &id32vector,
double timeout = 0.500) = 0;
94 virtual bool serviceStart(eOmn_serv_category_t category,
double timeout = 0.500) = 0;
96 virtual bool serviceStop(eOmn_serv_category_t category,
double timeout = 0.500) = 0;
virtual bool setcheckRemoteValue(const eOprotID32_t id32, void *value, const unsigned int retries=10, const double waitbeforecheck=0.001, const double timeout=0.050)=0
virtual const void * getUDPtransmit(eOipv4addressing_t &destination, size_t &sizeofpacket, uint16_t &numofrops)=0
virtual bool serviceVerifyActivate(eOmn_serv_category_t category, const eOmn_serv_parameter_t *param, double timeout=0.500)=0
virtual HostTransceiver * getTransceiver()=0
virtual const Properties & getProperties()=0
virtual bool setRemoteValue(const eOprotID32_t id32, void *value)=0
virtual bool verifyEPprotocol(eOprot_endpoint_t ep)=0
virtual bool getLocalValue(const eOprotID32_t id32, void *value)=0
virtual bool setLocalValue(eOprotID32_t id32, const void *value, bool overrideROprotection=false)=0
virtual bool serviceStop(eOmn_serv_category_t category, double timeout=0.500)=0
virtual bool serviceSetRegulars(eOmn_serv_category_t category, vector< eOprotID32_t > &id32vector, double timeout=0.500)=0
virtual bool processRXpacket(const void *data, const size_t size)=0
virtual bool serviceStart(eOmn_serv_category_t category, double timeout=0.500)=0
virtual bool getRemoteValue(const eOprotID32_t id32, void *value, const double timeout=0.100, const unsigned int retries=0)=0
virtual bool getRemoteValues(const std::vector< eOprotID32_t > &id32s, const std::vector< void * > &values, const double timeout=0.500)=0
virtual bool CANPrintHandler(eOmn_info_basic_t *infobasic)=0
virtual bool open2(eOipv4addr_t remIP, yarp::os::Searchable &cfgtotal)=0
string ipv4addressingString
eOipv4addressing_t ipv4addressing
eObrd_ethtype_t boardtype
eOversion_t firmwareversion