![]() |
MAK RTIspy API Documentation for HLA 1516
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2010 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: logicalTimeImplFloat.cxx,v $ $Revision: 1.4 $ $State: Exp $ 00007 *********************************************************************/ 00008 00009 #ifdef DtIFSPEC1516E 00010 00011 #include "rtiMsConfig.h" 00012 #include "HLAinteger64IntervalImpl1516e.h" 00013 #include <RTI/time/HLAinteger64Time.h> 00014 #include <RTI/time/HLAinteger64TimeFactory.h> 00015 00016 namespace rti1516e 00017 { 00018 class DT_DLL_LRC HLAinteger64TimeImpl 00019 { 00020 public: 00021 00023 HLAinteger64TimeImpl(); 00024 HLAinteger64TimeImpl(Integer64 const & value); 00025 HLAinteger64TimeImpl(HLAinteger64TimeImpl const & value); 00026 00028 virtual ~HLAinteger64TimeImpl (); 00029 00031 virtual void setInitial (); 00032 virtual bool isInitial () const; 00033 virtual void setFinal (); 00034 virtual bool isFinal () const; 00035 00037 virtual rti1516e::HLAinteger64TimeImpl& operator= (Integer64 value); 00038 virtual rti1516e::HLAinteger64TimeImpl& operator= (const rti1516e::HLAinteger64TimeImpl& value); 00039 00041 virtual rti1516e::HLAinteger64TimeImpl& operator+= (Integer64 addend) 00042 throw (rti1516e::IllegalTimeArithmetic); 00043 00044 virtual rti1516e::HLAinteger64TimeImpl& operator-= (Integer64 subtrahend) 00045 throw (rti1516e::IllegalTimeArithmetic); 00046 00048 virtual Integer64 getTime () const; 00049 virtual void setTime (Integer64 value); 00050 00051 protected: 00052 00053 Integer64 myLogicalTime; 00054 static const Integer64 theZero; 00055 static const Integer64 thePositiveInfinity; 00056 }; 00057 } 00058 00059 #endif // DtIFSPEC1516E