VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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>
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
DtVector myBreachEndPoint
Definition: ifSpawnBreach.h:98
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Definition: simInterfaceContent.h:78
virtual int netRepSize() const
Definition: simInterfaceContent.h:76
DtNet64Vector myBreachEndPoint
might not need these
Definition: ifSpawnBreach.h:28
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
virtual int type() const =0
DtEntityIdentifier myBreachedObjectId
Definition: ifSpawnBreach.h:100
Definition: objectType.h:27
DtNet64Vector myBreachPosition
Definition: ifSpawnBreach.h:29
virtual void printDataToString(DtString &str)
DtVector myBreachPosition
Definition: ifSpawnBreach.h:97
const DtSimInterfaceContent & operator=(const DtSimInterfaceContent &orig)
DtNet64Vector myBreachStartPoint
Definition: ifSpawnBreach.h:27
Class DtIfSpawnBreach.
Definition: ifSpawnBreach.h:41
DtObjectType myBreachType
Definition: ifSpawnBreach.h:96
DtNetEntityType myEntityType
Definition: ifSpawnBreach.h:26
DtNetEntityIdentifier myBreachedObjectId
Definition: ifSpawnBreach.h:30
virtual bool setToNet()
Definition: simInterfaceContent.h:83
Definition: simInterfaceContent.h:45
DtVector myBreachStartPoint
Definition: ifSpawnBreach.h:99
virtual DtSimInterfaceContent * clone() const =0
DtNetU8 mySuperType
Definition: ifSpawnBreach.h:31
This is the FIXED length portion of a DtNetIfSpawnBreach message content when placed on the network...
Definition: ifSpawnBreach.h:24

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)