VR-Forces 4.0.4 Class Documentation
include/vrvVrlQt/DtConnectionListInterface.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtConnectionListInterface.h,v $ $Revision: 1.9 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtConnectionListInterface_H_
00014 #define DtConnectionListInterface_H_
00015 
00016 #include <vrvVrlQt/vrvVrlQt.h>
00017 #include <boost/signal.hpp>
00018 
00019 namespace makVrv
00020 {
00023    class DT_DLL_VRVVRLQT DtConnectionListInterface
00024    {
00025    public:
00026 
00027       DtConnectionListInterface();
00028 
00029       virtual ~DtConnectionListInterface();
00030 
00031       enum DriverState
00032       {
00033          Stopped = 0,
00034          Started = 1,
00035          Unavailable = 2
00036       };
00037 
00038 
00040       virtual void addDriver(const std::string& driverName,
00041          DtConnectionListInterface::DriverState state) = 0;
00042       virtual void removeDriver(const std::string& driverName) = 0;
00043 
00044       virtual void setCurrentDriver(const std::string& name) = 0;
00045       virtual void setCurrentDriverState(DriverState state) = 0;
00046 
00047       virtual void setDriverState(const std::string& driverName,
00048          DriverState state) = 0;
00049       virtual void setAutoConnectDriver(const std::string& driverName) = 0;
00050 
00051       
00052       
00053       boost::signal<void (const std::string&)> signal_currentDriverChanged;
00054       boost::signal<void ()> signal_connectCurrentDriver;
00055       boost::signal<void ()> signal_setCurrentAsAutoDriver;
00056       boost::signal<void (const std::string&)> signal_setDriverAsAutoDriver;
00057 
00058    };
00059 }
00060 
00061 #endif
00062 

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)