|
void | addCallback (const std::shared_ptr< rmw_request_id_t > req_hdr, const std::shared_ptr< ml_classifiers::srv::AddClassData::Request > req, std::shared_ptr< ml_classifiers::srv::AddClassData::Response > res) |
|
void | classifyCallback (const std::shared_ptr< rmw_request_id_t > req_hdr, const std::shared_ptr< ml_classifiers::srv::ClassifyData::Request > req, std::shared_ptr< ml_classifiers::srv::ClassifyData::Response > res) |
|
void | clearCallback (const std::shared_ptr< rmw_request_id_t > req_hdr, const std::shared_ptr< ml_classifiers::srv::ClearClassifier::Request > req, std::shared_ptr< ml_classifiers::srv::ClearClassifier::Response > res) |
|
void | createCallback (const std::shared_ptr< rmw_request_id_t > req_hdr, const std::shared_ptr< ml_classifiers::srv::CreateClassifier::Request > req, std::shared_ptr< ml_classifiers::srv::CreateClassifier::Response > res) |
|
bool | createHelper (string class_type, std::shared_ptr< Classifier > &c) |
|
void | loadCallback (const std::shared_ptr< rmw_request_id_t > req_hdr, const std::shared_ptr< ml_classifiers::srv::LoadClassifier::Request > req, std::shared_ptr< ml_classifiers::srv::LoadClassifier::Response > res) |
|
void | saveCallback (const std::shared_ptr< rmw_request_id_t > req_hdr, const std::shared_ptr< ml_classifiers::srv::SaveClassifier::Request > req, std::shared_ptr< ml_classifiers::srv::SaveClassifier::Response > res) |
|
void | trainCallback (const std::shared_ptr< rmw_request_id_t > req_hdr, const std::shared_ptr< ml_classifiers::srv::TrainClassifier::Request > req, std::shared_ptr< ml_classifiers::srv::TrainClassifier::Response > res) |
|
|
rclcpp::Service< ml_classifiers::srv::AddClassData >::SharedPtr | add_srv |
|
pluginlib::ClassLoader< Classifier > | c_loader |
|
std::map< string, std::shared_ptr< Classifier > > | classifier_list |
|
rclcpp::Service< ml_classifiers::srv::ClassifyData >::SharedPtr | classify_srv |
|
rclcpp::Service< ml_classifiers::srv::ClearClassifier >::SharedPtr | clear_srv |
|
rclcpp::Service< ml_classifiers::srv::CreateClassifier >::SharedPtr | create_srv |
|
rclcpp::Service< ml_classifiers::srv::LoadClassifier >::SharedPtr | load_srv |
|
rclcpp::Service< ml_classifiers::srv::SaveClassifier >::SharedPtr | save_srv |
|
rclcpp::Service< ml_classifiers::srv::TrainClassifier >::SharedPtr | train_srv |
|
Definition at line 59 of file ros2_classifier_server.cpp.
◆ ClassifierServer()
ClassifierServer::ClassifierServer |
( |
| ) |
|
|
inline |
◆ addCallback()
void ClassifierServer::addCallback |
( |
const std::shared_ptr< rmw_request_id_t > |
req_hdr, |
|
|
const std::shared_ptr< ml_classifiers::srv::AddClassData::Request > |
req, |
|
|
std::shared_ptr< ml_classifiers::srv::AddClassData::Response > |
res |
|
) |
| |
|
inlineprivate |
◆ classifyCallback()
void ClassifierServer::classifyCallback |
( |
const std::shared_ptr< rmw_request_id_t > |
req_hdr, |
|
|
const std::shared_ptr< ml_classifiers::srv::ClassifyData::Request > |
req, |
|
|
std::shared_ptr< ml_classifiers::srv::ClassifyData::Response > |
res |
|
) |
| |
|
inlineprivate |
◆ clearCallback()
void ClassifierServer::clearCallback |
( |
const std::shared_ptr< rmw_request_id_t > |
req_hdr, |
|
|
const std::shared_ptr< ml_classifiers::srv::ClearClassifier::Request > |
req, |
|
|
std::shared_ptr< ml_classifiers::srv::ClearClassifier::Response > |
res |
|
) |
| |
|
inlineprivate |
◆ createCallback()
void ClassifierServer::createCallback |
( |
const std::shared_ptr< rmw_request_id_t > |
req_hdr, |
|
|
const std::shared_ptr< ml_classifiers::srv::CreateClassifier::Request > |
req, |
|
|
std::shared_ptr< ml_classifiers::srv::CreateClassifier::Response > |
res |
|
) |
| |
|
inlineprivate |
◆ createHelper()
bool ClassifierServer::createHelper |
( |
string |
class_type, |
|
|
std::shared_ptr< Classifier > & |
c |
|
) |
| |
|
inlineprivate |
◆ loadCallback()
void ClassifierServer::loadCallback |
( |
const std::shared_ptr< rmw_request_id_t > |
req_hdr, |
|
|
const std::shared_ptr< ml_classifiers::srv::LoadClassifier::Request > |
req, |
|
|
std::shared_ptr< ml_classifiers::srv::LoadClassifier::Response > |
res |
|
) |
| |
|
inlineprivate |
◆ saveCallback()
void ClassifierServer::saveCallback |
( |
const std::shared_ptr< rmw_request_id_t > |
req_hdr, |
|
|
const std::shared_ptr< ml_classifiers::srv::SaveClassifier::Request > |
req, |
|
|
std::shared_ptr< ml_classifiers::srv::SaveClassifier::Response > |
res |
|
) |
| |
|
inlineprivate |
◆ trainCallback()
void ClassifierServer::trainCallback |
( |
const std::shared_ptr< rmw_request_id_t > |
req_hdr, |
|
|
const std::shared_ptr< ml_classifiers::srv::TrainClassifier::Request > |
req, |
|
|
std::shared_ptr< ml_classifiers::srv::TrainClassifier::Response > |
res |
|
) |
| |
|
inlineprivate |
◆ add_srv
rclcpp::Service<ml_classifiers::srv::AddClassData>::SharedPtr ClassifierServer::add_srv |
|
private |
◆ c_loader
◆ classifier_list
std::map<string, std::shared_ptr<Classifier> > ClassifierServer::classifier_list |
|
private |
◆ classify_srv
rclcpp::Service<ml_classifiers::srv::ClassifyData>::SharedPtr ClassifierServer::classify_srv |
|
private |
◆ clear_srv
rclcpp::Service<ml_classifiers::srv::ClearClassifier>::SharedPtr ClassifierServer::clear_srv |
|
private |
◆ create_srv
rclcpp::Service<ml_classifiers::srv::CreateClassifier>::SharedPtr ClassifierServer::create_srv |
|
private |
◆ load_srv
rclcpp::Service<ml_classifiers::srv::LoadClassifier>::SharedPtr ClassifierServer::load_srv |
|
private |
◆ save_srv
rclcpp::Service<ml_classifiers::srv::SaveClassifier>::SharedPtr ClassifierServer::save_srv |
|
private |
◆ train_srv
rclcpp::Service<ml_classifiers::srv::TrainClassifier>::SharedPtr ClassifierServer::train_srv |
|
private |
The documentation for this class was generated from the following file: