![]() |
MAK RTIspy API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 2001 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: tallySet.h,v $ $Revision: 1.9 $ $State: Exp $ 00007 *********************************************************************/ 00008 #ifdef DtMOM 00009 00010 00011 00012 #ifndef DtMtallySet_H_ 00013 #define DtMtallySet_H_ 00014 00015 #include "rtiMsConfig.h" 00016 #include "internalTypes.h" 00017 00018 class DT_DLL_LRC DtMtallySet 00019 { 00020 public: 00021 00023 DtMtallySet(); 00024 DtMtallySet(DtHandle handleValue, long count); 00025 00027 virtual ~DtMtallySet(); 00028 00030 DtMtallySet(const DtMtallySet& orig); 00031 00033 DtMtallySet& operator=(const DtMtallySet& orig); 00034 00036 long tally() const; 00037 void increment(); 00038 void setTally(long value); 00039 00041 virtual DtHandle handle() const; 00042 virtual void setHandle(DtHandle handle); 00043 00044 protected: 00045 00046 DtHandle myHandle; 00047 long myTally; 00048 }; 00049 00050 #endif 00051 #endif