iCub-main
Classes | Public Member Functions | List of all members
eth::AbstractEthResource Class Referenceabstract

#include <abstractEthResource.h>

+ Inheritance diagram for eth::AbstractEthResource:

Classes

struct  Properties
 

Public Member Functions

virtual bool open2 (eOipv4addr_t remIP, yarp::os::Searchable &cfgtotal)=0
 
virtual bool close ()=0
 
virtual const PropertiesgetProperties ()=0
 
virtual const void * getUDPtransmit (eOipv4addressing_t &destination, size_t &sizeofpacket, uint16_t &numofrops)=0
 
virtual bool processRXpacket (const void *data, const size_t size)=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 setRemoteValue (const eOprotID32_t id32, void *value)=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 bool getLocalValue (const eOprotID32_t id32, void *value)=0
 
virtual bool setLocalValue (eOprotID32_t id32, const void *value, bool overrideROprotection=false)=0
 
virtual bool verifyEPprotocol (eOprot_endpoint_t ep)=0
 
virtual bool CANPrintHandler (eOmn_info_basic_t *infobasic)=0
 
virtual bool serviceVerifyActivate (eOmn_serv_category_t category, const eOmn_serv_parameter_t *param, double timeout=0.500)=0
 
virtual bool serviceSetRegulars (eOmn_serv_category_t category, vector< eOprotID32_t > &id32vector, double timeout=0.500)=0
 
virtual bool serviceStart (eOmn_serv_category_t category, double timeout=0.500)=0
 
virtual bool serviceStop (eOmn_serv_category_t category, double timeout=0.500)=0
 
virtual bool Tick ()=0
 
virtual bool Check ()=0
 
virtual bool isFake ()=0
 
virtual HostTransceivergetTransceiver ()=0
 

Detailed Description

Definition at line 40 of file abstractEthResource.h.

Member Function Documentation

◆ CANPrintHandler()

virtual bool eth::AbstractEthResource::CANPrintHandler ( eOmn_info_basic_t *  infobasic)
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.

◆ Check()

virtual bool eth::AbstractEthResource::Check ( )
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.

◆ close()

virtual bool eth::AbstractEthResource::close ( )
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.

◆ getLocalValue()

virtual bool eth::AbstractEthResource::getLocalValue ( const eOprotID32_t  id32,
void *  value 
)
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.

◆ getProperties()

virtual const Properties& eth::AbstractEthResource::getProperties ( )
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.

◆ getRemoteValue()

virtual bool eth::AbstractEthResource::getRemoteValue ( const eOprotID32_t  id32,
void *  value,
const double  timeout = 0.100,
const unsigned int  retries = 0 
)
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.

◆ getRemoteValues()

virtual bool eth::AbstractEthResource::getRemoteValues ( const std::vector< eOprotID32_t > &  id32s,
const std::vector< void * > &  values,
const double  timeout = 0.500 
)
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.

◆ getTransceiver()

virtual HostTransceiver* eth::AbstractEthResource::getTransceiver ( )
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.

◆ getUDPtransmit()

virtual const void* eth::AbstractEthResource::getUDPtransmit ( eOipv4addressing_t &  destination,
size_t &  sizeofpacket,
uint16_t &  numofrops 
)
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.

◆ isFake()

virtual bool eth::AbstractEthResource::isFake ( )
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.

◆ open2()

virtual bool eth::AbstractEthResource::open2 ( eOipv4addr_t  remIP,
yarp::os::Searchable &  cfgtotal 
)
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.

◆ processRXpacket()

virtual bool eth::AbstractEthResource::processRXpacket ( const void *  data,
const size_t  size 
)
pure virtual

Implemented in eth::EthResource, and eth::FakeEthResource.

◆ serviceSetRegulars()

virtual bool eth::AbstractEthResource::serviceSetRegulars ( eOmn_serv_category_t  category,
vector< eOprotID32_t > &  id32vector,
double  timeout = 0.500 
)
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.

◆ serviceStart()

virtual bool eth::AbstractEthResource::serviceStart ( eOmn_serv_category_t  category,
double  timeout = 0.500 
)
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.

◆ serviceStop()

virtual bool eth::AbstractEthResource::serviceStop ( eOmn_serv_category_t  category,
double  timeout = 0.500 
)
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.

◆ serviceVerifyActivate()

virtual bool eth::AbstractEthResource::serviceVerifyActivate ( eOmn_serv_category_t  category,
const eOmn_serv_parameter_t *  param,
double  timeout = 0.500 
)
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.

◆ setcheckRemoteValue()

virtual bool eth::AbstractEthResource::setcheckRemoteValue ( const eOprotID32_t  id32,
void *  value,
const unsigned int  retries = 10,
const double  waitbeforecheck = 0.001,
const double  timeout = 0.050 
)
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.

◆ setLocalValue()

virtual bool eth::AbstractEthResource::setLocalValue ( eOprotID32_t  id32,
const void *  value,
bool  overrideROprotection = false 
)
pure virtual

Implemented in eth::EthResource, and eth::FakeEthResource.

◆ setRemoteValue()

virtual bool eth::AbstractEthResource::setRemoteValue ( const eOprotID32_t  id32,
void *  value 
)
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.

◆ Tick()

virtual bool eth::AbstractEthResource::Tick ( )
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.

◆ verifyEPprotocol()

virtual bool eth::AbstractEthResource::verifyEPprotocol ( eOprot_endpoint_t  ep)
pure virtual

Implemented in eth::FakeEthResource, and eth::EthResource.


The documentation for this class was generated from the following file: