VR-Forces 4.0.4 Class Documentation
examples/tutorialDistributedSimulation4B/DistributedSimulationDriver4B.h
Go to the documentation of this file.
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 }

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)