MAK RTIspy API Documentation for HLA 1.3
metadataTimeStamp.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2008 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: metadataTimeStamp.h,v $ $Revision: 1.4 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef DtRtiMtdTimeStamp_H_
10 #define DtRtiMtdTimeStamp_H_
11 
16 
17 #include "metadata.h"
18 #include <vlutil/vlTime.h>
19 
20 #if defined(DtIFSPEC1516) || defined(DtIFSPEC1516E)
21 #include <RTI/Handle.h>
22 #else
23 #ifdef DtIFSPEC13DLC
24 #include "RTI13.h"
25 #else
26 #include "RTI.hh"
27 #endif
28 #endif
29 
31 {
32 
33 public:
34 
36  DtRtiMtdTimeStamp( DtMetadataType type, caddr_t msg );
38 
40  virtual ~DtRtiMtdTimeStamp();
41 
42 private:
43 
46 
49 
50 public:
51 
55  virtual bool get( MAKRti::DtTime& stamp ) const;
56 
60  virtual bool set( const MAKRti::DtTime& timeStamp );
61 
64  virtual DtMetadataType getType() const;
65 
66 public:
67 
71  static bool get( DtMetadataType type , char const* msg,
72  MAKRti::DtTime& stamp );
73 
74 protected:
75 
76  static const unsigned int theSizeOfASingleEntry;
77  const unsigned int myPayloadAlignment;
78 
79 };
80 
81 #endif

Document ID: Generated on Tue May 7 16:26:47 EDT 2013 from SVN revision 126903
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)