VR-Link API Documentation for DIS
testSR.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 #pragma once
6 
7 #if DtHLA
8 
9 #include <vl/stateRep.h>
10 #include <matrix/vlVector.h>
11 
16 class TestStateRepository : public DtStateRepository
17 {
18 public:
19 
21  TestStateRepository();
22 
24  virtual ~TestStateRepository();
25 
27  TestStateRepository(const TestStateRepository& orig);
28 
30  TestStateRepository& operator=(const TestStateRepository& orig);
31 
33  virtual DtStateRepository* clone(bool copy) const;
34 
37  virtual void printData() const;
38 
41  virtual void printDataToStream(std::ostream& stream) const;
42 
50 
52  virtual void setNumber(int num);
53  virtual int number() const;
54 
56  virtual void setVector(const DtVector& vec);
57  virtual const DtVector& vector() const;
58 
59 public:
60 
64  static DtStateRepository* create();
65 
66 protected:
67 
69  int myNum;
70  DtVector myVec;
71 };
72 
73 #endif
74 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)