MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lcTimeScale.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1998 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include "lcPdu.h"
12 
17 {
18 public:
19 
21  DtLgrTimeScalePdu( DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
22 
24  DtLgrTimeScalePdu( const DtNetLgrControlPdu* initial,
25  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0 );
26 
28  DtLgrTimeScalePdu( const DtEntityIdentifier& sender,
29  const DtEntityIdentifier& receiver, double scale,
30  DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
31 
33  virtual ~DtLgrTimeScalePdu();
34 
37 
40 
42  virtual double timeScale() const;
43  virtual void setTimeScale( DtReal time );
44 
46  virtual DtLgrRealParams* params() const;
47 
49  virtual void printData() const;
50 
51 private:
53  DtReal myScale;
54 };
55 
56 
57 

Document ID: Generated on Thu Jul 23 15:05:27 EDT 2020 from SVN revision 215371
Copyright © 2020 MAK Technologies. All Rights Reserved (www.mak.com)