VR-Forces 4.0.4 Class Documentation
include/vrvCoreQt/DtSlaveConnectionInterface.h
Go to the documentation of this file.
00001 /****************************************************************************** 
00002 ** Copyright (c) 2007 MAK Technologies, Inc. 
00003 ** All rights reserved. 
00004 ******************************************************************************/ 
00005 /****************************************************************************** 
00006 ** $RCSfile: DtSlaveConnectionInterface.h,v $ $Revision: 1.11 $ $State: Exp $ 
00007 ******************************************************************************/ 
00008  
00012  
00013 #pragma once
00014 #include <vrvCoreQt/vrvCoreQt.h>
00015 #include <string>
00016  
00017 namespace makVrv 
00018 { 
00019 
00020    class DtSlaveConnectionLogic;
00021 
00025    class DT_DLL_VRVCOREQT DtSlaveConnectionInterface 
00026    {
00027 
00028    public:
00029       
00031       virtual const std::string& serverAddress() const = 0;
00032 
00034       virtual void setServerAddress(const std::string& address) = 0;
00035 
00037       virtual int serverPort() const = 0;
00038 
00040       virtual void setServerPort(int port) = 0;
00041 
00043       virtual void setConnectionState(bool connected) = 0;
00044 
00046       virtual bool connectionState() const = 0;
00047 
00048       virtual void onActivate() = 0;
00049 
00050       virtual void onDeactivate() = 0;
00051 
00053       virtual void onConnecting() = 0;
00054 
00057       virtual void onConnected() = 0;
00058 
00061       virtual void onUnableToConnect() = 0;
00062 
00063    }; 
00064 } 

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)