|
#include <ArmarXCore/observers/variant/VariantInfo.h>
Classes | |
class | LibEntry |
class | ProxyEntry |
class | VariantEntry |
Public Types | |
using | LibEntryPtr = std::shared_ptr< LibEntry > |
using | ProxyEntryPtr = std::shared_ptr< ProxyEntry > |
enum | ProxyType { SingleProxy, Topic } |
using | VariantEntryPtr = std::shared_ptr< VariantEntry > |
Public Member Functions | |
LibEntryPtr | findLibByProxy (std::string proxyTypeName) const |
LibEntryPtr | findLibByVariant (std::string variantTypeName) const |
Ice::StringSeq | findLibNames (const Ice::StringSeq &variantTypeNames, const Ice::StringSeq &proxyTypeNames={}) const |
std::set< LibEntryPtr > | findLibs (const Ice::StringSeq &variantTypeNames, const Ice::StringSeq &proxyTypeNames={}) const |
std::string | getDataTypeName (std::string variantBaseTypeName) |
std::string | getDebugInfo () const |
std::vector< LibEntryPtr > | getLibs () const |
std::string | getNestedBaseNameFromHumanName (std::string humanName) |
std::string | getNestedHumanNameFromBaseName (std::string variantBaseTypeName) |
const std::map< std::string, std::string > & | getPackagePaths () const |
ProxyEntryPtr | getProxyEntry (std::string proxyId) |
std::string | getReturnTypeName (std::string variantBaseTypeName) |
VariantEntryPtr | getVariantByHumanName (std::string humanName) |
VariantEntryPtr | getVariantByName (std::string variantBaseTypeName) |
bool | isBasic (std::string variantBaseTypeName) |
bool | isPackageLoaded (const std::string packageName) const |
armarx::DynamicLibraryPtr | loadLibraryOfVariant (std::string variantTypeName) const |
std::vector< LibEntryPtr > | readVariantInfo (RapidXmlReaderPtr reader, const std::string &packagePath, const std::string &packageName) |
VariantInfo () | |
Static Public Member Functions | |
static VariantInfoPtr | ReadInfoFiles (const std::vector< std::string > &packages, bool showErrors=true, bool throwOnError=true) |
static VariantInfoPtr | ReadInfoFilesRecursive (const std::string &rootPackageName, const std::string &rootPackagePath, bool showErrors, VariantInfoPtr variantInfo=VariantInfoPtr()) |
Definition at line 44 of file VariantInfo.h.
using LibEntryPtr = std::shared_ptr<LibEntry> |
Definition at line 172 of file VariantInfo.h.
using ProxyEntryPtr = std::shared_ptr<ProxyEntry> |
Definition at line 71 of file VariantInfo.h.
using VariantEntryPtr = std::shared_ptr<VariantEntry> |
Definition at line 48 of file VariantInfo.h.
enum ProxyType |
Enumerator | |
---|---|
SingleProxy | |
Topic |
Definition at line 68 of file VariantInfo.h.
VariantInfo | ( | ) |
VariantInfo::LibEntryPtr findLibByProxy | ( | std::string | proxyTypeName | ) | const |
Definition at line 93 of file VariantInfo.cpp.
VariantInfo::LibEntryPtr findLibByVariant | ( | std::string | variantTypeName | ) | const |
Ice::StringSeq findLibNames | ( | const Ice::StringSeq & | variantTypeNames, |
const Ice::StringSeq & | proxyTypeNames = {} |
||
) | const |
std::set< VariantInfo::LibEntryPtr > findLibs | ( | const Ice::StringSeq & | variantTypeNames, |
const Ice::StringSeq & | proxyTypeNames = {} |
||
) | const |
Definition at line 123 of file VariantInfo.cpp.
std::string getDataTypeName | ( | std::string | variantBaseTypeName | ) |
Definition at line 145 of file VariantInfo.cpp.
std::string getDebugInfo | ( | ) | const |
std::vector< VariantInfo::LibEntryPtr > getLibs | ( | ) | const |
std::string getNestedBaseNameFromHumanName | ( | std::string | humanName | ) |
std::string getNestedHumanNameFromBaseName | ( | std::string | variantBaseTypeName | ) |
const std::map< std::string, std::string > & getPackagePaths | ( | ) | const |
Definition at line 308 of file VariantInfo.cpp.
VariantInfo::ProxyEntryPtr getProxyEntry | ( | std::string | proxyId | ) |
Definition at line 196 of file VariantInfo.cpp.
std::string getReturnTypeName | ( | std::string | variantBaseTypeName | ) |
Definition at line 159 of file VariantInfo.cpp.
VariantInfo::VariantEntryPtr getVariantByHumanName | ( | std::string | humanName | ) |
VariantInfo::VariantEntryPtr getVariantByName | ( | std::string | variantBaseTypeName | ) |
bool isBasic | ( | std::string | variantBaseTypeName | ) |
Definition at line 176 of file VariantInfo.cpp.
bool isPackageLoaded | ( | const std::string | packageName | ) | const |
Definition at line 313 of file VariantInfo.cpp.
DynamicLibraryPtr loadLibraryOfVariant | ( | std::string | variantTypeName | ) | const |
|
static |
Definition at line 414 of file VariantInfo.cpp.
|
static |
Definition at line 347 of file VariantInfo.cpp.
std::vector< VariantInfo::LibEntryPtr > readVariantInfo | ( | RapidXmlReaderPtr | reader, |
const std::string & | packagePath, | ||
const std::string & | packageName | ||
) |