VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ifForces.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
17 #include "vrfmsgs/vrfmsgsDefines.h"
18 #include "vrfmsgs/messageTypes.h"
19 #include <vrfExtProtocol/simInterfaceContent.h>
21 
25 
27 {
28 public:
30  DtIfForces();
31 
33  DtIfForces(const DtIfForces & orig);
34 
36  const DtIfForces& operator=(const DtIfForces& orig);
37 
38  virtual ~DtIfForces();
39 
40  virtual int type() const;
41 
42  virtual DtSimInterfaceContent* clone() const;
43 
44  virtual int netRepSize() const;
45 
46  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize);
47 
48  virtual bool setToNet();
49 
51  virtual void printDataToString(DtString& str);
52 
53  static DtSimInterfaceContent* creator();
54 
55  virtual int numberOfForces() const;
56  virtual void addForce(const DtString& name, const DtVector& color, int forceType, bool includeInDialogs);
57  virtual void force(int i, DtString& name, DtVector& color, int& forceType, bool& includeInDialogs) const;
58 
59 protected:
61  std::vector<DtString> myForceNames;
62  std::vector<bool> myIncludeInDialogs;
63  std::vector<int> myForceTypes;
64  std::vector<DtVector> myForceColors;
65 };

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)