VR-Forces 5.0.2 Developer's Guide
 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 #pragma once
7 
8 #include <matrix/vlVector.h>
11 #include <vlpi/entityIdentifier.h>
12 #include <vlpi/netStructs.h>
13 
17 {
18  DtNetEntityType myEntityType;
19  DtNet64Vector myBreachStartPoint;
20  DtNet64Vector myBreachEndPoint;
21  DtNet64Vector myBreachPosition;
22  DtNetEntityIdentifier myBreachedObjectId;
23  DtNetU8 mySuperType;
24 };
25 
32 #include "vrfmsgs/vrfmsgsDefines.h"
34 {
35 public:
36 
39 
41  virtual ~DtIfSpawnBreach();
42 
44  DtIfSpawnBreach(const DtIfSpawnBreach& orig);
45 
48 
50  virtual int type() const;
51 
52  virtual DtSimInterfaceContent * clone() const;
53 
56  virtual const DtVector & breachStartPoint() const;
57  virtual void setBreachStartPoint(const DtVector & stPoint);
58 
59  virtual const DtVector & breachEndPoint() const;
60  virtual void setBreachEndPoint(const DtVector & endPoint);
61 
62  virtual const DtVector & breachPosition() const;
63  virtual void setBreachPosition(const DtVector & point);
64 
67  virtual const DtObjectType& breachType() const;
68  virtual void setBreachType(const DtObjectType& type);
69 
70  virtual const DtEntityIdentifier& breachedObjectId() const;
71  virtual void setBreachedObjectId(const DtEntityIdentifier& id);
72 
73  //evil net representation stuff
74  virtual int netRepSize() const;
75 
76  virtual bool setFromNet(const char* contentBuffer,
77  unsigned contentSize);
78 
79  virtual bool setToNet();
80 
81  virtual void printDataToString(DtString& str);
82 
83  static DtSimInterfaceContent* creator();
84 
85 
86 protected:
87 
92  DtEntityIdentifier myBreachedObjectId;
93 
94 };
DtVector myBreachEndPoint
Definition: ifSpawnBreach.h:90
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:20
#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:92
Definition: objectType.h:27
DtNet64Vector myBreachPosition
Definition: ifSpawnBreach.h:21
virtual void printDataToString(DtString &str)
DtVector myBreachPosition
Definition: ifSpawnBreach.h:89
const DtSimInterfaceContent & operator=(const DtSimInterfaceContent &orig)
DtNet64Vector myBreachStartPoint
Definition: ifSpawnBreach.h:19
Class DtIfSpawnBreach.
Definition: ifSpawnBreach.h:33
DtObjectType myBreachType
Definition: ifSpawnBreach.h:88
DtNetEntityType myEntityType
Definition: ifSpawnBreach.h:18
DtNetEntityIdentifier myBreachedObjectId
Definition: ifSpawnBreach.h:22
virtual bool setToNet()
Definition: simInterfaceContent.h:83
Definition: simInterfaceContent.h:45
DtVector myBreachStartPoint
Definition: ifSpawnBreach.h:91
virtual DtSimInterfaceContent * clone() const =0
DtNetU8 mySuperType
Definition: ifSpawnBreach.h:23
This is the FIXED length portion of a DtNetIfSpawnBreach message content when placed on the network...
Definition: ifSpawnBreach.h:16

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)