mirror of
https://github.com/nasa/trick.git
synced 2024-12-19 05:07:54 +00:00
0144cc121a
Moved more sims into the test directory. refs #191
24 lines
485 B
Plaintext
24 lines
485 B
Plaintext
/*
|
|
This sim demonstrates the use of Trick STLs. Trick includes
|
|
checkpointable versions of all the STL constructs.
|
|
*/
|
|
|
|
#include "sim_objects/default_trick_sys.sm"
|
|
|
|
##include "TrickSTL/include/TrickSTLCheckpoint.hh"
|
|
|
|
class theSimObject : public Trick::SimObject {
|
|
|
|
public:
|
|
TrickSTLCheckpoint tstlc ;
|
|
|
|
theSimObject() {
|
|
(1.0, "scheduled") tstlc.speak() ;
|
|
(1.0, "freeze_scheduled") tstlc.speak() ;
|
|
}
|
|
|
|
} ;
|
|
|
|
theSimObject the_object ;
|
|
|