Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes | List of all members
realtime_tools::RealtimeServerGoalHandle< Action > Class Template Reference

#include <realtime_server_goal_handle.h>

Public Member Functions

 RealtimeServerGoalHandle (GoalHandle &gh, const ResultPtr &preallocated_result=ResultPtr((Result *) NULL), const FeedbackPtr &preallocated_feedback=FeedbackPtr((Feedback *) NULL))
 
void runNonRealtime (const ros::TimerEvent &te)
 
void setAborted (ResultConstPtr result=ResultConstPtr((Result *) NULL))
 
void setCanceled (ResultConstPtr result=ResultConstPtr((Result *) NULL))
 
void setFeedback (FeedbackConstPtr feedback=FeedbackConstPtr((Feedback *) NULL))
 
void setSucceeded (ResultConstPtr result=ResultConstPtr((Result *) NULL))
 
bool valid ()
 

Public Attributes

GoalHandle gh_
 
FeedbackPtr preallocated_feedback_
 
ResultPtr preallocated_result_
 

Private Types

typedef boost::shared_ptr< Feedback > FeedbackPtr
 
typedef actionlib::ServerGoalHandle< Action > GoalHandle
 
typedef boost::shared_ptr< Result > ResultPtr
 

Private Member Functions

 ACTION_DEFINITION (Action)
 

Private Attributes

bool req_abort_
 
bool req_cancel_
 
FeedbackConstPtr req_feedback_
 
ResultConstPtr req_result_
 
bool req_succeed_
 
uint8_t state_
 

Detailed Description

template<class Action>
class realtime_tools::RealtimeServerGoalHandle< Action >

Definition at line 46 of file realtime_server_goal_handle.h.

Member Typedef Documentation

template<class Action >
typedef boost::shared_ptr<Feedback> realtime_tools::RealtimeServerGoalHandle< Action >::FeedbackPtr
private

Definition at line 53 of file realtime_server_goal_handle.h.

template<class Action >
typedef actionlib::ServerGoalHandle<Action> realtime_tools::RealtimeServerGoalHandle< Action >::GoalHandle
private

Definition at line 51 of file realtime_server_goal_handle.h.

template<class Action >
typedef boost::shared_ptr<Result> realtime_tools::RealtimeServerGoalHandle< Action >::ResultPtr
private

Definition at line 52 of file realtime_server_goal_handle.h.

Constructor & Destructor Documentation

template<class Action >
realtime_tools::RealtimeServerGoalHandle< Action >::RealtimeServerGoalHandle ( GoalHandle gh,
const ResultPtr preallocated_result = ResultPtr((Result*)NULL),
const FeedbackPtr preallocated_feedback = FeedbackPtr((Feedback*)NULL) 
)
inline

Definition at line 68 of file realtime_server_goal_handle.h.

Member Function Documentation

template<class Action >
realtime_tools::RealtimeServerGoalHandle< Action >::ACTION_DEFINITION ( Action  )
private
template<class Action >
void realtime_tools::RealtimeServerGoalHandle< Action >::runNonRealtime ( const ros::TimerEvent te)
inline

Definition at line 119 of file realtime_server_goal_handle.h.

template<class Action >
void realtime_tools::RealtimeServerGoalHandle< Action >::setAborted ( ResultConstPtr  result = ResultConstPtr((Result*)NULL))
inline

Definition at line 82 of file realtime_server_goal_handle.h.

template<class Action >
void realtime_tools::RealtimeServerGoalHandle< Action >::setCanceled ( ResultConstPtr  result = ResultConstPtr((Result*)NULL))
inline

Definition at line 91 of file realtime_server_goal_handle.h.

template<class Action >
void realtime_tools::RealtimeServerGoalHandle< Action >::setFeedback ( FeedbackConstPtr  feedback = FeedbackConstPtr((Feedback*)NULL))
inline

Definition at line 109 of file realtime_server_goal_handle.h.

template<class Action >
void realtime_tools::RealtimeServerGoalHandle< Action >::setSucceeded ( ResultConstPtr  result = ResultConstPtr((Result*)NULL))
inline

Definition at line 100 of file realtime_server_goal_handle.h.

template<class Action >
bool realtime_tools::RealtimeServerGoalHandle< Action >::valid ( )
inline

Definition at line 114 of file realtime_server_goal_handle.h.

Member Data Documentation

template<class Action >
GoalHandle realtime_tools::RealtimeServerGoalHandle< Action >::gh_

Definition at line 64 of file realtime_server_goal_handle.h.

template<class Action >
FeedbackPtr realtime_tools::RealtimeServerGoalHandle< Action >::preallocated_feedback_

Definition at line 66 of file realtime_server_goal_handle.h.

template<class Action >
ResultPtr realtime_tools::RealtimeServerGoalHandle< Action >::preallocated_result_

Definition at line 65 of file realtime_server_goal_handle.h.

template<class Action >
bool realtime_tools::RealtimeServerGoalHandle< Action >::req_abort_
private

Definition at line 57 of file realtime_server_goal_handle.h.

template<class Action >
bool realtime_tools::RealtimeServerGoalHandle< Action >::req_cancel_
private

Definition at line 58 of file realtime_server_goal_handle.h.

template<class Action >
FeedbackConstPtr realtime_tools::RealtimeServerGoalHandle< Action >::req_feedback_
private

Definition at line 61 of file realtime_server_goal_handle.h.

template<class Action >
ResultConstPtr realtime_tools::RealtimeServerGoalHandle< Action >::req_result_
private

Definition at line 60 of file realtime_server_goal_handle.h.

template<class Action >
bool realtime_tools::RealtimeServerGoalHandle< Action >::req_succeed_
private

Definition at line 59 of file realtime_server_goal_handle.h.

template<class Action >
uint8_t realtime_tools::RealtimeServerGoalHandle< Action >::state_
private

Definition at line 55 of file realtime_server_goal_handle.h.


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


realtime_tools
Author(s): Stuart Glaser
autogenerated on Mon Mar 22 2021 02:20:09