ComparatorLibs: Add stringify to hierarchy for easy printing
This commit is contained in:
@@ -54,6 +54,8 @@ public:
|
||||
const std::shared_ptr<cologex::ExportedComparatorTypeDesc>&
|
||||
comparatorType);
|
||||
|
||||
std::string stringifyLibs() const;
|
||||
|
||||
public:
|
||||
sscl::SharedResourceGroup<sscl::co::CoQutex, Resources> s;
|
||||
|
||||
|
||||
@@ -42,6 +42,15 @@ public:
|
||||
comparatorLibDesc = desc;
|
||||
}
|
||||
|
||||
std::string stringify() const
|
||||
{
|
||||
std::string result = "Library Path: "
|
||||
+ loadedSharedLibrary->libraryPath + "\n";
|
||||
result += "Comparator Library Descriptor: "
|
||||
+ comparatorLibDesc.stringify();
|
||||
return result;
|
||||
}
|
||||
|
||||
public:
|
||||
std::shared_ptr<loadable_lib::LoadableLibraryManager::LoadedSharedLibrary>
|
||||
loadedSharedLibrary;
|
||||
|
||||
Reference in New Issue
Block a user