Functions | |
| int | triplex_node::create (void) |
| EXPORT int | create_triplex_node (OBJECT **obj, OBJECT *parent) |
| REQUIRED: allocate and initialize an object. | |
| int | triplex_node::init (OBJECT *parent=NULL) |
| EXPORT int | init_triplex_node (OBJECT *obj) |
| Object initialization is called once after all object have been created. | |
| int | triplex_node::isa (char *classname) |
| EXPORT int | isa_triplex_node (OBJECT *obj, char *classname) |
| TIMESTAMP | triplex_node::postsync (TIMESTAMP t0) |
| TIMESTAMP | triplex_node::sync (TIMESTAMP t0) |
| EXPORT TIMESTAMP | sync_triplex_node (OBJECT *obj, TIMESTAMP t0, PASSCONFIG pass) |
| Sync is called when the clock needs to advance on the bottom-up pass (PC_BOTTOMUP). | |
| triplex_node::triplex_node (MODULE *mod) | |
Variables | |
| static triplex_node * | triplex_node::defaults = NULL |
| static CLASS * | triplex_node::oclass = NULL |
| static CLASS * | triplex_node::pclass = NULL |
REQUIRED: allocate and initialize an object.
| obj | a pointer to a pointer of the last object in the list | |
| parent | a pointer to the parent of this object |
Definition at line 87 of file triplex_node.cpp.
References create(), gl_create_object, gl_error, gl_set_parent, OBJECTDATA, and oclass.
| EXPORT int init_triplex_node | ( | OBJECT * | obj | ) |
Object initialization is called once after all object have been created.
| parent | a pointer to this object's parent |
Definition at line 112 of file triplex_node.cpp.
References powerflow_object::get_id(), powerflow_object::get_name(), GL_THROW, init(), and OBJECTDATA.
| EXPORT TIMESTAMP sync_triplex_node | ( | OBJECT * | obj, | |
| TIMESTAMP | t0, | |||
| PASSCONFIG | pass | |||
| ) |
Sync is called when the clock needs to advance on the bottom-up pass (PC_BOTTOMUP).
| t0 | this objects current timestamp | |
| t1 | the timestamp which the object should move forward to |
Definition at line 132 of file triplex_node.cpp.
References s_object_list::clock, powerflow_object::get_id(), powerflow_object::get_name(), GL_THROW, OBJECTDATA, PC_BOTTOMUP, PC_POSTTOPDOWN, postsync(), and sync().