VR-Forces 4.0.4 Class Documentation
include/vrvVrlQt/DtConnectionListLogic.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtConnectionListLogic.h,v $ $Revision: 1.12 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtConnectionListLogic_H_
00014 #define DtConnectionListLogic_H_
00015 
00016 #include <vrvVrlQt/vrvVrlQt.h>
00017 
00018 namespace makVrv
00019 {
00020    class DtDe;
00021    class DtConnectionListInterface;
00022    class DtDriver;
00023 
00028    class DT_DLL_VRVVRLQT DtConnectionListLogic
00029    {
00030    public:
00031 
00033       DtConnectionListLogic(DtDe& de,DtConnectionListInterface& interface);
00034 
00036       ~DtConnectionListLogic();
00037 
00038    protected:
00039   
00041       void onCurrentDriverChanged(const std::string& driver);
00042 
00044       void onCurrentDriverConnect();
00045 
00046       void onSetCurrentDriverAsAutoDriver();
00047       void onSetDriverAsAutoDriver(const std::string& driver);
00048 
00049       void onDriverCreated(DtDriver& con);
00050       void onDriverDestroyed(DtDriver& con);
00051       void onDriverStopped(DtDriver& con);
00052       void onDriverStarted(DtDriver& con);
00053 
00054    protected:
00055 
00056       void updateInterface();
00057       void onAutoDriverChanaged(const std::string& driver);
00058       
00059       
00060    protected:
00061 
00062       DtDe& myDe;
00063       DtConnectionListInterface& myInterface;
00064 
00065       DtDriver* myCurrentDriver;
00066 
00067    };
00068 }
00069 
00070 #endif
00071 

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)