MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HLAfloat64TimeImpl1516e.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2010 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*********************************************************************
6 ** $RCSfile: logicalTimeImplFloat.cxx,v $ $Revision: 1.4 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifdef DtIFSPEC1516E
10 
11 #include "rtiMsConfig.h"
13 #include <RTI/time/HLAfloat64Time.h>
14 #include <RTI/time/HLAfloat64TimeFactory.h>
15 
16 namespace rti1516e
17 {
18  class DT_DLL_LRC HLAfloat64TimeImpl
19  {
20  public:
21 
23  HLAfloat64TimeImpl();
24  HLAfloat64TimeImpl(double const & value);
25  HLAfloat64TimeImpl(HLAfloat64TimeImpl const & value);
26 
28  virtual ~HLAfloat64TimeImpl ();
29 
31  virtual void setInitial ();
32  virtual bool isInitial () const;
33  virtual void setFinal ();
34  virtual bool isFinal () const;
35 
37  virtual rti1516e::HLAfloat64TimeImpl& operator= (double value);
38  virtual rti1516e::HLAfloat64TimeImpl& operator= (const rti1516e::HLAfloat64TimeImpl& value);
39 
41  virtual rti1516e::HLAfloat64TimeImpl& operator+= (double addend)
42  throw (rti1516e::IllegalTimeArithmetic);
43 
44  virtual rti1516e::HLAfloat64TimeImpl& operator-= (double subtrahend)
45  throw (rti1516e::IllegalTimeArithmetic);
46 
47  virtual bool operator> (double value) const;
48 
49  virtual bool operator< (double value) const;
50 
51  virtual bool operator== (double value) const;
52 
53  virtual bool operator>= (double value) const;
54 
55  virtual bool operator<= (double value) const;
56 
58  virtual double getTime () const;
59  virtual void setTime (double value);
60 
61  protected:
62 
63  double myLogicalTime;
64  static const double theZero;
65  static const double thePositiveInfinity;
66  };
67 }
68 
69 #endif // DtIFSPEC1516E
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126

Document ID: Generated on Mon Sep 7 15:40:32 EDT 2020 from SVN revision 217499
Copyright © 2005-2020 MAK Technologies Inc. All Rights Reserved (www.mak.com)