Application::DynLoadHook
Section: ET++ method description (n)
Updated: automatically Fri Mar 1 10:58:03 1991
Index
Return to Main Contents
NAME
Application::DynLoadHook - instance method
TEMPLATE
success = int
DynLoadHook(Object * newObject)
SPECIFIERS
public
virtual
DESCRIPTION
The method DynLoad calls this method when a new class has successfully been loaded into the program.
DynLoadHook should be overridden if the application wants to be notified about new loaded classes. The newObject can be used to check the new class (with the macro IsKindOf or the method IsA).
See also the source code of the draw example application.
Method is rarely overridden.
ARGUMENTS
- Object * newObject
-
a new instance of the loaded class
RETURN ARGUMENT
- int success
-
indicates success or failure to the Object Input/Output Facility. Zero means failure, anything else means success.
Because the class has already been loaded successfully, when this method is called, you should always return success.
CATEGORIES
dynamic loading, overrider interface
FIRST DEFINITION
class Application
FILES
- implementation:
-
Application.C
Index
- NAME
-
- TEMPLATE
-
- SPECIFIERS
-
- DESCRIPTION
-
- ARGUMENTS
-
- RETURN ARGUMENT
-
- CATEGORIES
-
- FIRST DEFINITION
-
- FILES
-
This document was created by
man2html,
using the manual pages.
Time: 00:40:32 GMT, March 30, 2022