MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HLAinteger64IntervalImpl1516_2025.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 DtIFSPEC1516_2025
10 
11 #include "rtiMsConfig.h"
12 #include <RTI/time/HLAinteger64Interval.h>
13 
14 #if VMS || __linux__
15  #include <limits>
16  #define MAXINT64 std::numeric_limits<Integer64>::max()
17 #elif !defined(MAXINT64)
18  #include <windows.h>
19 #endif
20 
21 #define INT64_POSITIVE_INFINITY (MAXINT64)
22 #define INT64_EPSILON (1)
23 
24 namespace rti1516_2025
25 {
26  class DT_DLL_LRC HLAinteger64IntervalImpl
27  {
28  public:
29 
31  HLAinteger64IntervalImpl();
32  HLAinteger64IntervalImpl(Integer64 const & value);
33  HLAinteger64IntervalImpl(HLAinteger64IntervalImpl const & value);
34 
36  virtual ~HLAinteger64IntervalImpl ();
37 
39  virtual void setZero ();
40  virtual bool isZero () const;
41  virtual void setEpsilon ();
42  virtual bool isEpsilon () const;
43 
45  virtual rti1516_2025::HLAinteger64IntervalImpl& operator= (Integer64 value);
46  virtual rti1516_2025::HLAinteger64IntervalImpl& operator= (const rti1516_2025::HLAinteger64IntervalImpl& value);
47 
49  virtual rti1516_2025::HLAinteger64IntervalImpl& operator+= (Integer64 addend);
50 
51  virtual rti1516_2025::HLAinteger64IntervalImpl& operator-= (Integer64 subtrahend);
52 
53  virtual void setToDifference (Integer64 minuend, Integer64 subtrahend);
54 
56  virtual Integer64 getInterval () const;
57  virtual void setInterval (Integer64 value);
58 
59  protected:
60 
61  Integer64 myInterval;
62  static const Integer64 theZero;
63  static const Integer64 theEpsilon;
64  static const Integer64 thePositiveInfinity;
65  };
66 }
67 
68 #endif // DtIFSPEC1516_2025
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)