VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setDetonate.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2001 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
17 #include <readerWriter/rwInt.h>
18 #include <readerWriter/rwReal.h>
19 #include <readerWriter/rwString.h>
21 
26 
29 {
30 
31 public:
32 
34  DtSetDetonate();
35 
38  DtSetDetonate(const DtString & writeName,
39  DtReaderWriterRegistry * parentRegistry = 0);
40 
42  DtSetDetonate(const DtString & writeName, const
43  DtSetDetonate & orig,
44  DtReaderWriterRegistry * parentRegistry = 0);
45 
47  const DtSetDetonate & operator=(const DtSetDetonate & orig);
48 
49  virtual ~DtSetDetonate();
50 
52  virtual const DtSetMessageType& type() const;
53 
55  virtual DtSetDataRequest * clone(const DtString & name, DtReaderWriterRegistry *
56  parentRegistry = 0) const;
57 
59  virtual DtString stringRep() const;
60 
62  virtual void setDetonatorFuse(const int fuse);
63  virtual const int detonatorFuse() const;
64 
66  virtual void setDetonationTime(const DtReal time);
67  virtual const DtReal detonationTime() const;
68 
71  virtual void setDetonationProximity(DtReal p);
72  virtual DtReal detonationProximity() const;
73 
76  virtual int netRepSize() const;
77 
79  virtual bool setFromNet(const char* contentBuffer,
80  unsigned contentSize);
81 
84  virtual bool setToNet();
85 
86  static DtSetDataRequest * creator();
87 
88 protected:
89 
93 
94 };
95 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)