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 actionlib::ServerGoalHandle< Action > GoalHandle
 

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 43 of file realtime_server_goal_handle.h.

Member Typedef Documentation

◆ GoalHandle

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

Definition at line 48 of file realtime_server_goal_handle.h.

Constructor & Destructor Documentation

◆ RealtimeServerGoalHandle()

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 63 of file realtime_server_goal_handle.h.

Member Function Documentation

◆ ACTION_DEFINITION()

template<class Action >
realtime_tools::RealtimeServerGoalHandle< Action >::ACTION_DEFINITION ( Action  )
private

◆ runNonRealtime()

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

Definition at line 114 of file realtime_server_goal_handle.h.

◆ setAborted()

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

Definition at line 77 of file realtime_server_goal_handle.h.

◆ setCanceled()

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

Definition at line 86 of file realtime_server_goal_handle.h.

◆ setFeedback()

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

Definition at line 104 of file realtime_server_goal_handle.h.

◆ setSucceeded()

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

Definition at line 95 of file realtime_server_goal_handle.h.

◆ valid()

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

Definition at line 109 of file realtime_server_goal_handle.h.

Member Data Documentation

◆ gh_

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

Definition at line 59 of file realtime_server_goal_handle.h.

◆ preallocated_feedback_

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

Definition at line 61 of file realtime_server_goal_handle.h.

◆ preallocated_result_

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

Definition at line 60 of file realtime_server_goal_handle.h.

◆ req_abort_

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

Definition at line 52 of file realtime_server_goal_handle.h.

◆ req_cancel_

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

Definition at line 53 of file realtime_server_goal_handle.h.

◆ req_feedback_

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

Definition at line 56 of file realtime_server_goal_handle.h.

◆ req_result_

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

Definition at line 55 of file realtime_server_goal_handle.h.

◆ req_succeed_

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

Definition at line 54 of file realtime_server_goal_handle.h.

◆ state_

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

Definition at line 50 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 Jan 8 2024 03:20:12