mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
bf80dcc03f
Gave each sim their own model directory, or in some cases just a header file. Each sim in the test directory is now independent of each other. Modifying one test will not affect any other test. refs #191
35 lines
810 B
Plaintext
35 lines
810 B
Plaintext
/************************TRICK HEADER*************************
|
|
PURPOSE:
|
|
(This comment lists out the other object files that are not included from c++ headers)
|
|
LIBRARY DEPENDENCIES:
|
|
(
|
|
)
|
|
*************************************************************/
|
|
|
|
#include "sim_objects/default_trick_sys.sm"
|
|
##include "ClassOfEverything.hh"
|
|
|
|
class testSimObject : public Trick::SimObject {
|
|
|
|
public:
|
|
ClassOfEverything obj ;
|
|
testSimObject() {}
|
|
|
|
private:
|
|
testSimObject (const testSimObject &);
|
|
testSimObject & operator= (const testSimObject &);
|
|
|
|
} ;
|
|
|
|
// Instantiations
|
|
testSimObject test_so ;
|
|
|
|
// Connect objects
|
|
void create_connections() {
|
|
|
|
// Set the default termination time
|
|
trick_sys.sched.set_terminate_time(1.0) ;
|
|
trick_sys.sched.set_freeze_frame(0.10) ;
|
|
}
|
|
|