moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
MockCurrentStateMonitorMiddlewareHandle Struct Reference
Inheritance diagram for MockCurrentStateMonitorMiddlewareHandle:
Inheritance graph
[legend]
Collaboration diagram for MockCurrentStateMonitorMiddlewareHandle:
Collaboration graph
[legend]

Public Member Functions

 MOCK_METHOD (rclcpp::Time, now,(),(const, override))
 
 MOCK_METHOD (void, createJointStateSubscription,(const std::string &topic, planning_scene_monitor::JointStateUpdateCallback callback),(override))
 
 MOCK_METHOD (void, resetJointStateSubscription,(),(override))
 
 MOCK_METHOD (std::string, getJointStateTopicName,(),(const, override))
 
 MOCK_METHOD (bool, sleepFor,(const std::chrono::nanoseconds &nanoseconds),(const, override))
 
 MOCK_METHOD (bool, ok,(),(const, override))
 
 MOCK_METHOD (void, createStaticTfSubscription,(TfCallback callback),(override))
 
 MOCK_METHOD (void, createDynamicTfSubscription,(TfCallback callback),(override))
 
 MOCK_METHOD (std::string, getStaticTfTopicName,(),(const, override))
 
 MOCK_METHOD (std::string, getDynamicTfTopicName,(),(const, override))
 
 MOCK_METHOD (void, resetTfSubscriptions,(),(override))
 
- Public Member Functions inherited from planning_scene_monitor::CurrentStateMonitor::MiddlewareHandle
virtual ~MiddlewareHandle ()=default
 Destroys the object.
 
virtual rclcpp::Time now () const =0
 Get the current time.
 
virtual void createJointStateSubscription (const std::string &topic, JointStateUpdateCallback callback)=0
 Creates a joint state subscription.
 
virtual void createStaticTfSubscription (TfCallback callback)=0
 Creates a static transform message subscription.
 
virtual void createDynamicTfSubscription (TfCallback callback)=0
 Creates a dynamic transform message subscription.
 
virtual void resetJointStateSubscription ()=0
 Reset the joint state subscription.
 
virtual std::string getJointStateTopicName () const =0
 Get the joint state topic name.
 
virtual bool sleepFor (const std::chrono::nanoseconds &nanoseconds) const =0
 Block for the specified amount of time.
 
virtual bool ok () const =0
 Uses rclcpp::ok to check the context status.
 
virtual std::string getStaticTfTopicName () const =0
 Get the static transform topic name.
 
virtual std::string getDynamicTfTopicName () const =0
 Get the dynamic transform topic name.
 
virtual void resetTfSubscriptions ()=0
 Reset the static & dynamic transform subscriptions.
 

Additional Inherited Members

- Public Types inherited from planning_scene_monitor::CurrentStateMonitor::MiddlewareHandle
using TfCallback = std::function< void(const tf2_msgs::msg::TFMessage::ConstSharedPtr)>
 

Detailed Description

Definition at line 57 of file trajectory_monitor_tests.cpp.

Member Function Documentation

◆ MOCK_METHOD() [1/11]

MockCurrentStateMonitorMiddlewareHandle::MOCK_METHOD ( bool  ,
ok  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [2/11]

MockCurrentStateMonitorMiddlewareHandle::MOCK_METHOD ( bool  ,
sleepFor  ,
(const std::chrono::nanoseconds &nanoseconds)  ,
(const, override)   
)

◆ MOCK_METHOD() [3/11]

MockCurrentStateMonitorMiddlewareHandle::MOCK_METHOD ( rclcpp::Time  ,
now  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [4/11]

MockCurrentStateMonitorMiddlewareHandle::MOCK_METHOD ( std::string  ,
getDynamicTfTopicName  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [5/11]

MockCurrentStateMonitorMiddlewareHandle::MOCK_METHOD ( std::string  ,
getJointStateTopicName  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [6/11]

MockCurrentStateMonitorMiddlewareHandle::MOCK_METHOD ( std::string  ,
getStaticTfTopicName  ,
()  ,
(const, override)   
)

◆ MOCK_METHOD() [7/11]

MockCurrentStateMonitorMiddlewareHandle::MOCK_METHOD ( void  ,
createDynamicTfSubscription  ,
(TfCallback callback)  ,
(override)   
)

◆ MOCK_METHOD() [8/11]

MockCurrentStateMonitorMiddlewareHandle::MOCK_METHOD ( void  ,
createJointStateSubscription  ,
(const std::string &topic, planning_scene_monitor::JointStateUpdateCallback callback)  ,
(override)   
)

◆ MOCK_METHOD() [9/11]

MockCurrentStateMonitorMiddlewareHandle::MOCK_METHOD ( void  ,
createStaticTfSubscription  ,
(TfCallback callback)  ,
(override)   
)

◆ MOCK_METHOD() [10/11]

MockCurrentStateMonitorMiddlewareHandle::MOCK_METHOD ( void  ,
resetJointStateSubscription  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [11/11]

MockCurrentStateMonitorMiddlewareHandle::MOCK_METHOD ( void  ,
resetTfSubscriptions  ,
()  ,
(override)   
)

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