VR-Forces 4.0.4 Class Documentation
include/vrfmsgs/reportMsg.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1999 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: reportMsg.h,v $ $Revision: 1.17 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00017 
00018 
00019 #ifndef DtReportMessage_H_
00020 #define DtReportMessage_H_
00021 
00022 #include "vrfmsgs/radioMsg.h"
00023 #include "vrftasks/simReport.h"
00024 
00025 
00029 struct DtNetReportMessage
00030 {
00031    DtNetU16 myReportType; 
00032    DtNetU16 padding;    
00033    DtNetU32 padding2;   
00034 
00035 };
00036 
00047 #include "vrfmsgs/vrfmsgsDefines.h"
00048 class DT_DLL_vrfmsgs DtReportMessage : public DtSimRadioMessage
00049 {
00050 
00051 public:
00052 
00054    DtReportMessage();
00055 
00056    DtReportMessage(const DtReportMessage & orig);
00057 
00058 protected:
00059    const DtReportMessage & operator=(DtReportMessage & orig);
00060 
00061 public:
00062 
00064    virtual ~DtReportMessage();
00065 
00067    virtual DtSimReport * report() const;
00068 
00082    virtual void setReport(DtSimReport * report);
00083 
00085    virtual int contentCategoryType() const;
00086 
00088    virtual int contentType() const;
00089 
00091    virtual DtSimMessage * clone() const;
00092 
00096    virtual int netRepSize() const;
00097 
00100    virtual bool setFromNet(const char* networkBuffer, 
00101       unsigned contentSize);
00102 
00105    virtual bool setToNet(); 
00106 
00107    virtual void printDataToString(DtString& str);
00108 
00109    static DtSimRadioMessage* creator();
00110 
00111 protected:
00112    DtSimReport* myReport;
00113    bool    myOwnReport;
00114 };
00115 #endif
00116 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)