iCub-main
Public Member Functions | List of all members
EthResource_Mock Class Reference
+ Inheritance diagram for EthResource_Mock:

Public Member Functions

 MOCK_METHOD (bool, setcheckRemoteValue,(const eOprotID32_t, void *, const unsigned int, const double, const double),(override))
 
 MOCK_METHOD (bool, serviceSetRegulars,(eOmn_serv_category_t, vector< eOprotID32_t > &, double),(override))
 
 MOCK_METHOD (bool, setcheckRemoteValue,(const eOprotID32_t, void *, const unsigned int, const double, const double),(override))
 
 MOCK_METHOD (bool, serviceSetRegulars,(eOmn_serv_category_t, vector< eOprotID32_t > &, double),(override))
 
- Public Member Functions inherited from eth::EthResource
 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 56 of file testDeviceCanBatterySensor.cpp.

Member Function Documentation

◆ MOCK_METHOD() [1/4]

EthResource_Mock::MOCK_METHOD ( bool  ,
serviceSetRegulars  ,
(eOmn_serv_category_t, vector< eOprotID32_t > &, double)  ,
(override)   
)

◆ MOCK_METHOD() [2/4]

EthResource_Mock::MOCK_METHOD ( bool  ,
serviceSetRegulars  ,
(eOmn_serv_category_t, vector< eOprotID32_t > &, double)  ,
(override)   
)

◆ MOCK_METHOD() [3/4]

EthResource_Mock::MOCK_METHOD ( bool  ,
setcheckRemoteValue  ,
(const eOprotID32_t, void *, const unsigned int, const double, const double)  ,
(override)   
)

◆ MOCK_METHOD() [4/4]

EthResource_Mock::MOCK_METHOD ( bool  ,
setcheckRemoteValue  ,
(const eOprotID32_t, void *, const unsigned int, const double, const double)  ,
(override)   
)

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