-// fg_io.hxx -- Higher level I/O managment routines
+// fg_io.hxx -- Higher level I/O management routines
//
// Written by Curtis Olson, started November 1999.
//
#include <simgear/compiler.h>
#include <simgear/structure/subsystem_mgr.hxx>
+#include <simgear/props/props.hxx>
#include <vector>
#include <string>
~FGIO();
void init();
+ void reinit();
void bind();
void unbind();
void update( double dt );
- void shutdown_all();
+ void shutdown();
private:
+ void add_channel(const std::string& config);
FGProtocol* parse_port_config( const std::string& cfgstr );
private:
// define the global I/O channel list
//io_container global_io_list;
- std::vector< FGProtocol* > io_channels;
+
+ typedef std::vector< FGProtocol* > ProtocolVec;
+ ProtocolVec io_channels;
+
+ SGPropertyNode_ptr _realDeltaTime;
};