mirror of
https://github.com/nasa/trick.git
synced 2025-02-25 18:51:23 +00:00
specify a python module name where the class and functions will be visible in python. With care the user can mimic the C++ namespaces their models reside in, but it isn't perfect nor automatic. It's still pretty neat.
27 lines
542 B
Plaintext
27 lines
542 B
Plaintext
/************************TRICK HEADER*************************
|
|
PURPOSE:
|
|
(blah blah blah)
|
|
*************************************************************/
|
|
|
|
#include "sim_objects/default_trick_sys.sm"
|
|
|
|
##include "FooFood.hh"
|
|
##include "FooInnerFood.hh"
|
|
##include "BarFood.hh"
|
|
|
|
class SimObj : public Trick::SimObject {
|
|
|
|
public:
|
|
Foo::Food foo_food ;
|
|
Foo::Inner::Food foo_inner_food ;
|
|
Bar::Food bar_food ;
|
|
|
|
/** Constructor to add the jobs */
|
|
SimObj() {
|
|
}
|
|
} ;
|
|
|
|
// Instantiations
|
|
SimObj ball ;
|
|
|