VR-Forces 4.1.1 Class Documentation
ifSpawnBreach.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /********************************************************************
6 ** $RCSfile: ifSpawnBreach.h,v $ $Revision: 1.7 $ $State: Exp $
7 ** Created: 6/28/01, MEM Updated:1/2/02
8 *********************************************************************/
9 
12 
13 #ifndef DtIfSpawnBreach_H_
14 #define DtIfSpawnBreach_H_
15 
16 #include <matrix/vlVector.h>
18 #include <vl/hostStructs.h>
19 #include <vrfExtProtocol/objType.h>
20 
21 
25 {
26  DtNetEntityType myEntityType;
27  DtNet64Vector myBreachStartPoint;
28  DtNet64Vector myBreachEndPoint;
29  DtNet64Vector myBreachPosition;
30  DtNetEntityIdentifier myBreachedObjectId;
31  DtNetU8 mySuperType;
32 };
33 
40 #include "vrfmsgs/vrfmsgsDefines.h"
42 {
43 public:
44 
47 
49  virtual ~DtIfSpawnBreach();
50 
52  DtIfSpawnBreach(const DtIfSpawnBreach& orig);
53 
56 
58  virtual int type() const;
59 
60  virtual DtSimInterfaceContent * clone() const;
61 
64  virtual const DtVector & breachStartPoint() const;
65  virtual void setBreachStartPoint(const DtVector & stPoint);
66 
67  virtual const DtVector & breachEndPoint() const;
68  virtual void setBreachEndPoint(const DtVector & endPoint);
69 
70  virtual const DtVector & breachPosition() const;
71  virtual void setBreachPosition(const DtVector & point);
72 
75  virtual const DtObjectType& breachType() const;
76  virtual void setBreachType(const DtObjectType& type);
77 
78  virtual const DtEntityIdentifier& breachedObjectId() const;
79  virtual void setBreachedObjectId(const DtEntityIdentifier& id);
80 
81  //evil net representation stuff
82  virtual int netRepSize() const;
83 
84  virtual bool setFromNet(const char* contentBuffer,
85  unsigned contentSize);
86 
87  virtual bool setToNet();
88 
89  virtual void printDataToString(DtString& str);
90 
91  static DtSimInterfaceContent* creator();
92 
93 
94 protected:
95 
100  DtEntityIdentifier myBreachedObjectId;
101 
102 };
103 
104 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)