mirror of
https://github.com/nasa/trick.git
synced 2024-12-20 21:53:10 +00:00
14a75508a3
Changed all header file once include variables to follow the same naming convention and not start with any underscores. Also deleted old incorrect copyright notices. Also removed $Id: tags from all files. Fixes #14. Fixes #22.
39 lines
774 B
Plaintext
39 lines
774 B
Plaintext
/************************TRICK HEADER*************************
|
|
PURPOSE:
|
|
(blah blah blah)
|
|
LIBRARY DEPENDENCIES:
|
|
(
|
|
(Leaker/Leaker.cpp)
|
|
)
|
|
*************************************************************/
|
|
|
|
#include "sim_objects/default_trick_sys.sm"
|
|
|
|
##include "Ball++/L1/include/Ball.hh"
|
|
%{
|
|
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) ;
|
|
}
|
|
|