2015-02-26 15:02:31 +00:00
|
|
|
/**************************TRICK HEADER***********************
|
|
|
|
PURPOSE: ( S_define )
|
|
|
|
LIBRARY DEPENDENCIES:
|
|
|
|
(
|
2016-02-23 22:19:30 +00:00
|
|
|
(varserv/src/VS.cpp)
|
|
|
|
(varserv/src/VS_init.cpp)
|
|
|
|
(varserv/src/VS_default_data.cpp)
|
|
|
|
(varserv/src/VS_commands.cpp)
|
|
|
|
(varserv/src/VS_tests.cpp)
|
|
|
|
(varserv/src/VS_shutdown.cpp)
|
2015-02-26 15:02:31 +00:00
|
|
|
)
|
|
|
|
*************************************************************/
|
|
|
|
|
|
|
|
#include "sim_objects/default_trick_sys.sm"
|
|
|
|
|
2016-02-23 22:19:30 +00:00
|
|
|
##include "varserv/include/VS.hh"
|
2015-02-26 15:02:31 +00:00
|
|
|
|
|
|
|
class testSimObject : public Trick::SimObject {
|
|
|
|
public:
|
|
|
|
VSTest vst;
|
|
|
|
|
|
|
|
testSimObject() {
|
|
|
|
("default_data") vst.default_vars();
|
|
|
|
("initialization") vst.init();
|
|
|
|
("initialization") vst.testAddRemove();
|
|
|
|
("initialization") vst.testExists();
|
|
|
|
("initialization") vst.testPause();
|
|
|
|
("initialization") vst.testOther();
|
|
|
|
//(1.0, "scheduled") trick_ret = vst.testing();
|
|
|
|
|
|
|
|
("shutdown") vst.shutdown();
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
// Instantiations
|
|
|
|
testSimObject vsx;
|
|
|
|
|
|
|
|
|