VR-Forces 4.0.4 Class Documentation
examples/tutorialDistributedSimulation4C/DistributedSimulationDriver4C.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 ExampleSimulationObjectAgent;
00019 
00020 namespace tutorialDistributedSimulation4C
00021 {
00022 
00023 class DistributedSimulationDriver : public DtDriver
00024 {
00025 public:
00026 
00028    DistributedSimulationDriver(DtAgentManager& agentManager, const std::string& instanceName);
00029 
00031    virtual ~DistributedSimulationDriver();
00032 
00034    virtual const std::string& className() const;
00035 
00036 protected:
00037 
00040    virtual bool onStart();
00041 
00043    virtual bool onStop();
00044 
00046    virtual bool onTick();
00047 
00048 protected:
00049 
00050    DtExerciseConn* myConnection;
00051    bool myConnectionState;
00052    ExampleSimulationObjectAgent* myAgent;
00053    double myRotationDegree;
00054 };
00055 
00056 }
00057 }

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)