|
GL Studio C++ Runtime API
|
#include <live_component_accessor.h>
Public Types | |
| typedef void(* | CreateCb) (ComponentBase *) |
| Typedef for an on create callback function pointer. | |
Public Member Functions | |
| virtual LiveComponentAccessor * | Clone (ComponentBase *newComp) |
| virtual void | Delete () |
| Deletes the LiveComponentAccessor, it's associated component, and the LiveComponentLibRef. | |
| const GlsBuiltVersionInfo & | BuiltVersion () |
| const char * | LoadedFilePath () |
| const char * | LoadedClassName () |
Static Public Member Functions | |
| static LiveComponentAccessor * | CreateInstance (LiveComponentLibRef *lib, const char *className, ComponentBase *comp) |
LiveComponentAccessor keeps the LiveComponent library loaded in the application. and stores the information necessary to safely delete the component.
| const GlsBuiltVersionInfo & BuiltVersion | ( | ) |
|
virtual |
Clone the LiveComponentAccessor to apply to a new component instance.
| newComp | The component reference to make a clone from. |
|
static |
Creates a LiveComponentAccessor and associates it with the given component.
| lib | Pointer to the underlying library the component was loaded from. |
| className | The generated class name for the component. |
| comp | Pointer to the component reference. |
| const char * LoadedClassName | ( | ) |
| const char * LoadedFilePath | ( | ) |