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 48 of file executor.h.

Member Typedef Documentation

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

Definition at line 51 of file executor.h.

Constructor & Destructor Documentation

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

Definition at line 53 of file executor.h.

locomotor::LocomotorCallback::~LocomotorCallback ( )
inline

Definition at line 54 of file executor.h.

Member Function Documentation

CallResult locomotor::LocomotorCallback::call ( )
inlinevirtual

Implements ros::CallbackInterface.

Definition at line 56 of file executor.h.

Member Data Documentation

Function locomotor::LocomotorCallback::functor_
private

Definition at line 62 of file executor.h.


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


locomotor
Author(s):
autogenerated on Wed Jun 26 2019 20:06:18