VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtDriverConfiguration.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtDriverConfiguration.h,v $ $Revision: 1.19 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtDriverConfiguration_H_
14 #define DtDriverConfiguration_H_
15 
16 #include <vrvUtil/vrvUtil.h>
18 
19 namespace makVrv
20 {
24  {
25  public:
26 
28  static const int theDefaultPort = 22563;
29 
31  DtDriverConfiguration(const std::string& name = "");
32 
35 
38 
40  virtual ~DtDriverConfiguration();
41 
48 
50  virtual const std::string& masterDriverAddress() const;
51 
53  virtual void setMasterDriverAddress(const std::string& addr);
54 
56  virtual int masterDriverPort() const;
57 
59  virtual void setMasterDriverPort(int port);
60 
61  protected:
62 
63  template<class Archive>
64  void _serialize(Archive & ar, const unsigned int version)
65  {
67  ar & DT_SERIALIZE_MEMBER(myMasterDriverAddress);
68  ar & DT_SERIALIZE_MEMBER(myMasterDriverPort);
69  }
70 
71  std::string myMasterDriverAddress;
73 
74  };
75 }
76 
78 
79 #endif

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)