Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes
jsk_rviz_plugins::AmbientSoundDisplay Class Reference

#include <ambient_sound_display.h>

Inheritance diagram for jsk_rviz_plugins::AmbientSoundDisplay:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AmbientSoundDisplay ()
 AmbientSoundDisplay ()
virtual void createProperties ()
virtual void fixedFrameChanged ()
float getAlpha ()
float getBias () const
const rviz::ColorgetColor ()
float getGrad () const
int getHistoryLength () const
float getScale () const
const std::string & getTopic ()
float getWidth () const
virtual void onInitialize ()
virtual void onInitialize ()
virtual void reset ()
virtual void reset ()
void setAlpha (float alpha)
void setBias (float bias)
void setColor (const rviz::Color &color)
void setGrad (float grad)
void setHistoryLength (int history_length)
void setScale (float scale)
void setTopic (const std::string &topic)
void setWidth (float width)
virtual ~AmbientSoundDisplay ()
virtual ~AmbientSoundDisplay ()

Protected Member Functions

virtual void onDisable ()
virtual void onEnable ()

Private Slots

void updateAppearance ()
void updateColorAndAlpha ()
void updateHistoryLength ()
bool validateFloats (const jsk_hark_msgs::HarkPower &)

Private Member Functions

void clear ()
void incomingMessage (const jsk_hark_msgs::HarkPower::ConstPtr &msg)
void processMessage (const jsk_hark_msgs::HarkPower::ConstPtr &msg)
void subscribe ()
void unsubscribe ()
void updateColorAndAlpha ()

Private Attributes

float alpha_
rviz::FloatPropertyWPtr alpha_property_
rviz::FloatPropertyalpha_property_
float bias_
rviz::FloatPropertyWPtr bias_property_
rviz::FloatPropertybias_property_
rviz::Color color_
rviz::ColorPropertyWPtr color_property_
rviz::ColorPropertycolor_property_
float grad_
rviz::FloatPropertyWPtr grad_property_
rviz::FloatPropertygrad_property_
int history_length_
rviz::IntPropertyWPtr history_length_property_
rviz::IntPropertyhistory_length_property_
int messages_received_
float scale_
rviz::FloatPropertyWPtr scale_property_
rviz::FloatPropertyscale_property_
Ogre::SceneNode * scene_node_
message_filters::Subscriber
< jsk_hark_msgs::HarkPower > 
sub_
tf::MessageFilter
< jsk_hark_msgs::HarkPower > * 
tf_filter_
std::string topic_
rviz::ROSTopicStringPropertyWPtr topic_property_
rviz::ROSTopicStringProperty * topic_property_
std::vector< AmbientSoundVisual * > visuals_
boost::circular_buffer
< std::shared_ptr
< AmbientSoundVisual > > 
visuals_
float width_
rviz::FloatPropertyWPtr width_property_
rviz::FloatPropertywidth_property_

Detailed Description

Definition at line 21 of file ambient_sound_display.h.


Constructor & Destructor Documentation

Definition at line 21 of file ambient_sound_display.cpp.

Definition at line 60 of file ambient_sound_display.cpp.


Member Function Documentation

Definition at line 73 of file ambient_sound_display.cpp.

Definition at line 316 of file ambient_sound_display.cpp.

Reimplemented from rviz::Display.

Definition at line 254 of file ambient_sound_display.cpp.

Definition at line 43 of file ambient_sound_display.h.

Definition at line 55 of file ambient_sound_display.h.

Definition at line 40 of file ambient_sound_display.h.

Definition at line 58 of file ambient_sound_display.h.

Definition at line 46 of file ambient_sound_display.h.

Definition at line 52 of file ambient_sound_display.h.

const std::string& jsk_rviz_plugins::AmbientSoundDisplay::getTopic ( ) [inline]

Definition at line 37 of file ambient_sound_display.h.

Definition at line 49 of file ambient_sound_display.h.

void jsk_rviz_plugins::AmbientSoundDisplay::incomingMessage ( const jsk_hark_msgs::HarkPower::ConstPtr &  msg) [private]

Definition at line 261 of file ambient_sound_display.cpp.

void jsk_rviz_plugins::AmbientSoundDisplay::onDisable ( ) [protected, virtual]

Reimplemented from rviz::Display.

Definition at line 246 of file ambient_sound_display.cpp.

void jsk_rviz_plugins::AmbientSoundDisplay::onEnable ( ) [protected, virtual]

Reimplemented from rviz::Display.

Definition at line 241 of file ambient_sound_display.cpp.

Reimplemented from rviz::Display.

Definition at line 35 of file ambient_sound_display.cpp.

Reimplemented from rviz::Display.

void jsk_rviz_plugins::AmbientSoundDisplay::processMessage ( const jsk_hark_msgs::HarkPower::ConstPtr &  msg) [private]

Definition at line 213 of file ambient_sound_display_groovy.cpp.

Reimplemented from rviz::Display.

Definition at line 306 of file ambient_sound_display.cpp.

Reimplemented from rviz::Display.

Definition at line 108 of file ambient_sound_display.cpp.

Definition at line 136 of file ambient_sound_display.cpp.

Definition at line 99 of file ambient_sound_display.cpp.

Definition at line 145 of file ambient_sound_display.cpp.

Definition at line 167 of file ambient_sound_display.cpp.

Definition at line 126 of file ambient_sound_display.cpp.

void jsk_rviz_plugins::AmbientSoundDisplay::setTopic ( const std::string &  topic)

Definition at line 85 of file ambient_sound_display.cpp.

Definition at line 117 of file ambient_sound_display.cpp.

Definition at line 124 of file ambient_sound_display_groovy.cpp.

Definition at line 155 of file ambient_sound_display.cpp.

Definition at line 143 of file ambient_sound_display_groovy.cpp.

bool jsk_rviz_plugins::AmbientSoundDisplay::validateFloats ( const jsk_hark_msgs::HarkPower &  msg) [private, slot]

Definition at line 147 of file ambient_sound_display_groovy.cpp.


Member Data Documentation

Definition at line 100 of file ambient_sound_display.h.

rviz::FloatPropertyWPtr jsk_rviz_plugins::AmbientSoundDisplay::alpha_property_ [private]

Definition at line 107 of file ambient_sound_display.h.

Definition at line 134 of file ambient_sound_display_groovy.h.

Definition at line 102 of file ambient_sound_display.h.

rviz::FloatPropertyWPtr jsk_rviz_plugins::AmbientSoundDisplay::bias_property_ [private]

Definition at line 111 of file ambient_sound_display.h.

Definition at line 138 of file ambient_sound_display_groovy.h.

Definition at line 98 of file ambient_sound_display.h.

rviz::ColorPropertyWPtr jsk_rviz_plugins::AmbientSoundDisplay::color_property_ [private]

Definition at line 105 of file ambient_sound_display.h.

Definition at line 132 of file ambient_sound_display_groovy.h.

Definition at line 102 of file ambient_sound_display.h.

rviz::FloatPropertyWPtr jsk_rviz_plugins::AmbientSoundDisplay::grad_property_ [private]

Definition at line 112 of file ambient_sound_display.h.

Definition at line 139 of file ambient_sound_display_groovy.h.

Definition at line 101 of file ambient_sound_display.h.

Definition at line 108 of file ambient_sound_display.h.

Definition at line 135 of file ambient_sound_display_groovy.h.

Definition at line 102 of file ambient_sound_display.h.

rviz::FloatPropertyWPtr jsk_rviz_plugins::AmbientSoundDisplay::scale_property_ [private]

Definition at line 110 of file ambient_sound_display.h.

Definition at line 137 of file ambient_sound_display_groovy.h.

Reimplemented from rviz::Display.

Definition at line 90 of file ambient_sound_display.h.

Definition at line 99 of file ambient_sound_display.h.

rviz::ROSTopicStringPropertyWPtr jsk_rviz_plugins::AmbientSoundDisplay::topic_property_ [private]

Reimplemented from rviz::_RosTopicDisplay.

Definition at line 106 of file ambient_sound_display.h.

rviz::ROSTopicStringProperty* jsk_rviz_plugins::AmbientSoundDisplay::topic_property_ [private]

Reimplemented from rviz::_RosTopicDisplay.

Definition at line 133 of file ambient_sound_display_groovy.h.

Definition at line 87 of file ambient_sound_display.h.

boost::circular_buffer<std::shared_ptr<AmbientSoundVisual> > jsk_rviz_plugins::AmbientSoundDisplay::visuals_ [private]

Definition at line 112 of file ambient_sound_display_groovy.h.

Definition at line 102 of file ambient_sound_display.h.

rviz::FloatPropertyWPtr jsk_rviz_plugins::AmbientSoundDisplay::width_property_ [private]

Definition at line 109 of file ambient_sound_display.h.

Definition at line 136 of file ambient_sound_display_groovy.h.


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


jsk_rviz_plugins
Author(s): Kei Okada , Yohei Kakiuchi , Shohei Fujii , Ryohei Ueda
autogenerated on Wed May 1 2019 02:40:22