Public Types | Public Member Functions | List of all members
MockedActionServer Struct Reference
Inheritance diagram for MockedActionServer:
Inheritance graph
[legend]

Public Types

typedef actionlib::ActionServerBase< GetPathAction > ActionServerBase
 
typedef actionlib::ServerGoalHandle< GetPathAction > GoalHandle
 
- Public Types inherited from actionlib::ActionServerBase< GetPathAction >
typedef ServerGoalHandle< GetPathAction > GoalHandle
 

Public Member Functions

virtual void initialize ()
 
 MOCK_METHOD2 (publishResult, void(const actionlib_msgs::GoalStatus &, const Result &))
 
 MockedActionServer (boost::function< void(GoalHandle)> goal_cb, boost::function< void(GoalHandle)> cancel_cb)
 
void publishFeedback (const actionlib_msgs::GoalStatus &, const Feedback &)
 
void publishStatus ()
 
- Public Member Functions inherited from actionlib::ActionServerBase< GetPathAction >
 ACTION_DEFINITION (GetPathAction)
 
 ActionServerBase (boost::function< void(GoalHandle)> goal_cb, boost::function< void(GoalHandle)> cancel_cb, bool auto_start=false)
 
void cancelCallback (const boost::shared_ptr< const actionlib_msgs::GoalID > &goal_id)
 
void goalCallback (const boost::shared_ptr< const ActionGoal > &goal)
 
void registerCancelCallback (boost::function< void(GoalHandle)> cb)
 
void registerGoalCallback (boost::function< void(GoalHandle)> cb)
 
void start ()
 
virtual ~ActionServerBase ()
 

Additional Inherited Members

- Protected Member Functions inherited from actionlib::ActionServerBase< GetPathAction >
virtual void publishResult (const actionlib_msgs::GoalStatus &status, const Result &result)=0
 
- Protected Attributes inherited from actionlib::ActionServerBase< GetPathAction >
boost::function< void(GoalHandle)> cancel_callback_
 
boost::function< void(GoalHandle)> goal_callback_
 
boost::shared_ptr< DestructionGuardguard_
 
GoalIDGenerator id_generator_
 
ros::Time last_cancel_
 
boost::recursive_mutex lock_
 
bool started_
 
std::list< StatusTracker< GetPathAction > > status_list_
 
ros::Duration status_list_timeout_
 

Detailed Description

Definition at line 51 of file test/planner_action.cpp.

Member Typedef Documentation

◆ ActionServerBase

Definition at line 55 of file test/planner_action.cpp.

◆ GoalHandle

Definition at line 54 of file test/planner_action.cpp.

Constructor & Destructor Documentation

◆ MockedActionServer()

MockedActionServer::MockedActionServer ( boost::function< void(GoalHandle)>  goal_cb,
boost::function< void(GoalHandle)>  cancel_cb 
)
inline

Definition at line 57 of file test/planner_action.cpp.

Member Function Documentation

◆ initialize()

virtual void MockedActionServer::initialize ( )
inlinevirtual

◆ MOCK_METHOD2()

MockedActionServer::MOCK_METHOD2 ( publishResult  ,
void(const actionlib_msgs::GoalStatus &, const Result &)   
)

◆ publishFeedback()

void MockedActionServer::publishFeedback ( const actionlib_msgs::GoalStatus &  ,
const Feedback &   
)
inlinevirtual

◆ publishStatus()

void MockedActionServer::publishStatus ( )
inlinevirtual

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


mbf_abstract_nav
Author(s): Sebastian Pütz
autogenerated on Mon Feb 28 2022 22:49:50