SBInterface#
See also
SAMSON SDK: SBCClassInterface
- class samson.SBInterface#
Bases:
pybind11_objectThis class describes a class interface in a class proxy.
SAMSON API: Introspection, SBCClassInterface
- getAttribute(self: samson.SBInterface, attributeName: str) samson.SBAttribute#
Returns the attribute with the name attributeName.
- getAttributeNames(self: samson.SBInterface) list[str]#
Returns the names of registered attributes.
- getConstFunction(self: samson.SBInterface, functionName: str, *args) samson.SBFunction#
Returns the const function functionName that can accept the given arguments. You can provide up to 16 SBValue arguments.
- getFunction(self: samson.SBInterface, functionName: str, *args) samson.SBFunction#
Returns the non-const function functionName that can accept the given arguments. You can provide up to 16 SBValue arguments.
- getFunctionNames(self: samson.SBInterface) list[str]#
Returns the names of registered functions.
- getNumberOfAttributes(self: samson.SBInterface) int#
Returns the number of registered attributes.
- getNumberOfFunctions(self: samson.SBInterface) int#
Returns the number of registered functions.