X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Flogger.hxx;h=1f99cd9102c66bfe235267a9b8de83839b341448;hb=e78c56af7dfb6d8258ada8a5f58e39d7be633dc2;hp=6b7d95291f219f2cee12f2a55279b503dff96efe;hpb=8506e731a234e03acfdeae612d1c53cf58c9d707;p=flightgear.git diff --git a/src/Main/logger.hxx b/src/Main/logger.hxx index 6b7d95291..1f99cd910 100644 --- a/src/Main/logger.hxx +++ b/src/Main/logger.hxx @@ -6,39 +6,23 @@ #ifndef __LOGGER_HXX #define __LOGGER_HXX 1 -#ifndef __cplusplus -# error This library requires C++ -#endif - -#ifdef HAVE_CONFIG_H -# include -#endif - -#include +#include #include #include -#include -#include -#include - -SG_USING_STD(ostream); -SG_USING_STD(vector); - -#include "fgfs.hxx" - +#include /** * Log any property values to any number of CSV files. */ -class FGLogger : public FGSubsystem +class FGLogger : public SGSubsystem { public: FGLogger (); virtual ~FGLogger (); - // Implementation of FGSubsystem + // Implementation of SGSubsystem virtual void init (); virtual void reinit (); virtual void bind (); @@ -53,14 +37,14 @@ private: struct Log { Log (); virtual ~Log (); - vector nodes; - ostream * output; + std::vector nodes; + std::ostream * output; long interval_ms; double last_time_ms; char delimiter; }; - vector _logs; + std::vector _logs; };