MAK RTIspy API Documentation for HLA 1.3
HLAfloat64TimeImpl1516e.h
Go to the documentation of this file.
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 "HLAfloat64IntervalImpl1516e.h"
00013 #include <RTI/time/HLAfloat64Time.h>
00014 #include <RTI/time/HLAfloat64TimeFactory.h>
00015 
00016 namespace rti1516e
00017 {
00018    class DT_DLL_LRC HLAfloat64TimeImpl
00019    {
00020    public:
00021 
00023       HLAfloat64TimeImpl();
00024       HLAfloat64TimeImpl(double const & value);
00025       HLAfloat64TimeImpl(HLAfloat64TimeImpl const & value);
00026 
00028       virtual ~HLAfloat64TimeImpl ();
00029 
00031       virtual void setInitial ();
00032       virtual bool isInitial () const;
00033       virtual void setFinal ();
00034       virtual bool isFinal () const;
00035 
00037       virtual rti1516e::HLAfloat64TimeImpl& operator= (double value);
00038       virtual rti1516e::HLAfloat64TimeImpl& operator= (const rti1516e::HLAfloat64TimeImpl& value);
00039 
00041       virtual rti1516e::HLAfloat64TimeImpl& operator+= (double addend)
00042          throw (rti1516e::IllegalTimeArithmetic);
00043 
00044       virtual rti1516e::HLAfloat64TimeImpl& operator-= (double subtrahend)
00045          throw (rti1516e::IllegalTimeArithmetic);
00046       
00048       virtual double getTime () const;
00049       virtual void setTime (double value);
00050 
00051    protected:
00052 
00053       double myLogicalTime;
00054       static const double theZero;
00055       static const double thePositiveInfinity;
00056    };
00057 }
00058 
00059 #endif // DtIFSPEC1516E

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)