1 // logger.hxx - log properties.
2 // Written by David Megginson, started 2002.
4 // This file is in the Public Domain, and comes with no warranty.
12 #include <simgear/compiler.h>
13 #include <simgear/structure/subsystem_mgr.hxx>
14 #include <simgear/props/props.hxx>
17 * Log any property values to any number of CSV files.
19 class FGLogger : public SGSubsystem
26 // Implementation of SGSubsystem
28 virtual void reinit ();
30 virtual void unbind ();
31 virtual void update (double dt);
36 * A single instance of a log file (the logger can contain many).
41 std::vector<SGPropertyNode_ptr> nodes;
42 std::ostream * output;
48 std::vector<Log> _logs;
52 #endif // __LOGGER_HXX