![]() |
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 #include <vl/dReflEntList.h> 00013 00014 using namespace makVrv; 00015 00016 class DtExerciseConn; 00017 class DtReflectedObject; 00018 00019 namespace makVrv 00020 { 00021 namespace tutorialDistributedSimulation3D 00022 { 00023 00024 class DistributedSimulationConnection; 00025 00026 class DistributedSimulationDriver : public DtDriver 00027 { 00028 public: 00029 00031 DistributedSimulationDriver(DtAgentManager& agentManager, const std::string& instanceName); 00032 00034 virtual ~DistributedSimulationDriver(); 00035 00037 virtual const std::string& className() const; 00038 00039 protected: 00040 00043 virtual bool onStart(); 00044 00046 virtual bool onStop(); 00047 00049 virtual bool onTick(); 00050 00052 virtual bool discoverCb(DtReflectedObject* reflectedObj, char state); 00053 00054 00055 protected: 00056 00057 DistributedSimulationConnection* myConnection; 00058 }; 00059 00060 } 00061 }