mirror of
https://github.com/nasa/trick.git
synced 2024-12-29 17:38:54 +00:00
41f151f2ee
Adding another file to example that shows 2 files in same namespace.
29 lines
609 B
Plaintext
29 lines
609 B
Plaintext
/************************TRICK HEADER*************************
|
|
PURPOSE:
|
|
(blah blah blah)
|
|
*************************************************************/
|
|
|
|
#include "sim_objects/default_trick_sys.sm"
|
|
|
|
##include "FooFood.hh"
|
|
##include "FooInnerFood.hh"
|
|
##include "BarFood.hh"
|
|
##include "FooYummyFood.hh"
|
|
|
|
class SimObj : public Trick::SimObject {
|
|
|
|
public:
|
|
Foo::Food foo_food ;
|
|
Foo::Inner::Food foo_inner_food ;
|
|
Bar::Food bar_food ;
|
|
Foo::YummyFood foo_yummyfood ;
|
|
|
|
/** Constructor to add the jobs */
|
|
SimObj() {
|
|
}
|
|
} ;
|
|
|
|
// Instantiations
|
|
SimObj ball ;
|
|
|