VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ceScenarioEvent.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfutil/readerWriter.h"
12 #include "vrfutil/rwString.h"
13 #include "vrfutil/rwInt.h"
14 #include "vrfutil/rwBoolean.h"
15 #include "vrfutil/simCondExpr.h"
16 
17 const char DtCeScenarioEventTypeName[] = "ScenarioEvent";
18 
23 #include "vrfutil/vrfutilDefines.h"
25 {
26 public:
27 
30 
33 
36  DtReaderWriterRegistry* parentRegistry = NULL);
37 
39  virtual ~DtCeScenarioEvent();
40 
43 
45  virtual DtSimCondExpr* clone(DtReaderWriterRegistry* parentRegistry = NULL);
46 
48  virtual int type() const;
49 
51  virtual void setScenarioEventId(const DtString& name);
52  virtual const DtString& scenarioEventId() const;
53 
55  virtual void setOperation(int);
56  virtual int operation() const;
57  virtual DtString operationString() const;
58 
60  virtual void setAnyEventThatAppliesToForce(bool);
61  virtual bool anyEventThatAppliesToForce() const;
62 
72  virtual DtString stringRep(int subExprIndex = DtSR_EXPR) 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 DtSimCondExpr * creator();
87 
88 protected:
92 };

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)