//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
// $Id$
#include <Network/net_ctrls.hxx>
#include <Network/net_fdm.hxx>
-SG_USING_STD(deque);
+using std::deque;
class FGReplayData {
FGNetCtrls ctrls;
};
-typedef deque < FGReplayData > replay_list_type;
+typedef deque < FGReplayData *> replay_list_type;
virtual ~FGReplay();
virtual void init();
+ virtual void reinit();
virtual void bind();
virtual void unbind();
virtual void update( double dt );
double get_end_time();
private:
+ void clear();
static const double st_list_time; // 60 secs of high res data
static const double mt_list_time; // 10 mins of 1 fps data
double sim_time;
double last_mt_time;
double last_lt_time;
+ int last_replay_state;
replay_list_type short_term;
replay_list_type medium_term;
replay_list_type long_term;
+ replay_list_type recycler;
SGPropertyNode_ptr disable_replay;
+ SGPropertyNode_ptr replay_master;
+ SGPropertyNode_ptr replay_time;
};