![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2011 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 00008 00009 #pragma once 00010 00011 #include <vrvCore/DtDriver.h> 00012 00013 class DtExerciseConn; 00014 00015 namespace makVrv 00016 { 00017 namespace tutorialDistributedSimulation2A 00018 { 00019 00020 class DistributedSimulationDriver : public DtDriver 00021 { 00022 public: 00023 00025 DistributedSimulationDriver(DtAgentManager& agentManager, const std::string& instanceName); 00026 00028 virtual ~DistributedSimulationDriver(); 00029 00031 virtual const std::string& className() const; 00032 00033 protected: 00034 00037 virtual bool onStart(); 00038 00040 virtual bool onStop(); 00041 00043 virtual bool onTick(); 00044 00045 protected: 00046 00047 DtExerciseConn* myConnection; 00048 bool myConnectionState; 00049 }; 00050 00051 } 00052 }