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 ()
 
template<>
void getTfTransforms ()
 
template<>
void getTfTransforms ()
 
bool isReady ()
 
 MessageContext (tf::Transformer &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 ()
 
template<>
void init ()
 
template<>
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_
 
tf::Transformertf_
 

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 ( tf::Transformer tf,
const std::string &  target_frame,
const typename MsgT::ConstPtr &  msg,
bool  enable_autocomplete_transparency = true 
)

Definition at line 44 of file message_context.cpp.

Member Function Documentation

◆ getTfTransforms() [1/5]

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

◆ getTfTransforms() [2/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 118 of file message_context.cpp.

◆ getTfTransforms() [3/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 152 of file message_context.cpp.

◆ getTfTransforms() [4/5]

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

Definition at line 218 of file message_context.cpp.

◆ getTfTransforms() [5/5]

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

Definition at line 229 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 70 of file message_context.cpp.

◆ init() [1/3]

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

◆ init() [2/3]

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

Definition at line 177 of file message_context.cpp.

◆ init() [3/3]

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

Definition at line 204 of file message_context.cpp.

◆ isReady()

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

Definition at line 171 of file message_context.cpp.

◆ operator=()

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

Definition at line 60 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>
tf::Transformer& 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 Mon Feb 28 2022 22:33:22