Class _TransformerGuard

Inheritance Relationships

Base Type

  • public QObject

Derived Type

Class Documentation

class _TransformerGuard : public QObject

Helper class for TransformerGuard.

This is needed because Qt’s moc and c++ templates do not work nicely together (i.e. a Q_OBJECT may not be a template class). Not intended to be used directly, use TransformerGuard instead.

Subclassed by rviz_default_plugins::transformation::TransformerGuard< AllowedTransformerType >

Public Functions

inline _TransformerGuard(rviz_common::Display *display, const std::string &transformer_name)
inline void initialize(rviz_common::DisplayContext *context)
virtual bool checkTransformer() = 0

Protected Attributes

rviz_common::Display *display_
std::string allowed_transformer_name_
bool using_allowed_transformer_
bool display_disabled_by_user_
rviz_common::DisplayContext *context_

Protected Slots

virtual void transformerChanged(std::shared_ptr<rviz_common::transformation::FrameTransformer> new_transformer) = 0
virtual void displayEnabledChanged() = 0