lcTimeScale.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1998 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00008 
00009 #pragma once
00010 
00011 #include "lcPdu.h"
00012 
00016 class DT_DLL_LOGGERCONTROL DtLgrTimeScalePdu : public DtLgrControlPdu
00017 {
00018 public:
00019 
00021    DtLgrTimeScalePdu( DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
00022 
00024    DtLgrTimeScalePdu( const DtNetLgrControlPdu* initial,
00025       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
00026 
00028    DtLgrTimeScalePdu( const DtEntityIdentifier& sender,
00029       const DtEntityIdentifier& receiver, double scale,
00030       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER );
00031 
00033    virtual ~DtLgrTimeScalePdu();
00034 
00036    DtLgrTimeScalePdu( const DtLgrTimeScalePdu& src );
00037 
00039    DtLgrTimeScalePdu& operator=( const DtLgrTimeScalePdu& src );
00040 
00042    virtual double timeScale() const;
00043    virtual void setTimeScale( DtReal time );
00044 
00046    virtual DtLgrRealParams* params() const;
00047 
00049    virtual void printData() const;
00050 
00051 private:
00053    DtReal myScale;
00054 };
00055 
00056 
00057 

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)