mirror of
https://github.com/nasa/trick.git
synced 2024-12-24 07:16:41 +00:00
37 lines
758 B
Plaintext
37 lines
758 B
Plaintext
|
/************************TRICK HEADER*************************
|
||
|
PURPOSE:
|
||
|
(blah blah blah)
|
||
|
LIBRARY DEPENDENCIES:
|
||
|
(
|
||
|
)
|
||
|
*************************************************************/
|
||
|
|
||
|
#include "sim_objects/default_trick_sys.sm"
|
||
|
|
||
|
##include "abstract_test/ball.hh"
|
||
|
|
||
|
/**
|
||
|
This class is the base ball class
|
||
|
*/
|
||
|
class ballSimObject : public Trick::SimObject {
|
||
|
|
||
|
public:
|
||
|
/** The actual ball object */
|
||
|
Ball * ball_ptr ;
|
||
|
|
||
|
/** Constructor to add the jobs */
|
||
|
ballSimObject() {
|
||
|
(1.0 , "scheduled") ball_ptr->print_type() ;
|
||
|
}
|
||
|
} ;
|
||
|
|
||
|
// Instantiations
|
||
|
ballSimObject ball ;
|
||
|
|
||
|
// Connect objects
|
||
|
void create_connections() {
|
||
|
// Set the default termination time
|
||
|
trick_sys.sched.set_terminate_time(1.0) ;
|
||
|
}
|
||
|
|