Public Member Functions | Private Member Functions | Private Attributes | List of all members
label_manager::LabelManager Class Reference

#include <manager.h>

Public Member Functions

 LabelManager (ros::NodeHandle &nodeHandle)
 

Private Member Functions

void clusterLabelCallback (const mesh_msgs::MeshFaceClusterStamped::ConstPtr &msg)
 
std::string getFileName (const std::string &uuid, const std::string &label)
 
std::vector< uint > readIndicesFromFile (const std::string &fileName)
 
bool service_deleteLabel (label_manager::DeleteLabel::Request &req, label_manager::DeleteLabel::Response &res)
 
bool service_getLabeledClusterGroup (label_manager::GetLabeledClusterGroup::Request &req, label_manager::GetLabeledClusterGroup::Response &res)
 
bool service_getLabeledClusters (mesh_msgs::GetLabeledClusters::Request &req, mesh_msgs::GetLabeledClusters::Response &res)
 
bool service_getLabelGroups (label_manager::GetLabelGroups::Request &req, label_manager::GetLabelGroups::Response &res)
 
bool writeIndicesToFile (const std::string &fileName, const std::vector< uint > &indices, const bool append)
 

Private Attributes

ros::Subscriber clusterLabelSub
 
std::string folderPath
 
ros::Publisher newClusterLabelPub
 
ros::NodeHandle nh
 
ros::ServiceServer srv_delete_label
 
ros::ServiceServer srv_get_label_groups
 
ros::ServiceServer srv_get_labeled_cluster_group
 
ros::ServiceServer srv_get_labeled_clusters
 

Detailed Description

Definition at line 16 of file manager.h.

Constructor & Destructor Documentation

◆ LabelManager()

label_manager::LabelManager::LabelManager ( ros::NodeHandle nodeHandle)

Definition at line 13 of file manager.cpp.

Member Function Documentation

◆ clusterLabelCallback()

void label_manager::LabelManager::clusterLabelCallback ( const mesh_msgs::MeshFaceClusterStamped::ConstPtr &  msg)
private

Definition at line 55 of file manager.cpp.

◆ getFileName()

std::string label_manager::LabelManager::getFileName ( const std::string &  uuid,
const std::string &  label 
)
private

Definition at line 307 of file manager.cpp.

◆ readIndicesFromFile()

std::vector< uint > label_manager::LabelManager::readIndicesFromFile ( const std::string &  fileName)
private

Definition at line 285 of file manager.cpp.

◆ service_deleteLabel()

bool label_manager::LabelManager::service_deleteLabel ( label_manager::DeleteLabel::Request &  req,
label_manager::DeleteLabel::Response &  res 
)
private

Definition at line 181 of file manager.cpp.

◆ service_getLabeledClusterGroup()

bool label_manager::LabelManager::service_getLabeledClusterGroup ( label_manager::GetLabeledClusterGroup::Request &  req,
label_manager::GetLabeledClusterGroup::Response &  res 
)
private

Definition at line 200 of file manager.cpp.

◆ service_getLabeledClusters()

bool label_manager::LabelManager::service_getLabeledClusters ( mesh_msgs::GetLabeledClusters::Request &  req,
mesh_msgs::GetLabeledClusters::Response &  res 
)
private

Definition at line 104 of file manager.cpp.

◆ service_getLabelGroups()

bool label_manager::LabelManager::service_getLabelGroups ( label_manager::GetLabelGroups::Request &  req,
label_manager::GetLabelGroups::Response &  res 
)
private

Definition at line 141 of file manager.cpp.

◆ writeIndicesToFile()

bool label_manager::LabelManager::writeIndicesToFile ( const std::string &  fileName,
const std::vector< uint > &  indices,
const bool  append 
)
private

Definition at line 235 of file manager.cpp.

Member Data Documentation

◆ clusterLabelSub

ros::Subscriber label_manager::LabelManager::clusterLabelSub
private

Definition at line 23 of file manager.h.

◆ folderPath

std::string label_manager::LabelManager::folderPath
private

Definition at line 30 of file manager.h.

◆ newClusterLabelPub

ros::Publisher label_manager::LabelManager::newClusterLabelPub
private

Definition at line 24 of file manager.h.

◆ nh

ros::NodeHandle label_manager::LabelManager::nh
private

Definition at line 22 of file manager.h.

◆ srv_delete_label

ros::ServiceServer label_manager::LabelManager::srv_delete_label
private

Definition at line 28 of file manager.h.

◆ srv_get_label_groups

ros::ServiceServer label_manager::LabelManager::srv_get_label_groups
private

Definition at line 26 of file manager.h.

◆ srv_get_labeled_cluster_group

ros::ServiceServer label_manager::LabelManager::srv_get_labeled_cluster_group
private

Definition at line 27 of file manager.h.

◆ srv_get_labeled_clusters

ros::ServiceServer label_manager::LabelManager::srv_get_labeled_clusters
private

Definition at line 25 of file manager.h.


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


label_manager
Author(s): Sebastian Pütz , Jan Philipp Vogtherr
autogenerated on Sun Jan 21 2024 04:06:15