trick/test/SIM_leaks/S_define
Alex Lin 9ddc786ace Split test sims and fun sims into separate directories.
Moved most of the rest of the sims to test.

refs #191
2016-02-23 16:19:30 -06:00

38 lines
736 B
Plaintext

/************************TRICK HEADER*************************
PURPOSE:
(blah blah blah)
LIBRARY DEPENDENCIES:
(
(Leaker/Leaker.cpp)
)
*************************************************************/
#include "sim_objects/default_trick_sys.sm"
%{
int Leaker() ;
%}
/**
This class is the base ball class
*/
class ballSimObject : public Trick::SimObject {
public:
/** Constructor to add the jobs */
ballSimObject() {
("initialization") trick_ret = Leaker() ;
}
} ;
// Instantiations
ballSimObject ball ;
// Connect objects
void create_connections() {
// Set the default termination time
exec_set_terminate_time(1.0) ;
trick_sys.sched.set_freeze_frame(0.10) ;
}