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 319 of file gridlabd.h.

Referenced by capacitor::capacitor(), capbank::capbank(), climate::climate(), clotheswasher::clotheswasher(), comm::comm(), diesel_dg::diesel_dg(), dishwasher::dishwasher(), fuse::fuse(), generator::generator(), house::house(), init(), lights::lights(), line::line(), line_configuration::line_configuration(), line_spacing::line_spacing(), link::link(), load::load(), meter::meter(), microwave::microwave(), multizone::multizone(), node::node(), occupantload::occupantload(), office::office(), overhead_line::overhead_line(), overhead_line_conductor::overhead_line_conductor(), plc::plc(), plugload::plugload(), powerflow_object::powerflow_object(), range::range(), refrigerator::refrigerator(), regulator::regulator(), regulator_configuration::regulator_configuration(), relay::relay(), transformer::transformer(), transformer_configuration::transformer_configuration(), triplex_line::triplex_line(), triplex_line_conductor::triplex_line_conductor(), triplex_line_configuration::triplex_line_configuration(), triplex_node::triplex_node(), underground_line::underground_line(), underground_line_conductor::underground_line_conductor(), and waterheater::waterheater().


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