Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
jsk_rviz_plugins::AmbientSoundDisplay Class Reference

#include <ambient_sound_display.h>

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

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 ()
 
- Public Member Functions inherited from rviz::MessageFilterDisplay< jsk_hark_msgs::HarkPower >
 MessageFilterDisplay ()
 
virtual void setTopic (const QString &topic, const QString &datatype)
 
virtual ~MessageFilterDisplay ()
 
- Public Member Functions inherited from rviz::_RosTopicDisplay
 _RosTopicDisplay ()
 
- Public Member Functions inherited from rviz::Display
virtual void deleteStatus (const QString &name)
 
void deleteStatusStd (const std::string &name)
 
 Display ()
 
void emitTimeSignal (ros::Time time)
 
QWidget * getAssociatedWidget () const
 
PanelDockWidgetgetAssociatedWidgetPanel ()
 
virtual QString getClassId () const
 
Ogre::SceneNode * getSceneNode () const
 
virtual QVariant getViewData (int column, int role) const
 
virtual Qt::ItemFlags getViewFlags (int column) const
 
uint32_t getVisibilityBits ()
 
void initialize (DisplayContext *context)
 
bool isEnabled () const
 
virtual void load (const Config &config)
 
virtual void save (Config config) const
 
void setAssociatedWidget (QWidget *widget)
 
virtual void setClassId (const QString &class_id)
 
void setFixedFrame (const QString &fixed_frame)
 
void setName (const QString &name)
 
virtual void setStatus (StatusProperty::Level level, const QString &name, const QString &text)
 
void setStatusStd (StatusProperty::Level level, const std::string &name, const std::string &text)
 
void setVisibilityBits (uint32_t bits)
 
void unsetVisibilityBits (uint32_t bits)
 
virtual void update (float wall_dt, float ros_dt)
 
virtual ~Display ()
 
- Public Member Functions inherited from rviz::BoolProperty
 BoolProperty (const QString &name=QString(), bool default_value=false, const QString &description=QString(), Property *parent=0, const char *changed_slot=0, QObject *receiver=0)
 
virtual bool getBool () const
 
virtual bool getDisableChildren ()
 
bool getDisableChildrenIfFalse ()
 
void setDisableChildrenIfFalse (bool disable)
 
virtual ~BoolProperty ()
 
- Public Member Functions inherited from rviz::Property
virtual void addChild (Property *child, int index=-1)
 
PropertychildAt (int index) const
 
virtual PropertychildAtUnchecked (int index) const
 
virtual void collapse ()
 
bool contains (Property *possible_child) const
 
virtual QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option)
 
virtual void expand ()
 
virtual QString getDescription () const
 
virtual bool getHidden () const
 
virtual QIcon getIcon () const
 
PropertyTreeModelgetModel () const
 
virtual QString getName () const
 
std::string getNameStd () const
 
PropertygetParent () const
 
virtual bool getReadOnly ()
 
virtual QVariant getValue () const
 
void hide ()
 
bool isAncestorOf (Property *possible_child) const
 
virtual void moveChild (int from_index, int to_index)
 
virtual int numChildren () const
 
virtual bool paint (QPainter *painter, const QStyleOptionViewItem &option) const
 
 Property (const QString &name=QString(), const QVariant default_value=QVariant(), const QString &description=QString(), Property *parent=0, const char *changed_slot=0, QObject *receiver=0)
 
virtual void removeChildren (int start_index=0, int count=-1)
 
int rowNumberInParent () const
 
virtual void setDescription (const QString &description)
 
virtual void setHidden (bool hidden)
 
virtual void setIcon (const QIcon &icon)
 
void setModel (PropertyTreeModel *model)
 
void setParent (Property *new_parent)
 
virtual void setReadOnly (bool read_only)
 
void setShouldBeSaved (bool save)
 
virtual bool setValue (const QVariant &new_value)
 
bool shouldBeSaved () const
 
void show ()
 
virtual PropertysubProp (const QString &sub_name)
 
PropertytakeChild (Property *child)
 
virtual PropertytakeChildAt (int index)
 
virtual ~Property ()
 

Protected Member Functions

virtual void onDisable ()
 
virtual void onEnable ()
 
- Protected Member Functions inherited from rviz::MessageFilterDisplay< jsk_hark_msgs::HarkPower >
void incomingMessage (const typename jsk_hark_msgs::HarkPower::ConstPtr &msg)
 
virtual void processMessage (const typename jsk_hark_msgs::HarkPower::ConstPtr &msg)=0
 
virtual void updateTopic ()
 
- Protected Member Functions inherited from rviz::Display
virtual void clearStatuses ()
 
bool initialized () const
 
- Protected Member Functions inherited from rviz::Property
void loadValue (const Config &config)
 

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< boost::shared_ptr< AmbientSoundVisual > > visuals_
 
float width_
 
rviz::FloatPropertyWPtr width_property_
 
rviz::FloatPropertywidth_property_
 

Additional Inherited Members

- Public Types inherited from rviz::MessageFilterDisplay< jsk_hark_msgs::HarkPower >
typedef MessageFilterDisplay< jsk_hark_msgs::HarkPower > MFDClass
 
- Public Slots inherited from rviz::Display
virtual void onEnableChanged ()
 
void queueRender ()
 
void setEnabled (bool enabled)
 
virtual void setIcon (const QIcon &icon)
 
- Public Slots inherited from rviz::BoolProperty
bool setBool (bool value)
 
- Signals inherited from rviz::Display
void timeSignal (rviz::Display *display, ros::Time time)
 
- Signals inherited from rviz::Property
void aboutToChange ()
 
void changed ()
 
void childListChanged (Property *this_property)
 
- Protected Slots inherited from rviz::_RosTopicDisplay
- Protected Attributes inherited from rviz::MessageFilterDisplay< jsk_hark_msgs::HarkPower >
uint32_t messages_received_
 
message_filters::Subscriber< jsk_hark_msgs::HarkPower > sub_
 
tf::MessageFilter< jsk_hark_msgs::HarkPower > * tf_filter_
 
- Protected Attributes inherited from rviz::_RosTopicDisplay
RosTopicPropertytopic_property_
 
BoolPropertyunreliable_property_
 
- Protected Attributes inherited from rviz::Display
DisplayContextcontext_
 
QString fixed_frame_
 
Ogre::SceneManager * scene_manager_
 
Ogre::SceneNode * scene_node_
 
ros::NodeHandle threaded_nh_
 
ros::NodeHandle update_nh_
 
- Protected Attributes inherited from rviz::Property
bool child_indexes_valid_
 
QIcon icon_
 
PropertyTreeModelmodel_
 
QVariant value_
 

Detailed Description

Definition at line 21 of file ambient_sound_display.h.

Constructor & Destructor Documentation

jsk_rviz_plugins::AmbientSoundDisplay::AmbientSoundDisplay ( )

Definition at line 21 of file ambient_sound_display.cpp.

jsk_rviz_plugins::AmbientSoundDisplay::~AmbientSoundDisplay ( )
virtual

Definition at line 60 of file ambient_sound_display.cpp.

jsk_rviz_plugins::AmbientSoundDisplay::AmbientSoundDisplay ( )
virtual jsk_rviz_plugins::AmbientSoundDisplay::~AmbientSoundDisplay ( )
virtual

Member Function Documentation

void jsk_rviz_plugins::AmbientSoundDisplay::clear ( )
private

Definition at line 73 of file ambient_sound_display.cpp.

void jsk_rviz_plugins::AmbientSoundDisplay::createProperties ( )
virtual

Definition at line 316 of file ambient_sound_display.cpp.

void jsk_rviz_plugins::AmbientSoundDisplay::fixedFrameChanged ( )
virtual

Reimplemented from rviz::Display.

Definition at line 254 of file ambient_sound_display.cpp.

float jsk_rviz_plugins::AmbientSoundDisplay::getAlpha ( )
inline

Definition at line 43 of file ambient_sound_display.h.

float jsk_rviz_plugins::AmbientSoundDisplay::getBias ( ) const
inline

Definition at line 55 of file ambient_sound_display.h.

const rviz::Color& jsk_rviz_plugins::AmbientSoundDisplay::getColor ( )
inline

Definition at line 40 of file ambient_sound_display.h.

float jsk_rviz_plugins::AmbientSoundDisplay::getGrad ( ) const
inline

Definition at line 58 of file ambient_sound_display.h.

int jsk_rviz_plugins::AmbientSoundDisplay::getHistoryLength ( ) const
inline

Definition at line 46 of file ambient_sound_display.h.

float jsk_rviz_plugins::AmbientSoundDisplay::getScale ( ) const
inline

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.

float jsk_rviz_plugins::AmbientSoundDisplay::getWidth ( ) const
inline

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 ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 246 of file ambient_sound_display.cpp.

void jsk_rviz_plugins::AmbientSoundDisplay::onEnable ( )
protectedvirtual

Reimplemented from rviz::Display.

Definition at line 241 of file ambient_sound_display.cpp.

void jsk_rviz_plugins::AmbientSoundDisplay::onInitialize ( )
virtual

Reimplemented from rviz::Display.

Definition at line 35 of file ambient_sound_display.cpp.

virtual void jsk_rviz_plugins::AmbientSoundDisplay::onInitialize ( )
virtual

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.

void jsk_rviz_plugins::AmbientSoundDisplay::reset ( )
virtual

Reimplemented from rviz::Display.

Definition at line 306 of file ambient_sound_display.cpp.

virtual void jsk_rviz_plugins::AmbientSoundDisplay::reset ( )
virtual

Reimplemented from rviz::Display.

void jsk_rviz_plugins::AmbientSoundDisplay::setAlpha ( float  alpha)

Definition at line 108 of file ambient_sound_display.cpp.

void jsk_rviz_plugins::AmbientSoundDisplay::setBias ( float  bias)

Definition at line 136 of file ambient_sound_display.cpp.

void jsk_rviz_plugins::AmbientSoundDisplay::setColor ( const rviz::Color color)

Definition at line 99 of file ambient_sound_display.cpp.

void jsk_rviz_plugins::AmbientSoundDisplay::setGrad ( float  grad)

Definition at line 145 of file ambient_sound_display.cpp.

void jsk_rviz_plugins::AmbientSoundDisplay::setHistoryLength ( int  history_length)

Definition at line 167 of file ambient_sound_display.cpp.

void jsk_rviz_plugins::AmbientSoundDisplay::setScale ( float  scale)

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.

void jsk_rviz_plugins::AmbientSoundDisplay::setWidth ( float  width)

Definition at line 117 of file ambient_sound_display.cpp.

void jsk_rviz_plugins::AmbientSoundDisplay::subscribe ( )
privatevirtual
void jsk_rviz_plugins::AmbientSoundDisplay::unsubscribe ( )
privatevirtual
void jsk_rviz_plugins::AmbientSoundDisplay::updateAppearance ( )
privateslot

Definition at line 124 of file ambient_sound_display_groovy.cpp.

void jsk_rviz_plugins::AmbientSoundDisplay::updateColorAndAlpha ( )
private

Definition at line 155 of file ambient_sound_display.cpp.

void jsk_rviz_plugins::AmbientSoundDisplay::updateColorAndAlpha ( )
privateslot
void jsk_rviz_plugins::AmbientSoundDisplay::updateHistoryLength ( )
privateslot

Definition at line 143 of file ambient_sound_display_groovy.cpp.

bool jsk_rviz_plugins::AmbientSoundDisplay::validateFloats ( const jsk_hark_msgs::HarkPower &  msg)
privateslot

Definition at line 147 of file ambient_sound_display_groovy.cpp.

Member Data Documentation

float jsk_rviz_plugins::AmbientSoundDisplay::alpha_
private

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.

rviz::FloatProperty* jsk_rviz_plugins::AmbientSoundDisplay::alpha_property_
private

Definition at line 140 of file ambient_sound_display_groovy.h.

float jsk_rviz_plugins::AmbientSoundDisplay::bias_
private

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.

rviz::FloatProperty* jsk_rviz_plugins::AmbientSoundDisplay::bias_property_
private

Definition at line 144 of file ambient_sound_display_groovy.h.

rviz::Color jsk_rviz_plugins::AmbientSoundDisplay::color_
private

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.

rviz::ColorProperty* jsk_rviz_plugins::AmbientSoundDisplay::color_property_
private

Definition at line 138 of file ambient_sound_display_groovy.h.

float jsk_rviz_plugins::AmbientSoundDisplay::grad_
private

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.

rviz::FloatProperty* jsk_rviz_plugins::AmbientSoundDisplay::grad_property_
private

Definition at line 145 of file ambient_sound_display_groovy.h.

int jsk_rviz_plugins::AmbientSoundDisplay::history_length_
private

Definition at line 101 of file ambient_sound_display.h.

rviz::IntPropertyWPtr jsk_rviz_plugins::AmbientSoundDisplay::history_length_property_
private

Definition at line 108 of file ambient_sound_display.h.

rviz::IntProperty* jsk_rviz_plugins::AmbientSoundDisplay::history_length_property_
private

Definition at line 141 of file ambient_sound_display_groovy.h.

int jsk_rviz_plugins::AmbientSoundDisplay::messages_received_
private

Definition at line 95 of file ambient_sound_display.h.

float jsk_rviz_plugins::AmbientSoundDisplay::scale_
private

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.

rviz::FloatProperty* jsk_rviz_plugins::AmbientSoundDisplay::scale_property_
private

Definition at line 143 of file ambient_sound_display_groovy.h.

Ogre::SceneNode* jsk_rviz_plugins::AmbientSoundDisplay::scene_node_
private

Definition at line 90 of file ambient_sound_display.h.

message_filters::Subscriber<jsk_hark_msgs::HarkPower> jsk_rviz_plugins::AmbientSoundDisplay::sub_
private

Definition at line 93 of file ambient_sound_display.h.

tf::MessageFilter<jsk_hark_msgs::HarkPower>* jsk_rviz_plugins::AmbientSoundDisplay::tf_filter_
private

Definition at line 94 of file ambient_sound_display.h.

std::string jsk_rviz_plugins::AmbientSoundDisplay::topic_
private

Definition at line 99 of file ambient_sound_display.h.

rviz::ROSTopicStringPropertyWPtr jsk_rviz_plugins::AmbientSoundDisplay::topic_property_
private

Definition at line 106 of file ambient_sound_display.h.

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

Definition at line 139 of file ambient_sound_display_groovy.h.

std::vector<AmbientSoundVisual*> jsk_rviz_plugins::AmbientSoundDisplay::visuals_
private

Definition at line 87 of file ambient_sound_display.h.

boost::circular_buffer<boost::shared_ptr<AmbientSoundVisual> > jsk_rviz_plugins::AmbientSoundDisplay::visuals_
private

Definition at line 117 of file ambient_sound_display_groovy.h.

float jsk_rviz_plugins::AmbientSoundDisplay::width_
private

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.

rviz::FloatProperty* jsk_rviz_plugins::AmbientSoundDisplay::width_property_
private

Definition at line 142 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 Sat Mar 20 2021 03:03:18