Classes | Public Member Functions | Protected Types | Protected Attributes
ImageAlgosMain Class Reference

List of all members.

Classes

struct  _NamedAlgorithm

Public Member Functions

void color_find (const boost::shared_ptr< const sensor_msgs::Image > image)
ImageAlgofind_algorithm (std::string name)
void image_cb (const sensor_msgs::ImageConstPtr &image_msg)
 ImageAlgosMain (ros::NodeHandle &anode)
bool load_algorithm (std::string algo_name, ImageAlgo *&algorithm)
 loads a given plugin
void load_plugins ()
 loads plugins
void table_cb (const ias_table_msgs::TableWithObjects::ConstPtr &table)

Protected Types

typedef struct
ImageAlgosMain::_NamedAlgorithm 
NamedAlgorithm

Protected Attributes

std::vector< NamedAlgorithmalgorithm_pool
sensor_msgs::CvBridge bridge_
pluginlib::ClassLoader
< image_algos::ImageAlgo > * 
cl
IplImage * clone_
bool got_image_
IplImage * image_
boost::mutex image_lock_
ros::Subscriber image_sub_
std::string input_image_topic_
std::string input_table_topic_
ros::NodeHandlenh_
std::string output_table_roi_topic_
Table t
ros::Publisher table_image_pub_
ros::Subscriber table_sub_

Detailed Description

Definition at line 61 of file image_algos_main.cpp.


Member Typedef Documentation


Constructor & Destructor Documentation

Definition at line 96 of file image_algos_main.cpp.


Member Function Documentation

void ImageAlgosMain::color_find ( const boost::shared_ptr< const sensor_msgs::Image >  image) [inline]

Definition at line 165 of file image_algos_main.cpp.

ImageAlgo* ImageAlgosMain::find_algorithm ( std::string  name) [inline]

Definition at line 157 of file image_algos_main.cpp.

void ImageAlgosMain::image_cb ( const sensor_msgs::ImageConstPtr &  image_msg) [inline]

Definition at line 224 of file image_algos_main.cpp.

bool ImageAlgosMain::load_algorithm ( std::string  algo_name,
ImageAlgo *&  algorithm 
) [inline]

loads a given plugin

Parameters:
algo_name: name of algorithm as stated in plugins.xml file
algorithm: reference to pointer which will hold the loaded algorithm

Definition at line 115 of file image_algos_main.cpp.

void ImageAlgosMain::load_plugins ( ) [inline]

loads plugins

Definition at line 140 of file image_algos_main.cpp.

void ImageAlgosMain::table_cb ( const ias_table_msgs::TableWithObjects::ConstPtr &  table) [inline]

Definition at line 184 of file image_algos_main.cpp.


Member Data Documentation

Definition at line 89 of file image_algos_main.cpp.

sensor_msgs::CvBridge ImageAlgosMain::bridge_ [protected]

Definition at line 78 of file image_algos_main.cpp.

Definition at line 80 of file image_algos_main.cpp.

IplImage * ImageAlgosMain::clone_ [protected]

Definition at line 76 of file image_algos_main.cpp.

Definition at line 94 of file image_algos_main.cpp.

IplImage* ImageAlgosMain::image_ [protected]

Definition at line 76 of file image_algos_main.cpp.

Definition at line 77 of file image_algos_main.cpp.

Definition at line 74 of file image_algos_main.cpp.

std::string ImageAlgosMain::input_image_topic_ [protected]

Definition at line 68 of file image_algos_main.cpp.

std::string ImageAlgosMain::input_table_topic_ [protected]

Definition at line 67 of file image_algos_main.cpp.

Definition at line 64 of file image_algos_main.cpp.

std::string ImageAlgosMain::output_table_roi_topic_ [protected]

Definition at line 69 of file image_algos_main.cpp.

Table ImageAlgosMain::t [protected]

Definition at line 92 of file image_algos_main.cpp.

Definition at line 72 of file image_algos_main.cpp.

Definition at line 73 of file image_algos_main.cpp.


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


image_algos
Author(s): Dejan Pangercic
autogenerated on Mon Oct 6 2014 09:35:23