Public Member Functions | List of all members
RobotHWMock Class Reference
Inheritance diagram for RobotHWMock:
Inheritance graph
[legend]

Public Member Functions

 MOCK_CONST_METHOD0 (switchResult, SwitchState(void))
 
 MOCK_CONST_METHOD1 (checkForConflict, bool(const std::list< hardware_interface::ControllerInfo > &))
 
 MOCK_CONST_METHOD1 (switchResult, SwitchState(const hardware_interface::ControllerInfo &))
 
 MOCK_METHOD2 (init, bool(ros::NodeHandle &, ros::NodeHandle &))
 
 MOCK_METHOD2 (prepareSwitch, bool(const std::list< hardware_interface::ControllerInfo > &, const std::list< hardware_interface::ControllerInfo > &))
 
 MOCK_METHOD2 (doSwitch, void(const std::list< hardware_interface::ControllerInfo > &, const std::list< hardware_interface::ControllerInfo > &))
 
 MOCK_METHOD2 (read, void(const ros::Time &time, const ros::Duration &period))
 
 MOCK_METHOD2 (write, void(const ros::Time &time, const ros::Duration &period))
 
- Public Member Functions inherited from hardware_interface::RobotHW
virtual bool checkForConflict (const std::list< ControllerInfo > &info) const
 
virtual bool checkForConflict (const std::list< ControllerInfo > &info) const
 
virtual void doSwitch (const std::list< ControllerInfo > &, const std::list< ControllerInfo > &)
 
virtual bool init (ros::NodeHandle &, ros::NodeHandle &)
 
virtual bool prepareSwitch (const std::list< ControllerInfo > &, const std::list< ControllerInfo > &)
 
virtual void read (const ros::Time &, const ros::Duration &)
 
virtual void read (const ros::Time &, const ros::Duration &)
 
virtual SwitchState switchResult (const ControllerInfo &) const
 
virtual SwitchState switchResult () const
 
virtual void write (const ros::Time &, const ros::Duration &)
 
virtual void write (const ros::Time &, const ros::Duration &)
 
virtual ~RobotHW ()=default
 
- Public Member Functions inherited from hardware_interface::InterfaceManager
T * get ()
 
std::vector< std::string > getInterfaceResources (std::string iface_type) const
 
std::vector< std::string > getNames () const
 
void registerInterface (T *iface)
 
void registerInterfaceManager (InterfaceManager *iface_man)
 

Additional Inherited Members

- Public Types inherited from hardware_interface::RobotHW
enum  SwitchState
 
- Public Attributes inherited from hardware_interface::RobotHW
 DONE
 
 ERROR
 
 ONGOING
 
- Protected Types inherited from hardware_interface::InterfaceManager
typedef std::vector< InterfaceManager *> InterfaceManagerVector
 
typedef std::map< std::string, void *> InterfaceMap
 
typedef std::map< std::string, std::vector< std::string > > ResourceMap
 
typedef std::map< std::string, size_t > SizeMap
 
- Protected Attributes inherited from hardware_interface::InterfaceManager
std::vector< ResourceManagerBase *> interface_destruction_list_
 
InterfaceManagerVector interface_managers_
 
InterfaceMap interfaces_
 
InterfaceMap interfaces_combo_
 
SizeMap num_ifaces_registered_
 
ResourceMap resources_
 

Detailed Description

Definition at line 51 of file hwi_update_test.cpp.

Member Function Documentation

◆ MOCK_CONST_METHOD0()

RobotHWMock::MOCK_CONST_METHOD0 ( switchResult  ,
SwitchState(void)   
)

◆ MOCK_CONST_METHOD1() [1/2]

RobotHWMock::MOCK_CONST_METHOD1 ( checkForConflict  ,
bool(const std::list< hardware_interface::ControllerInfo > &)   
)

◆ MOCK_CONST_METHOD1() [2/2]

RobotHWMock::MOCK_CONST_METHOD1 ( switchResult  ,
SwitchState(const hardware_interface::ControllerInfo &)   
)

◆ MOCK_METHOD2() [1/5]

RobotHWMock::MOCK_METHOD2 ( init  ,
bool(ros::NodeHandle &, ros::NodeHandle &)   
)

◆ MOCK_METHOD2() [2/5]

RobotHWMock::MOCK_METHOD2 ( prepareSwitch  ,
bool(const std::list< hardware_interface::ControllerInfo > &, const std::list< hardware_interface::ControllerInfo > &)   
)

◆ MOCK_METHOD2() [3/5]

RobotHWMock::MOCK_METHOD2 ( doSwitch  ,
void(const std::list< hardware_interface::ControllerInfo > &, const std::list< hardware_interface::ControllerInfo > &)   
)

◆ MOCK_METHOD2() [4/5]

RobotHWMock::MOCK_METHOD2 ( read  ,
void(const ros::Time &time, const ros::Duration &period)   
)

◆ MOCK_METHOD2() [5/5]

RobotHWMock::MOCK_METHOD2 ( write  ,
void(const ros::Time &time, const ros::Duration &period)   
)

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


controller_manager
Author(s): Wim Meeussen, Mathias Lüdtke
autogenerated on Mon Feb 28 2022 23:30:17