mirror of
https://github.com/nasa/trick.git
synced 2024-12-24 23:36:43 +00:00
f19ba7df78
* Updates SIM_stl to include checkpoint writing and checkpoint restore, as well as adding more data structures to test * Thoroughly tests supported STL types with MM_stl_checkpoint and MM_stl_restore * Adds an option to enable or disable STL restore in accessible interfaces and changes default to true * Updates documentation on STL checkpointing to clearly state limitations and known bugs
24 lines
428 B
Plaintext
24 lines
428 B
Plaintext
#include "sim_objects/default_trick_sys.sm"
|
|
|
|
##include "STLCheckpoint.hh"
|
|
|
|
class theSimObject : public Trick::SimObject {
|
|
|
|
public:
|
|
STLCheckpoint stlc ;
|
|
|
|
/** Constructor to add the jobs */
|
|
theSimObject() : stlc() {
|
|
("initialization") stlc.addData();
|
|
(1.0, "scheduled") stlc.test () ;
|
|
(1.0, "scheduled") stlc.print () ;
|
|
|
|
}
|
|
|
|
|
|
|
|
} ;
|
|
|
|
theSimObject the_object ;
|
|
|