VR-Forces 4.0.4 Class Documentation
include/vrvCoreQt/DtSimulationSettingsLogic.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtSimulationSettingsLogic.h,v $ $Revision: 1.13 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtSimulationSettingsLogic_H_
00014 #define DtSimulationSettingsLogic_H_
00015 
00016 #include <vrvCoreQt/vrvCoreQt.h>
00017 
00018 namespace makVrv
00019 {
00020    class DtSimulationSettingsInterface;
00021    class DtDriver;
00022 
00025    class DT_DLL_VRVCOREQT DtSimulationSettingsLogic
00026    {
00027    public:
00028 
00030       DtSimulationSettingsLogic(DtDe& de,
00031          DtSimulationSettingsInterface& simSettingsInterface,
00032          const std::string& driverClassName,
00033          const std::string& protocolName);
00034 
00036       virtual ~DtSimulationSettingsLogic();
00037 
00041       virtual std::string addSimulationConnection();
00042 
00044       virtual void renameSimulationConnection(const std::string& oldName,
00045          const std::string& newName);
00046 
00048       virtual void removeSimulationConnection(const std::string& driverName);
00049 
00050    protected:
00051 
00052       std::string generateName();
00053 
00054       void on_driverAdded(DtDriver&);
00055       void on_driverToBeDestroyed(DtDriver&);
00056       void on_autoDriverChanged(const std::string& driver);
00057 
00058    protected:
00059       DtDe& myDe;
00060       DtSimulationSettingsInterface& myInterface;
00061       std::string myDriverClassName;
00062       std::string myProtocolName;
00063    };
00064 }
00065 
00066 #endif
00067 

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)