mirror of
https://github.com/nasa/trick.git
synced 2024-12-19 05:07:54 +00:00
fccf32093b
* Clock empty args to void * command_line func empty args to void * DataRecord func empty args to void * debug_pause func empty args to void * echojobs func empty args to void * ExternalApplication func empty args to void * FrameLog func empty args to void * MasterSlave func empty args to void * MonteCarlo func empty args to void * outdllist func proto empty args to void * sie func empty args to void * SimTime func empty args to void * UnitTest func empty args to void * var_server func empty args to void * wcs func empty args to void
34 lines
868 B
C++
34 lines
868 B
C++
#include <stdio.h>
|
|
#include "trick/EchoJobs.hh"
|
|
|
|
/* Global singleton pointer to the echo jobs class */
|
|
extern Trick::EchoJobs * the_ej ;
|
|
|
|
/*************************************************************************/
|
|
/* These routines are the "C" interface to echo jobs instrumentation */
|
|
/*************************************************************************/
|
|
|
|
/**
|
|
* @relates Trick::EchoJobs
|
|
* @copydoc Trick::EchoJobs::echojobs_on
|
|
* C wrapper for Trick::EchoJobs::echojobs_on
|
|
*/
|
|
extern "C" int echo_jobs_on(void) {
|
|
if (the_ej != NULL) {
|
|
return the_ej->echojobs_on() ;
|
|
}
|
|
return(0) ;
|
|
}
|
|
|
|
/**
|
|
* @relates Trick::EchoJobs
|
|
* @copydoc Trick::EchoJobs::echojobs_off
|
|
* C wrapper for Trick::EchoJobs::echojobs_off
|
|
*/
|
|
extern "C" int echo_jobs_off(void) {
|
|
if (the_ej != NULL) {
|
|
return the_ej->echojobs_off() ;
|
|
}
|
|
return(0) ;
|
|
}
|