Functions | |
| int | battery::init (OBJECT *parent) |
| TIMESTAMP | battery::sync (TIMESTAMP t0, TIMESTAMP t1) |
| int battery::init | ( | OBJECT * | parent | ) | [inherited] |
Definition at line 179 of file battery.cpp.
References GETADDR, gl_find_next, gl_find_objects, gl_get_property, gl_object_isa, gl_random_normal, gl_set_dependent, GL_THROW, gl_warning, OBJECTDATA, OBJECTHDR, PHASE_A, PHASE_B, and PHASE_C.
| TIMESTAMP battery::sync | ( | TIMESTAMP | t0, | |
| TIMESTAMP | t1 | |||
| ) | [inherited] |
need to use timestamp_to_hours from the core, not here, how to reference core?
Definition at line 511 of file battery.cpp.
References GL_THROW, gl_tohours, and gl_warning.