![]() |
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 00018 class DtSceneObjectAgent; 00019 class DtModelAgent; 00020 00021 namespace tutorialDistributedSimulation4B 00022 { 00023 00024 class DistributedSimulationDriver : public DtDriver 00025 { 00026 public: 00027 00029 DistributedSimulationDriver(DtAgentManager& agentManager, const std::string& instanceName); 00030 00032 virtual ~DistributedSimulationDriver(); 00033 00035 virtual const std::string& className() const; 00036 00037 protected: 00038 00041 virtual bool onStart(); 00042 00044 virtual bool onStop(); 00045 00047 virtual bool onTick(); 00048 00049 protected: 00050 00051 DtExerciseConn* myConnection; 00052 bool myConnectionState; 00053 DtSceneObjectAgent* mySceneObjectAgent; 00054 DtModelAgent* mySimpleModel; 00055 double myRotationDegree; 00056 }; 00057 00058 } 00059 }