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

#include <camera.hpp>

Public Member Functions

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

Private Attributes

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Field Documentation

int naoqi::publisher::CameraPublisher::camera_source_
private
bool naoqi::publisher::CameraPublisher::is_initialized_
private
image_transport::CameraPublisher naoqi::publisher::CameraPublisher::pub_
private
std::string naoqi::publisher::CameraPublisher::topic_
private

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