|
TrioCFD 1.9.8
TrioCFD documentation
|
A small class representing any object with a "clear()" method. More...
#include <TClearable.h>
Public Member Functions | |
| virtual | ~TClearable () |
| virtual void | clear ()=0 |
Static Public Member Functions | |
| static void | Register_clearable (TClearable *c) |
| static void | Clear_all () |
A small class representing any object with a "clear()" method.
Used notably to invoke Domaine_dis_cache::clear() properly at the end of TRUST, but without having to refer to the Domaine_dis_cache class in the MAIN of TRUST, since Domaine_dis_cache is not part of TRUST numerical kernel.
Definition at line 28 of file TClearable.h.
|
inlinevirtual |
Definition at line 31 of file TClearable.h.
|
pure virtual |
Implemented in Domaine_dis_cache.
|
inlinestatic |
Clean all registered objects. Typically invoked from TRUST main.
Definition at line 43 of file TClearable.h.
|
inlinestatic |
Register an object to be cleared
Definition at line 35 of file TClearable.h.