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

◆ initialize() [1/2]

void prbt_hardware_support::OperationModeSubscriberMock::initialize ( )

Actual subscription takes place here.

Definition at line 62 of file integrationtest_operation_mode.cpp.

◆ initialize() [2/2]

void prbt_hardware_support::OperationModeSubscriberMock::initialize ( )

Actual subscription takes place here.

◆ MOCK_METHOD1() [1/2]

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

◆ MOCK_METHOD1() [2/2]

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

Member Data Documentation

◆ nh_

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

Definition at line 58 of file integrationtest_operation_mode.cpp.

◆ subscriber_

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 25 2020 03:19:31