trick/trick_source/sim_services/Executive/Executive_terminate.cpp

14 lines
335 B
C++
Raw Normal View History

2015-02-26 15:02:31 +00:00
#include <iostream>
#include <sstream>
#include "trick/Executive.hh"
#include "trick/ExecutiveException.hh"
#include "trick/exec_proto.h"
2015-02-26 15:02:31 +00:00
int Trick::Executive::exec_terminate(const char *file_name, const char *error) {
exec_command = ExitCmd ;
throw Trick::ExecutiveException(-1 , file_name , 0 , error) ;
2015-02-26 15:02:31 +00:00
return -1 ;
}