I'm not sure if this is going to do much good but there is the header file that, when included, causes problems.
Code:
#ifndef METAINTENT_H
#define METAINTENT_H
#include"MetaIntentObject.h"
#include"FisbData.h"
#include"IntentModels.h"
// META INTENT MODEL ID's
const int FLY_TCP_LIST = 0; // fly the tcp list
const int DIRECT2_TCP1 = 1; // direct to tcp+1
const int DIRECT2_TCP2 = 2; // direct to next tcp+2
const int AVOID_WX_R2FP = 3; // avoid weather and return to flight path
const int AVOID_WX_R2FP_TURN = 4; // avoid weather and return to flight path WITH TURN
const int AVOID_SUA_R2FP = 5; // avoid sua and return to flight path
const int AVOID_SUA_R2FP_TURN = 6; // avoid sua and return to flight path WITH TURN
const int RETURN2FP_TCPLIST = 7; // 45 degree intercept then continue on the flight path
const int LAND_AT_AIRPORT = 8; // Assumes use of the 3:1 ration rule to land at an airport
const int HOLDING_PATTERN_LF = 9; // Aircraft is flying a holding pattern LEFT(prediction ??)
const int HOLDING_PATTERN_RT = 10; // Aircraft is flying a holding pattern RIGHT(prediction ??)
const int BLUNDERING_H_LF = 11; // Aircraft is blundering horizontally
const int BLUNDERING_H_RT = 12; // Aircraft is blundering horizontally
const int BLUNDERING_H = 13; // Aircraft is blundering horizontally
const int DIRECT_TO_TCP = 14; // just like FLY_TCP_LIST but outside of RNP
const int META_INTENT_COUNT = 15;
class MetaIntent {
private:
MetaIntentObject metaIntentObj[META_INTENT_COUNT]; // instance of the meta intent object
public:
MetaIntent(void);
~MetaIntent(void);
void initialize();
void start(FlightClass*, int);
void supervisor(FlightClass*, FisbData*);
void metaPrediction(FlightClass*, int, FisbData*);
int getWinningMetaID(void);
MetaIntentObject* getMetaIntentByNum(int);
int getFirstTCPOutsideOfRegion(FlightClass*, double*, double*,int,int,int);
int getFirstTCPInfrontOfAc(FlightClass*, int);
void printOutputFile(void);
void closeFile(void);
};
#endif