Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
interactive_markers::MessageContext< MsgT > Class Template Reference

#include <message_context.h>

Public Member Functions

void getTfTransforms ()
 
void getTfTransforms ()
 
void getTfTransforms ()
 
bool isReady ()
 
 MessageContext (tf2_ros::Buffer &tf, const std::string &target_frame, const typename MsgT::ConstPtr &msg, bool enable_autocomplete_transparency=true)
 
MessageContext< MsgT > & operator= (const MessageContext< MsgT > &other)
 

Public Attributes

MsgT::Ptr msg
 

Private Member Functions

void getTfTransforms (std::vector< visualization_msgs::InteractiveMarker > &msg_vec, std::list< size_t > &indices)
 
void getTfTransforms (std::vector< visualization_msgs::InteractiveMarkerPose > &msg_vec, std::list< size_t > &indices)
 
bool getTransform (std_msgs::Header &header, geometry_msgs::Pose &pose_msg)
 
void init ()
 
void init ()
 
void init ()
 

Private Attributes

bool enable_autocomplete_transparency_
 
std::list< size_t > open_marker_idx_
 
std::list< size_t > open_pose_idx_
 
std::string target_frame_
 
tf2_ros::Buffertf_
 

Detailed Description

template<class MsgT>
class interactive_markers::MessageContext< MsgT >

Definition at line 49 of file message_context.h.

Constructor & Destructor Documentation

◆ MessageContext()

template<class MsgT >
interactive_markers::MessageContext< MsgT >::MessageContext ( tf2_ros::Buffer tf,
const std::string &  target_frame,
const typename MsgT::ConstPtr &  msg,
bool  enable_autocomplete_transparency = true 
)

Definition at line 45 of file message_context.cpp.

Member Function Documentation

◆ getTfTransforms() [1/5]

template<class MsgT >
void interactive_markers::MessageContext< MsgT >::getTfTransforms ( )

◆ getTfTransforms() [2/5]

void interactive_markers::MessageContext< visualization_msgs::InteractiveMarkerUpdate >::getTfTransforms ( )

Definition at line 217 of file message_context.cpp.

◆ getTfTransforms() [3/5]

void interactive_markers::MessageContext< visualization_msgs::InteractiveMarkerInit >::getTfTransforms ( )

Definition at line 228 of file message_context.cpp.

◆ getTfTransforms() [4/5]

template<class MsgT >
void interactive_markers::MessageContext< MsgT >::getTfTransforms ( std::vector< visualization_msgs::InteractiveMarker > &  msg_vec,
std::list< size_t > &  indices 
)
private

Definition at line 117 of file message_context.cpp.

◆ getTfTransforms() [5/5]

template<class MsgT >
void interactive_markers::MessageContext< MsgT >::getTfTransforms ( std::vector< visualization_msgs::InteractiveMarkerPose > &  msg_vec,
std::list< size_t > &  indices 
)
private

Definition at line 151 of file message_context.cpp.

◆ getTransform()

template<class MsgT >
bool interactive_markers::MessageContext< MsgT >::getTransform ( std_msgs::Header header,
geometry_msgs::Pose &  pose_msg 
)
private

Definition at line 71 of file message_context.cpp.

◆ init() [1/3]

template<class MsgT >
void interactive_markers::MessageContext< MsgT >::init ( )
private

◆ init() [2/3]

void interactive_markers::MessageContext< visualization_msgs::InteractiveMarkerUpdate >::init ( )
private

Definition at line 176 of file message_context.cpp.

◆ init() [3/3]

void interactive_markers::MessageContext< visualization_msgs::InteractiveMarkerInit >::init ( )
private

Definition at line 203 of file message_context.cpp.

◆ isReady()

template<class MsgT >
bool interactive_markers::MessageContext< MsgT >::isReady

Definition at line 170 of file message_context.cpp.

◆ operator=()

template<class MsgT >
MessageContext< MsgT > & interactive_markers::MessageContext< MsgT >::operator= ( const MessageContext< MsgT > &  other)

Definition at line 61 of file message_context.cpp.

Member Data Documentation

◆ enable_autocomplete_transparency_

template<class MsgT >
bool interactive_markers::MessageContext< MsgT >::enable_autocomplete_transparency_
private

Definition at line 81 of file message_context.h.

◆ msg

template<class MsgT >
MsgT::Ptr interactive_markers::MessageContext< MsgT >::msg

Definition at line 62 of file message_context.h.

◆ open_marker_idx_

template<class MsgT >
std::list<size_t> interactive_markers::MessageContext< MsgT >::open_marker_idx_
private

Definition at line 77 of file message_context.h.

◆ open_pose_idx_

template<class MsgT >
std::list<size_t> interactive_markers::MessageContext< MsgT >::open_pose_idx_
private

Definition at line 78 of file message_context.h.

◆ target_frame_

template<class MsgT >
std::string interactive_markers::MessageContext< MsgT >::target_frame_
private

Definition at line 80 of file message_context.h.

◆ tf_

template<class MsgT >
tf2_ros::Buffer& interactive_markers::MessageContext< MsgT >::tf_
private

Definition at line 79 of file message_context.h.


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


interactive_markers
Author(s): David Gossow, William Woodall
autogenerated on Fri Oct 27 2023 02:31:54