class_desc.hpp
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * Software License Agreement (BSD License)
4 *
5 * Copyright (c) 2008, Willow Garage, Inc.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
11 *
12 * * Redistributions of source code must retain the above copyright
13 * notice, this list of conditions and the following disclaimer.
14 * * Redistributions in binary form must reproduce the above
15 * copyright notice, this list of conditions and the following
16 * disclaimer in the documentation and/or other materials provided
17 * with the distribution.
18 * * Neither the name of Willow Garage, Inc. nor the names of its
19 * contributors may be used to endorse or promote products derived
20 * from this software without specific prior written permission.
21 *
22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
25 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
26 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
27 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
28 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
30 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
32 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 * POSSIBILITY OF SUCH DAMAGE.
34 *
35 *********************************************************************/
36 
37 #ifndef PLUGINLIB__CLASS_DESC_HPP_
38 #define PLUGINLIB__CLASS_DESC_HPP_
39 
40 #include <string>
41 
42 namespace pluginlib
43 {
44 
46 class ClassDesc
47 {
48 public:
58  ClassDesc(
59  const std::string & lookup_name, const std::string & derived_class,
60  const std::string & base_class, const std::string & package,
61  const std::string & description, const std::string & library_name,
62  const std::string & plugin_manifest_path)
63  : lookup_name_(lookup_name),
64  derived_class_(derived_class),
65  base_class_(base_class),
67  description_(description),
68  library_name_(library_name),
69  resolved_library_path_("UNRESOLVED"),
70  plugin_manifest_path_(plugin_manifest_path) {}
71 
72  std::string lookup_name_;
73  std::string derived_class_;
74  std::string base_class_;
75  std::string package_;
76  std::string description_;
77  std::string library_name_;
78  std::string resolved_library_path_; // This is set by pluginlib::ClassLoader at load time.
79  std::string plugin_manifest_path_;
80 };
81 
82 } // namespace pluginlib
83 
84 #endif // PLUGINLIB__CLASS_DESC_HPP_
pluginlib::ClassDesc::derived_class_
std::string derived_class_
Definition: class_desc.hpp:141
pluginlib::ClassDesc::base_class_
std::string base_class_
Definition: class_desc.hpp:142
pluginlib::ClassDesc::description_
std::string description_
Definition: class_desc.hpp:144
pluginlib::ClassDesc::package_
std::string package_
Definition: class_desc.hpp:143
pluginlib::ClassDesc::lookup_name_
std::string lookup_name_
Definition: class_desc.hpp:140
package
string package
pluginlib::ClassDesc::resolved_library_path_
std::string resolved_library_path_
Definition: class_desc.hpp:146
pluginlib::ClassDesc
Storage for information about a given class.
Definition: class_desc.hpp:80
pluginlib
Definition: class_desc.hpp:42
pluginlib::ClassDesc::plugin_manifest_path_
std::string plugin_manifest_path_
Definition: class_desc.hpp:147
pluginlib::ClassDesc::ClassDesc
ClassDesc(const std::string &lookup_name, const std::string &derived_class, const std::string &base_class, const std::string &package, const std::string &description, const std::string &library_name, const std::string &plugin_manifest_path)
Definition: class_desc.hpp:126
pluginlib::ClassDesc::library_name_
std::string library_name_
Definition: class_desc.hpp:145


pluginlib
Author(s): Eitan Marder-Eppstein, Tully Foote, Dirk Thomas, Mirza Shah
autogenerated on Tue Jul 9 2024 02:50:20