#include <simgear/compiler.h>
-#include STL_STRING
+#include <string>
#include "protocol.hxx"
-SG_USING_STD(string);
+using std::string;
class FGGeneric : public FGProtocol {
// close the channel
bool close();
+ void setExitOnError(bool val) { exitOnError = val; }
+ bool getExitOnError() { return exitOnError; }
protected:
enum e_type { FG_BOOL=0, FG_INT, FG_DOUBLE, FG_STRING };
int binary_footer_value;
void read_config(SGPropertyNode *root, vector<_serial_prot> &msg);
-
+ bool exitOnError;
};