Class registration
[Runtime module API]


Detailed Description

Class registration is used to make sure the core knows how objects are implemented in modules.

Use the class management macros to create and destroy classes.


Defines

#define gl_register_class   (*callback->register_class)
 Allow an object class to be registered with the core.


Define Documentation

#define gl_register_class   (*callback->register_class)

Allow an object class to be registered with the core.

Note that C file may publish structures, even they are not implemented as classes.

See also:
class_register()

Definition at line 353 of file gridlabd.h.

Referenced by capacitor::capacitor(), comm::comm(), house::house(), house_e::house_e(), link::link(), meter::meter(), plc::plc(), substation::substation(), and waterheater::waterheater().


GridLAB-DTM Version 2.0
An open-source project initiated by the US Department of Energy