iCub-main
Public Member Functions | List of all members
eth::EthResource Class Reference

#include <ethResource.h>

+ Inheritance diagram for eth::EthResource:

Public Member Functions

 EthResource ()
 
 ~EthResource ()
 
bool open2 (eOipv4addr_t remIP, yarp::os::Searchable &cfgtotal)
 
bool close ()
 
const PropertiesgetProperties ()
 
const void * getUDPtransmit (eOipv4addressing_t &destination, size_t &sizeofpacket, uint16_t &numofrops)
 
bool processRXpacket (const void *data, size_t size)
 
bool getRemoteValue (const eOprotID32_t id32, void *value, const double timeout=0.100, const unsigned int retries=0)
 
bool getRemoteValues (const std::vector< eOprotID32_t > &id32s, const std::vector< void * > &values, const double timeout=0.500)
 
bool setRemoteValue (const eOprotID32_t id32, void *value)
 
bool setcheckRemoteValue (const eOprotID32_t id32, void *value, const unsigned int retries=10, const double waitbeforecheck=0.001, const double timeout=0.050)
 
bool getLocalValue (const eOprotID32_t id32, void *value)
 
bool setLocalValue (eOprotID32_t id32, const void *value, bool overrideROprotection=false)
 
bool verifyEPprotocol (eOprot_endpoint_t ep)
 
bool CANPrintHandler (eOmn_info_basic_t *infobasic)
 
bool serviceVerifyActivate (eOmn_serv_category_t category, const eOmn_serv_parameter_t *param, double timeout=0.500)
 
bool serviceSetRegulars (eOmn_serv_category_t category, vector< eOprotID32_t > &id32vector, double timeout=0.500)
 
bool serviceStart (eOmn_serv_category_t category, double timeout=0.500)
 
bool serviceStop (eOmn_serv_category_t category, double timeout=0.500)
 
bool Tick ()
 
bool Check ()
 
bool isFake ()
 
HostTransceivergetTransceiver ()
 

Detailed Description

Definition at line 43 of file ethResource.h.

Constructor & Destructor Documentation

◆ EthResource()

EthResource::EthResource ( )

Definition at line 39 of file ethResource.cpp.

◆ ~EthResource()

EthResource::~EthResource ( )

Definition at line 86 of file ethResource.cpp.

Member Function Documentation

◆ CANPrintHandler()

bool EthResource::CANPrintHandler ( eOmn_info_basic_t *  infobasic)
virtual

Implements eth::AbstractEthResource.

Definition at line 786 of file ethResource.cpp.

◆ Check()

bool EthResource::Check ( )
virtual

Implements eth::AbstractEthResource.

Definition at line 210 of file ethResource.cpp.

◆ close()

bool EthResource::close ( void  )
virtual

Implements eth::AbstractEthResource.

Definition at line 176 of file ethResource.cpp.

◆ getLocalValue()

bool EthResource::getLocalValue ( const eOprotID32_t  id32,
void *  value 
)
virtual

Implements eth::AbstractEthResource.

Definition at line 970 of file ethResource.cpp.

◆ getProperties()

const AbstractEthResource::Properties & EthResource::getProperties ( )
virtual

Implements eth::AbstractEthResource.

Definition at line 228 of file ethResource.cpp.

◆ getRemoteValue()

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

Implements eth::AbstractEthResource.

Definition at line 720 of file ethResource.cpp.

◆ getRemoteValues()

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

Implements eth::AbstractEthResource.

Definition at line 755 of file ethResource.cpp.

◆ getTransceiver()

HostTransceiver * EthResource::getTransceiver ( )
virtual

Implements eth::AbstractEthResource.

Definition at line 987 of file ethResource.cpp.

◆ getUDPtransmit()

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

Implements eth::AbstractEthResource.

Definition at line 183 of file ethResource.cpp.

◆ isFake()

bool EthResource::isFake ( )
virtual

Implements eth::AbstractEthResource.

Definition at line 982 of file ethResource.cpp.

◆ open2()

bool EthResource::open2 ( eOipv4addr_t  remIP,
yarp::os::Searchable &  cfgtotal 
)
virtual

Implements eth::AbstractEthResource.

Definition at line 112 of file ethResource.cpp.

◆ processRXpacket()

bool EthResource::processRXpacket ( const void *  data,
size_t  size 
)
virtual

Implements eth::AbstractEthResource.

Definition at line 222 of file ethResource.cpp.

◆ serviceSetRegulars()

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

Implements eth::AbstractEthResource.

Definition at line 924 of file ethResource.cpp.

◆ serviceStart()

bool EthResource::serviceStart ( eOmn_serv_category_t  category,
double  timeout = 0.500 
)
virtual

Implements eth::AbstractEthResource.

Definition at line 941 of file ethResource.cpp.

◆ serviceStop()

bool EthResource::serviceStop ( eOmn_serv_category_t  category,
double  timeout = 0.500 
)
virtual

Implements eth::AbstractEthResource.

Definition at line 954 of file ethResource.cpp.

◆ serviceVerifyActivate()

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

Implements eth::AbstractEthResource.

Definition at line 918 of file ethResource.cpp.

◆ setcheckRemoteValue()

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

Implements eth::AbstractEthResource.

Definition at line 780 of file ethResource.cpp.

◆ setLocalValue()

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

Implements eth::AbstractEthResource.

Definition at line 976 of file ethResource.cpp.

◆ setRemoteValue()

bool EthResource::setRemoteValue ( const eOprotID32_t  id32,
void *  value 
)
virtual

Implements eth::AbstractEthResource.

Definition at line 774 of file ethResource.cpp.

◆ Tick()

bool EthResource::Tick ( )
virtual

Implements eth::AbstractEthResource.

Definition at line 203 of file ethResource.cpp.

◆ verifyEPprotocol()

bool EthResource::verifyEPprotocol ( eOprot_endpoint_t  ep)
virtual

Implements eth::AbstractEthResource.

Definition at line 487 of file ethResource.cpp.


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