27 #ifndef CYBER_CLASS_LOADER_SHARED_LIBRARY_SHARED_LIBRARY_H_ 28 #define CYBER_CLASS_LOADER_SHARED_LIBRARY_SHARED_LIBRARY_H_ 37 namespace class_loader {
78 void Load(
const std::string& path);
87 void Load(
const std::string& path,
int flags);
104 void*
GetSymbol(
const std::string& name);
108 inline const std::string&
GetPath()
const {
return path_; }
115 void* handle_ =
nullptr;
117 static std::mutex mutex_;
124 #endif // CYBER_CLASS_LOADER_SHARED_LIBRARY_SHARED_LIBRARY_H_ Definition: shared_library.h:45
void * GetSymbol(const std::string &name)
void Load(const std::string &path)
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
Flags
Definition: shared_library.h:42
SharedLibrary & operator=(const SharedLibrary &)=delete
bool HasSymbol(const std::string &name)
const std::string & GetPath() const
Definition: shared_library.h:108
Definition: shared_library.h:53
Definition: shared_library.h:40