#include <compmgr.h>
The interface allows accessing components by name and operating with component instances.
It is safe to call these functions from multiple threads.
Public Attributes | |
int(* | GetComponent )(OpenComponentHandle *p_component, const char *name) |
Get a default interface of a registered component by name. | |
int(* | CreateInstance )(OpenInstanceHandle *p_instance, const char *name) |
Create a new component instance and register it in a component manager. | |
int(* | FreeInstance )(OpenInstanceHandle instance) |
Unregister the instance in a component manager, free memory and other resources held by the instance. |
int(* _OpenComponentManager.GetComponent)(OpenComponentHandle *p_component, const char *name) |
Get a default interface of a registered component by name.
[out] | p_component | on return, points to a handle of default component interface |
name | a component name |
int(* _OpenComponentManager.CreateInstance)(OpenInstanceHandle *p_instance, const char *name) |
Create a new component instance and register it in a component manager.
[out] | p_instance | on return, points to a handle of a newly created instance |
name | a name of interface |
int(* _OpenComponentManager.FreeInstance)(OpenInstanceHandle instance) |
Unregister the instance in a component manager, free memory and other resources held by the instance.
instance | a handle to the instance to Free |
Genereated on Tue Mar 11 19:25:25 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.