VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifSetRunDuration.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfmsgs/vrfmsgsDefines.h"
12 #include "vrfmsgs/messageTypes.h"
14 
18 {
19 public:
20 
23 
25  virtual ~DtIfSetRunDuration() override;
26 
29 
32 
34  virtual int type() const override;
35 
36  virtual DtSimInterfaceContent * clone() const override;
37 
38  virtual int netRepSize() const override;
39  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize) override;
40  virtual bool setToNet() override;
41 
42  virtual void printDataToString(DtString& str) override;
43 
44  static DtSimInterfaceContent* creator();
45 
47  virtual void setIsDuration(bool);
48  virtual bool isDuration() const;
49 
52  virtual void setDuration(double);
53  virtual double duration() const;
54 
55 protected:
57  double myDuration;
58 };
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Definition: simInterfaceContent.h:78
virtual int netRepSize() const
Definition: simInterfaceContent.h:76
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
double myDuration
Definition: ifSetRunDuration.h:57
virtual int type() const =0
bool myIsDuration
Definition: ifSetRunDuration.h:56
The DtIfSetRunDuration message will set the duration of the scenario to run. It will either be an abs...
Definition: ifSetRunDuration.h:17
virtual void printDataToString(DtString &str)
const DtSimInterfaceContent & operator=(const DtSimInterfaceContent &orig)
virtual bool setToNet()
Definition: simInterfaceContent.h:83
Definition: simInterfaceContent.h:45
virtual DtSimInterfaceContent * clone() const =0

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)