#include <stdint.h>
Go to the source code of this file.
◆ CGAUDI_API
◆ CGAUDI_EXPORT
#define CGAUDI_EXPORT __attribute__( ( visibility( "default" ) ) ) |
◆ CGAUDI_HASCLASSVISIBILITY
#define CGAUDI_HASCLASSVISIBILITY |
◆ CGAUDI_IMPORT
#define CGAUDI_IMPORT __attribute__( ( visibility( "default" ) ) ) |
◆ CGAUDI_LOCAL
#define CGAUDI_LOCAL __attribute__( ( visibility( "hidden" ) ) ) |
◆ cgaudi_factory_get_classname()
Definition at line 52 of file capi_pluginservice.cpp.
53 Registry& reg = Registry::instance();
55 cache = reg.getInfo(
self.
id ).getprop(
"ClassName" );
◆ cgaudi_factory_get_library()
Definition at line 40 of file capi_pluginservice.cpp.
41 Registry& reg = Registry::instance();
42 return reg.getInfo(
self.
id ).library.c_str();
◆ cgaudi_factory_get_property_at()
Definition at line 65 of file capi_pluginservice.cpp.
67 Registry& reg = Registry::instance();
68 const Registry::FactoryInfo& fi = reg.getInfo( cprop.id );
69 if (
n <
static_cast<int>( fi.properties.size() ) ) cprop.key =
next(
begin( fi.properties ),
n )->first.c_str();
◆ cgaudi_factory_get_property_size()
Definition at line 59 of file capi_pluginservice.cpp.
60 Registry& reg = Registry::instance();
61 const Registry::FactoryInfo& fi = reg.getInfo(
self.
id );
62 return int( fi.properties.size() );
◆ cgaudi_factory_get_type()
◆ cgaudi_pluginsvc_get_factory_at()
Definition at line 33 of file capi_pluginservice.cpp.
34 const Registry* reg =
static_cast<const Registry*
>(
self.registry );
36 if (
n >=
static_cast<int>(
factories.size() ) )
return {
self,
nullptr };
◆ cgaudi_pluginsvc_get_factory_size()
Definition at line 28 of file capi_pluginservice.cpp.
29 const Registry::FactoryMap& fmap =
static_cast<const Registry*
>(
self.registry )->
factories();
30 return int( fmap.size() );
◆ cgaudi_pluginsvc_instance()
◆ cgaudi_property_get_key()
◆ cgaudi_property_get_value()
Definition at line 75 of file capi_pluginservice.cpp.
76 Registry& reg = Registry::instance();
77 const Registry::FactoryInfo& fi = reg.getInfo(
self.
id );
78 auto prop = fi.properties.find(
self.
key );
79 return prop != fi.properties.end() ? prop->second.c_str() :
nullptr;