Public Member Functions | Private Attributes
naoqi::publisher::CameraPublisher Class Reference

#include <camera.hpp>

List of all members.

Public Member Functions

 CameraPublisher (const std::string &topic, int camera_source)
bool isInitialized () const
bool isSubscribed () const
void publish (const sensor_msgs::ImagePtr &img, const sensor_msgs::CameraInfo &camera_info)
void reset (ros::NodeHandle &nh)
std::string topic () const
 ~CameraPublisher ()

Private Attributes

int camera_source_
bool is_initialized_
image_transport::CameraPublisher pub_
std::string topic_

Detailed Description

Definition at line 32 of file publishers/camera.hpp.


Constructor & Destructor Documentation

naoqi::publisher::CameraPublisher::CameraPublisher ( const std::string &  topic,
int  camera_source 
)

Definition at line 33 of file publishers/camera.cpp.

Definition at line 40 of file publishers/camera.cpp.


Member Function Documentation

Definition at line 44 of file publishers/camera.hpp.

Definition at line 53 of file publishers/camera.hpp.

void naoqi::publisher::CameraPublisher::publish ( const sensor_msgs::ImagePtr &  img,
const sensor_msgs::CameraInfo &  camera_info 
)

Definition at line 44 of file publishers/camera.cpp.

Definition at line 49 of file publishers/camera.cpp.

std::string naoqi::publisher::CameraPublisher::topic ( ) const [inline]

Definition at line 39 of file publishers/camera.hpp.


Member Data Documentation

Definition at line 67 of file publishers/camera.hpp.

Definition at line 62 of file publishers/camera.hpp.

Definition at line 65 of file publishers/camera.hpp.

Definition at line 60 of file publishers/camera.hpp.


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


naoqi_driver
Author(s): Karsten Knese
autogenerated on Sun Sep 17 2017 02:57:14