MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HLAinteger64IntervalImpl1516e.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 
14 #if VMS
15 #include <limits>
16 #define MAXINT64 numeric_limits<Integer64>::max()
17 #else
18 #define MAXINT64 9223372036854775807LL
19 #endif
20 
21 #define INT64_POSITIVE_INFINITY (MAXINT64)
22 #define INT64_EPSILON (1)
23 
24 namespace rti1516e
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 rti1516e::HLAinteger64IntervalImpl& operator= (Integer64 value);
46  virtual rti1516e::HLAinteger64IntervalImpl& operator= (const rti1516e::HLAinteger64IntervalImpl& value);
47 
49  virtual rti1516e::HLAinteger64IntervalImpl& operator+= (Integer64 addend)
50  throw (rti1516e::IllegalTimeArithmetic);
51 
52  virtual rti1516e::HLAinteger64IntervalImpl& operator-= (Integer64 subtrahend)
53  throw (rti1516e::IllegalTimeArithmetic);
54 
55  virtual void setToDifference (Integer64 minuend, Integer64 subtrahend)
56  throw (rti1516e::IllegalTimeArithmetic);
57 
59  virtual Integer64 getInterval () const;
60  virtual void setInterval (Integer64 value);
61 
62  protected:
63 
64  Integer64 myInterval;
65  static const Integer64 theZero;
66  static const Integer64 theEpsilon;
67  static const Integer64 thePositiveInfinity;
68  };
69 }
70 
71 #endif // DtIFSPEC1516E
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
long long Integer64
Definition: EncodingConfig.h:38

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)