2015-02-26 15:02:31 +00:00
|
|
|
/*
|
|
|
|
PURPOSE:
|
|
|
|
( InputProcessor "Sim object" )
|
|
|
|
PROGRAMMERS:
|
|
|
|
(((Alex Lin) (NASA) (2009)))
|
|
|
|
LIBRARY_DEPENDENCIES:
|
|
|
|
((../src/InputProcessSimObject.cpp))
|
|
|
|
*/
|
|
|
|
|
2015-03-23 21:03:14 +00:00
|
|
|
#ifndef INPUTPROCESSSIMOBJECT_HH
|
|
|
|
#define INPUTPROCESSSIMOBJECT_HH
|
2015-02-26 15:02:31 +00:00
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <string>
|
|
|
|
#include <map>
|
|
|
|
|
|
|
|
#include "sim_services/SimObject/include/SimObject.hh"
|
|
|
|
|
|
|
|
namespace Trick {
|
|
|
|
|
|
|
|
class InputProcessSimObject : public SimObject {
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
std::string python_call_function ;
|
|
|
|
int return_value ;
|
|
|
|
|
|
|
|
InputProcessSimObject( std::string ) ;
|
|
|
|
|
|
|
|
/* call_function hand coded for jobs to be called by scheduler */
|
|
|
|
virtual int call_function( Trick::JobData * curr_job ) ;
|
|
|
|
virtual double call_function_double( Trick::JobData * curr_job ) ;
|
|
|
|
|
|
|
|
} ;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|