1 #ifndef __ORCHESTRATOR_H__
2 #define __ORCHESTRATOR_H__
5 namespace orchestrator {
9 enum {
INIT=0,
INITTIME,
RUN,
FINALIZETIME,
FINALIZE,
READ,
WRITE,
SET,
OP1,
OP2,
OP3,
NUMBER_OF_FUNCTIONS};
22 virtual int Initialize(
const std::string &interfaceName){
return(0);};
23 virtual int Run(){
return(0);};
28 virtual void WriteOut(
const std::string &output){
32 virtual void WriteErr(
const std::string &output){
56 virtual int Initialize(std::vector<std::string> &componentInterfaceNames){
return(0);};
57 virtual int Run(){
return(0);};
60 virtual void WriteOut(
const std::string &output){
64 virtual void WriteErr(
const std::string &output){
virtual void SetOutStream(std::ostream &oStream)
virtual void SetErrStream(std::ostream &oStream)
virtual int Initialize(const std::string &interfaceName)
std::vector< int > componentFunctionHandles
virtual void SetErrStream(std::ostream &oStream)
virtual int FinalizeTimeStep(double time)
std::vector< impact::orchestrator::agentbase * > componentAgents
virtual void WriteOut(const std::string &output)
virtual int DumpSolution()
virtual int Initialize(std::vector< std::string > &componentInterfaceNames)
virtual void SetOutStream(std::ostream &oStream)
std::vector< std::string > modelInterfaceNames
virtual int DumpSolution()
virtual int InitializeTimeStep(double time)
std::vector< std::string > componentInterfaceNames
virtual void WriteErr(const std::string &output)
std::vector< int > intNumbers
std::vector< double > realNumbers
virtual void WriteErr(const std::string &output)
virtual void WriteOut(const std::string &output)