Public Types | Public Member Functions | Private Attributes | List of all members
locomotor::LocomotorCallback Class Reference

Extension of ros::CallbackInterface so we can insert things on the ROS Callback Queue. More...

#include <executor.h>

Inheritance diagram for locomotor::LocomotorCallback:
Inheritance graph
[legend]

Public Types

using Function = std::function< void()>
 
- Public Types inherited from ros::CallbackInterface
enum  CallResult
 

Public Member Functions

CallResult call ()
 
 LocomotorCallback (Function functor)
 
 ~LocomotorCallback ()
 
- Public Member Functions inherited from ros::CallbackInterface
virtual bool ready ()
 
virtual ~CallbackInterface ()
 

Private Attributes

Function functor_
 

Additional Inherited Members

- Public Attributes inherited from ros::CallbackInterface
 Invalid
 
 Success
 
 TryAgain
 

Detailed Description

Extension of ros::CallbackInterface so we can insert things on the ROS Callback Queue.

Definition at line 49 of file executor.h.

Member Typedef Documentation

using locomotor::LocomotorCallback::Function = std::function<void()>

Definition at line 52 of file executor.h.

Constructor & Destructor Documentation

locomotor::LocomotorCallback::LocomotorCallback ( Function  functor)
inlineexplicit

Definition at line 54 of file executor.h.

locomotor::LocomotorCallback::~LocomotorCallback ( )
inline

Definition at line 55 of file executor.h.

Member Function Documentation

CallResult locomotor::LocomotorCallback::call ( )
inlinevirtual

Implements ros::CallbackInterface.

Definition at line 57 of file executor.h.

Member Data Documentation

Function locomotor::LocomotorCallback::functor_
private

Definition at line 63 of file executor.h.


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


locomotor
Author(s):
autogenerated on Sun Jan 10 2021 04:08:39