Interface IDso
interface IDso
Extends IStandard
The per-DSO interface object.
When APMF2 loads a DSO (shared library or executable), it gets an
instance of this object from the DSO using dlsym(…,
APMF_GET_DSO_OBJECT_FUNCTION_NAME), where
APMF_GET_DSO_OBJECT_FUNCTION_NAME is defined in apmf/abi/dso.h.
Further interaction with the DSO is through the IDso object.
Methods
tryMakeComponent()
Try to create a component by name. If this DSO doesn’t provide the given component, return nullptr.IStandard?tryMakeComponent(stringname,i32hash)
Parameters
name
string — Required
Name of the component to create
hash
i32 — Required
FNV-1A-32 hash of the name
Returns
IStandard?
The return value is optional and might be absent.
Component if we found it; nullptr otherwise
getTypeResolver()
Access type information embedded in this DSO.IStandard?getTypeResolver()
Returns
IStandard?
The return value is optional and might be absent.
Type resolver or nullptr if DSO provides no types

