VR-Forces 4.2 Class Documentation
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 "vrfutil/rwInt.h"
18 #include "vrfutil/rwReal.h"
19 #include "vrfutil/rwString.h"
20 #include "vrftasks/setDataReq.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 Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)