mirror of
https://github.com/nasa/trick.git
synced 2025-01-21 03:55:04 +00:00
28 lines
542 B
Plaintext
28 lines
542 B
Plaintext
/*
|
|
* $Id: S_define 1141 2010-10-08 18:41:23Z lin $
|
|
*/
|
|
|
|
/*
|
|
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 ;
|
|
|