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

Public Member Functions

 ~MyRobotActivity ()
 
- Public Member Functions inherited from robot_activity::ManagedRobotActivity
virtual ~ManagedRobotActivity ()
 
- Public Member Functions inherited from robot_activity::RobotActivity
std::string getNamespace () const
 
State getState ()
 
RobotActivityinit (bool autostart=false)
 
 RobotActivity ()=delete
 
 RobotActivity (int argc, char *argv[], const std::string &name_space=std::string(), const std::string &name=std::string())
 
void run (uint8_t threads=0)
 
void runAsync (uint8_t threads=0)
 
virtual ~RobotActivity ()
 

Private Member Functions

bool myServiceCallback (std_srvs::Empty::Request &request, std_srvs::Empty::Response &response)
 
void mySubscriberCallback (boost::shared_ptr< robot_activity_msgs::State const > msg)
 
void myTimerCallback ()
 
bool onManagedConfigure () override
 
void onManagedCreate () override
 
bool onManagedPause () override
 
bool onManagedResume () override
 
bool onManagedStart () override
 
bool onManagedStop () override
 
void onManagedTerminate () override
 
bool onManagedUnconfigure () override
 

Private Attributes

int counter = 0
 

Additional Inherited Members

- Protected Member Functions inherited from robot_activity::RobotActivity
void notifyError (uint8_t error_type, const std::string &function, const std::string &description)
 
std::shared_ptr< IsolatedAsyncTimerregisterIsolatedTimer (const IsolatedAsyncTimer::LambdaCallback &callback, const float &frequency, bool stoppable=true, bool autostart=false, bool oneshot=false)
 
- Protected Attributes inherited from robot_activity::ManagedRobotActivity
resource::ServiceServerManager service_manager
 
resource::SubscriberManager subscriber_manager
 
- Protected Attributes inherited from robot_activity::RobotActivity
ros::NodeHandlePtr node_handle_
 
ros::NodeHandlePtr node_handle_private_
 

Detailed Description

Definition at line 46 of file robot_activity_tutorials_minimal_node.cpp.

Constructor & Destructor Documentation

robot_activity_tutorials::MyRobotActivity::~MyRobotActivity ( )
inline

Definition at line 51 of file robot_activity_tutorials_minimal_node.cpp.

Member Function Documentation

bool robot_activity_tutorials::MyRobotActivity::myServiceCallback ( std_srvs::Empty::Request &  request,
std_srvs::Empty::Response &  response 
)
inlineprivate

Definition at line 94 of file robot_activity_tutorials_minimal_node.cpp.

void robot_activity_tutorials::MyRobotActivity::mySubscriberCallback ( boost::shared_ptr< robot_activity_msgs::State const >  msg)
inlineprivate

Definition at line 88 of file robot_activity_tutorials_minimal_node.cpp.

void robot_activity_tutorials::MyRobotActivity::myTimerCallback ( )
inlineprivate

Definition at line 79 of file robot_activity_tutorials_minimal_node.cpp.

bool robot_activity_tutorials::MyRobotActivity::onManagedConfigure ( )
inlineoverrideprivatevirtual
void robot_activity_tutorials::MyRobotActivity::onManagedCreate ( )
inlineoverrideprivatevirtual
bool robot_activity_tutorials::MyRobotActivity::onManagedPause ( )
inlineoverrideprivatevirtual
bool robot_activity_tutorials::MyRobotActivity::onManagedResume ( )
inlineoverrideprivatevirtual
bool robot_activity_tutorials::MyRobotActivity::onManagedStart ( )
inlineoverrideprivatevirtual
bool robot_activity_tutorials::MyRobotActivity::onManagedStop ( )
inlineoverrideprivatevirtual
void robot_activity_tutorials::MyRobotActivity::onManagedTerminate ( )
inlineoverrideprivatevirtual
bool robot_activity_tutorials::MyRobotActivity::onManagedUnconfigure ( )
inlineoverrideprivatevirtual

Member Data Documentation

int robot_activity_tutorials::MyRobotActivity::counter = 0
private

Definition at line 102 of file robot_activity_tutorials_minimal_node.cpp.


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


robot_activity_tutorials
Author(s): Maciej ZURAD
autogenerated on Mon Jun 10 2019 14:33:25