Template Class TransformerGuard

Inheritance Relationships

Base Type

Class Documentation

template<typename AllowedTransformerType>
class TransformerGuard : public rviz_default_plugins::transformation::_TransformerGuard

Convenience class for displays that can only work with a specific transformer.

For example, some displays may only work with the tf2 backed transformer. It helps handling the change of the transformer.

Public Functions

inline TransformerGuard(rviz_common::Display *display, const std::string &transformer_name)
~TransformerGuard() override = default
inline virtual bool checkTransformer() override
inline void updateDisplayAccordingToTransformerType(std::shared_ptr<rviz_common::transformation::FrameTransformer> transformer)