mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 12:56:26 +00:00
parent
5e987a8bd9
commit
7c58425f9a
5
test/SIM_anon_enum/RUN_test/input.py
Normal file
5
test/SIM_anon_enum/RUN_test/input.py
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
|
||||
trick.stop(15.0);
|
||||
trick.real_time_enable()
|
||||
trick.sim_control_panel_set_enabled(True)
|
21
test/SIM_anon_enum/S_define
Normal file
21
test/SIM_anon_enum/S_define
Normal file
@ -0,0 +1,21 @@
|
||||
/************************TRICK HEADER*************************
|
||||
PURPOSE:
|
||||
()
|
||||
LIBRARY DEPENDENCIES:
|
||||
*************************************************************/
|
||||
|
||||
#include "sim_objects/default_trick_sys.sm"
|
||||
|
||||
##include "starter.h"
|
||||
|
||||
class StarterSimObject : public Trick::SimObject {
|
||||
|
||||
public:
|
||||
Starter starter;
|
||||
|
||||
StarterSimObject() {
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
StarterSimObject starterSimObject;
|
3
test/SIM_anon_enum/S_overrides.mk
Normal file
3
test/SIM_anon_enum/S_overrides.mk
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
TRICK_CFLAGS += -I./models
|
||||
TRICK_CXXFLAGS += -I./models
|
5
test/SIM_anon_enum/models/starter.cpp
Normal file
5
test/SIM_anon_enum/models/starter.cpp
Normal file
@ -0,0 +1,5 @@
|
||||
#include "starter.h"
|
||||
|
||||
Starter::Starter() {
|
||||
|
||||
}
|
14
test/SIM_anon_enum/models/starter.h
Normal file
14
test/SIM_anon_enum/models/starter.h
Normal file
@ -0,0 +1,14 @@
|
||||
/*************************************************************************
|
||||
PURPOSE: (Starter class)
|
||||
LIBRARY DEPENDENCY:
|
||||
(
|
||||
(starter.cpp)
|
||||
)
|
||||
**************************************************************************/
|
||||
|
||||
class Starter {
|
||||
public:
|
||||
Starter();
|
||||
public:
|
||||
enum {VAR = 6};
|
||||
};
|
@ -7,6 +7,7 @@ unexport TRICK_PYTHON_PATH
|
||||
|
||||
SIMS_TO_COMPILE_ONLY = \
|
||||
SIM_alloc_test \
|
||||
SIM_anon_enum \
|
||||
SIM_default_member_initializer \
|
||||
SIM_delete_default_constructor \
|
||||
SIM_demo_inputfile \
|
||||
|
Loading…
Reference in New Issue
Block a user