mirror of
https://github.com/nasa/trick.git
synced 2024-12-20 05:37:55 +00:00
19025d77ad
Reorganized. Created a new top level include directory that will hold all of Trick's header files. Moved all of the Trick headers to this directory. Created a libexec directory that holds all of the executables that users don't need to execute directly. Changed all of the executables remaining in bin to start with "trick-". In the sim_services directories changed all source files to find the Trick headers in their new location. Since all of the include files are gone in sim_services, removed the src directories as well, moving all of the source files up a level. Moved the makefiles, docs, man, and other architecture independent files into a top level share directory. Renamed lib_${TRICK_HOST_CPU} to lib64 or lib depending on the platform we're currently on. refs #63
66 lines
2.1 KiB
C++
66 lines
2.1 KiB
C++
/*
|
|
PURPOSE:
|
|
(Trick runtime simulation executive parameter definition.)
|
|
REFERENCE:
|
|
(((Bailey, R.W, and Paddock, E.J.) (Trick Simulation Environment)
|
|
(NASA:JSC #37943)
|
|
(JSC / Engineering Directorate / Automation and Robotics Division)
|
|
(June 1994) (--)))
|
|
ASSUMPTIONS AND LIMITATIONS:
|
|
((Only 64 levels of nested input data file inclusion.))
|
|
PROGRAMMERS:
|
|
(((Robert W. Bailey) (LinCom) (4/92) (--) (Realtime))
|
|
((Robert W. Bailey) (LinCom) (6/1/91) (Trick-CR-00000) (Initial Release)))
|
|
*/
|
|
|
|
#ifndef ECHOJOBS_HH
|
|
#define ECHOJOBS_HH
|
|
|
|
#include "trick/JobData.hh"
|
|
|
|
namespace Trick {
|
|
|
|
class EchoJobs {
|
|
|
|
private:
|
|
/** Set to true to echo names of called jobs.\n */
|
|
bool echo_job_flag ; /**< trick_units(--) */
|
|
|
|
public:
|
|
/**
|
|
@brief This is the constructor of the EchoJobs class.
|
|
*/
|
|
EchoJobs() ;
|
|
|
|
/**
|
|
@brief Instrumentation class job that prints out the simulation time and job name for every job when echo_jobs is on.
|
|
@param curr_job - pointer to current instrument job that points to the job to echo
|
|
@return always 0
|
|
*/
|
|
int echo_job(Trick::JobData * curr_job) ;
|
|
|
|
/**
|
|
@brief @userdesc Command to set echo_job_flag to true which turns on the echo_jobs printout.
|
|
Calls Trick::Executive::instrument_job_before to insert the echo_jobs routine before every job to be echoed.
|
|
@par Python Usage:
|
|
@code trick.echo_jobs_on() @endcode
|
|
@return always 0
|
|
*/
|
|
int echojobs_on() ;
|
|
|
|
/**
|
|
@brief @userdesc Command to set echo_job_flag to false which turns off the echo_jobs printout.
|
|
Calls Trick::Executive::instrument_job_remove to remove the echo_job routine from all job queues that it was inserted in.
|
|
@par Python Usage:
|
|
@code trick.echo_jobs_off() @endcode
|
|
@return always 0
|
|
*/
|
|
int echojobs_off() ;
|
|
|
|
} ;
|
|
|
|
}
|
|
|
|
#endif
|
|
|