MAK RTIspy API Documentation for HLA Evolved
assistantLogEnableMsg.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2008 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: assistantLogEnableMsg.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *********************************************************************/
00008 
00009 #ifndef DtAssistantLogEnableMsg_H_
00010 #define DtAssistantLogEnableMsg_H_
00011 
00015 
00016 #include <vlutil/vlString.h>
00017 #include <vlutil/vlUtil.h>
00018 
00019 #include "assistantMsg.h"
00020 #include "netAssistantLogEnableMsg.h"
00021 
00022 class DtRtiAssistantClient;
00023 class DtAssistantLogEnableMsg;
00024 
00025 typedef void (*DtAssistantLogEnableCb)(const DtAssistantLogEnableMsg& inter, void* usr);
00026 
00031 class DT_DLL_ASSISTANT DtAssistantLogEnableMsg : public DtAssistantMsg
00032 {
00033 public:
00034 
00036    DtAssistantLogEnableMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00037 
00038    DtAssistantLogEnableMsg(const DtNetAssistantLogEnableMsg* netRepMsg,
00039       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00040 
00042    virtual ~DtAssistantLogEnableMsg();
00043 
00045    virtual DtAssistantMsg* clone(bool copy = true) const;
00046 
00048    virtual bool isEnable() const;
00049 
00051    virtual void setEnable( bool val );
00052 
00054    virtual void printData() const;
00055 
00056 public:
00057 
00059    static DtAssistantMsg* create(const DtNetAssistantMsgHeader* initial,
00060       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00061 
00062    static DtAssistantMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00063 
00066    static void addCallback(DtRtiAssistantClient* conn,
00067       DtAssistantLogEnableCb cb, void* usr);
00068    static void removeCallback(DtRtiAssistantClient* conn,
00069       DtAssistantLogEnableCb cb, void* usr);
00070       
00071 protected:
00072 
00074    virtual DtNetAssistantLogEnableMsg* netAssistantLogEnableMsg();
00075    virtual const DtNetAssistantLogEnableMsg* netAssistantLogEnableMsg() const;
00076 
00078    virtual DtAssistantMsgKind internalMsgKind();
00079 
00081    virtual int minSize() const;
00082 
00083 };
00084 
00085 #endif

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)