VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSlaveConnectionInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvCoreQt/vrvCoreQt.h>
12 #include <string>
13 
14 namespace makVrv
15 {
16 
17  class DtSlaveConnectionLogic;
18 
23  {
24 
25  public:
26 
28  virtual const std::string& serverAddress() const = 0;
29 
31  virtual void setServerAddress(const std::string& address) = 0;
32 
34  virtual int serverPort() const = 0;
35 
37  virtual void setServerPort(int port) = 0;
38 
40  virtual void setConnectionState(bool connected) = 0;
41 
43  virtual bool connectionState() const = 0;
44 
45  virtual void onActivate() = 0;
46 
47  virtual void onDeactivate() = 0;
48 
50  virtual void onConnecting() = 0;
51 
54  virtual void onConnected() = 0;
55 
58  virtual void onUnableToConnect() = 0;
59 
60  };
61 }
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
The interface class of the makVrv::DtSlaveConnectionWidget for the makVrv::DtSlaveConnectionLogic.
Definition: DtSlaveConnectionInterface.h:22

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)