Sarafun Behavior Trees package  1
Behavior trees for the SARAFun project
 All Data Structures Namespaces Functions Variables Enumerations Enumerator
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
sarafun::TestServer< ActionClass, ActionGoalConstPtr, ActionFeedback, ActionResult > Class Template Referenceabstract

#include <sarafun_test_server.h>

Inheritance diagram for sarafun::TestServer< ActionClass, ActionGoalConstPtr, ActionFeedback, ActionResult >:
Inheritance graph
Collaboration diagram for sarafun::TestServer< ActionClass, ActionGoalConstPtr, ActionFeedback, ActionResult >:
Collaboration graph

Public Member Functions

 TestServer (std::string node_name, std::string actionlib_name)
 
virtual ~TestServer ()
 
void executeCB (const ActionGoalConstPtr &goal)
 

Protected Member Functions

virtual bool parseGoal (const ActionGoalConstPtr &goal)=0
 

Protected Attributes

std::string action_name_
 

Private Attributes

ros::NodeHandle nh_
 
actionlib::SimpleActionServer
< ActionClass > 
action_server_
 
ActionFeedback feedback_
 
ActionResult result_
 

Detailed Description

template<class ActionClass, class ActionGoalConstPtr, class ActionFeedback, class ActionResult>
class sarafun::TestServer< ActionClass, ActionGoalConstPtr, ActionFeedback, ActionResult >

This class implements an interface for generic test servers to be built. They will mimic the actual servers implemented by the remaining project workpackages.

Definition at line 14 of file sarafun_test_server.h.


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