Public Member Functions | Protected Member Functions
srs_env_model::CExamplePlugin Class Reference

#include <example_plugin.h>

Inheritance diagram for srs_env_model::CExamplePlugin:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CExamplePlugin (const std::string &name="ExamplePlugin ")
 Constructor. Plugin name can be used for debug string output.
virtual void init (ros::NodeHandle &node_handle)
virtual void reset ()
 This method is called when user wants to reset server.

Protected Member Functions

virtual void publishInternal (const ros::Time &timestamp)
virtual bool shouldPublish ()

Detailed Description

Simple plugin - just explaining what methods do...

Definition at line 39 of file example_plugin.h.


Constructor & Destructor Documentation

srs_env_model::CExamplePlugin::CExamplePlugin ( const std::string &  name = "ExamplePlugin ") [inline]

Constructor. Plugin name can be used for debug string output.

Definition at line 43 of file example_plugin.h.


Member Function Documentation

virtual void srs_env_model::CExamplePlugin::init ( ros::NodeHandle node_handle) [inline, virtual]

This method is called by server on start. Use node_handle to do parameters reading and all initializations here (subscriber connection, publisher creation, etc.)

Reimplemented from srs_env_model::CServerPluginBase.

Definition at line 50 of file example_plugin.h.

virtual void srs_env_model::CExamplePlugin::publishInternal ( const ros::Time timestamp) [inline, protected, virtual]

New scan has been inserted in the octomap. After that publishing stage starts and if this node has something to publish (see last method), this method is called.

Implements srs_env_model::CServerPluginBase.

Definition at line 59 of file example_plugin.h.

virtual void srs_env_model::CExamplePlugin::reset ( ) [inline, virtual]

This method is called when user wants to reset server.

Reimplemented from srs_env_model::CServerPluginBase.

Definition at line 53 of file example_plugin.h.

virtual bool srs_env_model::CExamplePlugin::shouldPublish ( ) [inline, protected, virtual]

Return true, if you want to publish something now. Called before onPublish method.

Implements srs_env_model::CServerPluginBase.

Definition at line 63 of file example_plugin.h.


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


srs_env_model
Author(s): Vit Stancl (stancl@fit.vutbr.cz), Tomas Lokaj, Jan Gorig, Michal Spanel (spanel@fit.vutbr.cz)
autogenerated on Sun Jan 5 2014 11:50:50