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

#include <sonar.hpp>

Public Member Functions

 SonarPublisher (const std::vector< std::string > &topics)
 
std::string topic () const
 
bool isInitialized () const
 
void publish (const std::vector< sensor_msgs::Range > &sonar_msgs)
 
void reset (ros::NodeHandle &nh)
 
bool isSubscribed () const
 

Private Attributes

std::vector< std::string > topics_
 
std::vector< ros::Publisher > pubs_
 
bool is_initialized_
 

Constructor & Destructor Documentation

naoqi::publisher::SonarPublisher::SonarPublisher ( const std::vector< std::string > &  topics)

Member Function Documentation

bool naoqi::publisher::SonarPublisher::isInitialized ( ) const
inline
bool naoqi::publisher::SonarPublisher::isSubscribed ( ) const
inline
void naoqi::publisher::SonarPublisher::publish ( const std::vector< sensor_msgs::Range > &  sonar_msgs)
void naoqi::publisher::SonarPublisher::reset ( ros::NodeHandle &  nh)
std::string naoqi::publisher::SonarPublisher::topic ( ) const
inline

Field Documentation

bool naoqi::publisher::SonarPublisher::is_initialized_
private
std::vector<ros::Publisher> naoqi::publisher::SonarPublisher::pubs_
private
std::vector<std::string> naoqi::publisher::SonarPublisher::topics_
private

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