Public Member Functions | Protected Attributes | List of all members
prbt_hardware_support::OperationModeSubscriberMock Class Reference

Redirects callbacks of a ros::Subscriber to a mock method. More...

Public Member Functions

void initialize ()
 Actual subscription takes place here. More...
 
void initialize ()
 Actual subscription takes place here. More...
 
 MOCK_METHOD1 (callback, void(const OperationModesConstPtr &msg))
 
 MOCK_METHOD1 (callback, void(const OperationModesConstPtr &msg))
 

Protected Attributes

ros::NodeHandle nh_
 
ros::Subscriber subscriber_
 

Detailed Description

Redirects callbacks of a ros::Subscriber to a mock method.

Definition at line 47 of file integrationtest_operation_mode.cpp.

Member Function Documentation

void prbt_hardware_support::OperationModeSubscriberMock::initialize ( )

Actual subscription takes place here.

Definition at line 62 of file integrationtest_operation_mode.cpp.

void prbt_hardware_support::OperationModeSubscriberMock::initialize ( )

Actual subscription takes place here.

prbt_hardware_support::OperationModeSubscriberMock::MOCK_METHOD1 ( callback  ,
void(const OperationModesConstPtr &msg  
)
prbt_hardware_support::OperationModeSubscriberMock::MOCK_METHOD1 ( callback  ,
void(const OperationModesConstPtr &msg  
)

Member Data Documentation

ros::NodeHandle prbt_hardware_support::OperationModeSubscriberMock::nh_
protected

Definition at line 58 of file integrationtest_operation_mode.cpp.

ros::Subscriber prbt_hardware_support::OperationModeSubscriberMock::subscriber_
protected

Definition at line 59 of file integrationtest_operation_mode.cpp.


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


prbt_hardware_support
Author(s):
autogenerated on Tue Feb 2 2021 03:50:18