Public Member Functions | Private Attributes | List of all members
ros::ServiceCallback Class Reference
Inheritance diagram for ros::ServiceCallback:
Inheritance graph
[legend]

Public Member Functions

virtual CallResult call ()
 Call this callback. More...
 
 ServiceCallback (const ServiceCallbackHelperPtr &helper, const boost::shared_array< uint8_t > &buf, size_t num_bytes, const ServiceClientLinkPtr &link, bool has_tracked_object, const VoidConstWPtr &tracked_object)
 
- Public Member Functions inherited from ros::CallbackInterface
virtual bool ready ()
 Provides the opportunity for specifying that a callback is not ready to be called before call() actually takes place. More...
 
virtual ~CallbackInterface ()
 

Private Attributes

boost::shared_array< uint8_t > buffer_
 
bool has_tracked_object_
 
ServiceCallbackHelperPtr helper_
 
ServiceClientLinkPtr link_
 
uint32_t num_bytes_
 
VoidConstWPtr tracked_object_
 

Additional Inherited Members

- Public Types inherited from ros::CallbackInterface
enum  CallResult { Success, TryAgain, Invalid }
 Possible results for the call() method. More...
 

Detailed Description

Definition at line 86 of file service_publication.cpp.

Constructor & Destructor Documentation

◆ ServiceCallback()

ros::ServiceCallback::ServiceCallback ( const ServiceCallbackHelperPtr helper,
const boost::shared_array< uint8_t > &  buf,
size_t  num_bytes,
const ServiceClientLinkPtr link,
bool  has_tracked_object,
const VoidConstWPtr tracked_object 
)
inline

Definition at line 89 of file service_publication.cpp.

Member Function Documentation

◆ call()

virtual CallResult ros::ServiceCallback::call ( )
inlinevirtual

Call this callback.

Returns
The result of the call

Implements ros::CallbackInterface.

Definition at line 99 of file service_publication.cpp.

Member Data Documentation

◆ buffer_

boost::shared_array<uint8_t> ros::ServiceCallback::buffer_
private

Definition at line 151 of file service_publication.cpp.

◆ has_tracked_object_

bool ros::ServiceCallback::has_tracked_object_
private

Definition at line 154 of file service_publication.cpp.

◆ helper_

ServiceCallbackHelperPtr ros::ServiceCallback::helper_
private

Definition at line 150 of file service_publication.cpp.

◆ link_

ServiceClientLinkPtr ros::ServiceCallback::link_
private

Definition at line 153 of file service_publication.cpp.

◆ num_bytes_

uint32_t ros::ServiceCallback::num_bytes_
private

Definition at line 152 of file service_publication.cpp.

◆ tracked_object_

VoidConstWPtr ros::ServiceCallback::tracked_object_
private

Definition at line 155 of file service_publication.cpp.


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


roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas , Jacob Perron
autogenerated on Thu Nov 23 2023 04:01:44