MAK RTIspy API Documentation for HLA 1.3
assistantWwwCompInfoMsg.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2008 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: assistantWwwCompInfoMsg.h,v $ $Revision: 1.4 $ $State: Exp $
00007 *********************************************************************/
00008 
00009 #ifndef assistantWwwCompInfoMsg_H_
00010 #define assistantWwwCompInfoMsg_H_
00011 
00015 
00016 #include <vlutil/vlFilename.h>
00017 #include <vlutil/vlPrint.h>
00018 
00019 #include "assistantMsg.h"
00020 #include "assistantConnMsg.h"
00021 #include "netAssistantWwwCompInfoMsg.h"
00022 
00023 class DtAssistantWwwCompInfoMsg;
00024 class DtRtiAssistantServer;
00025 class MAKRti::DtInetAddr;
00026 
00027 typedef void (*DtAssistantWwwCompInfoCb)(const DtAssistantWwwCompInfoMsg& inter, void* usr);
00028 
00029 
00034 class DT_DLL_ASSISTANT DtAssistantWwwCompInfoMsg : public DtAssistantMsg
00035 {
00036 
00037 public:
00038    
00040    DtAssistantWwwCompInfoMsg(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00041 
00042    DtAssistantWwwCompInfoMsg(const DtNetAssistantWwwCompInfoMsg* netRep,
00043       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00044 
00046    virtual ~DtAssistantWwwCompInfoMsg();
00047 
00049    virtual DtAssistantMsg* clone(bool copy = true) const;
00050 
00052    virtual void setWebSpyIpAddress(const MAKRti::DtInetAddr& ipAddr);
00053 
00055    virtual MAKRti::DtInetAddr webSpyIpAddress() const;
00056 
00058    virtual void setWebSpyHttpPort(int port);
00059 
00061    virtual int webSpyHttpPort() const;
00062 
00064    virtual void setWebSpyRtiPort(int port);
00065 
00067    virtual int webSpyRtiPort() const;
00068 
00070    virtual void setLogFilename(const MAKRti::DtFilename& filename);
00071 
00073    virtual MAKRti::DtFilename logFilename() const;
00074 
00076    virtual void setNotifyLevel( DtNotifyLevelType level );
00077 
00079    virtual DtNotifyLevelType notifyLevel() const;
00080 
00082    virtual void printData() const;
00083 
00084 public:
00085 
00087    static DtAssistantMsg* create(const DtNetAssistantMsgHeader* initial,
00088       DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00089 
00090    static DtAssistantMsg* create(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
00091 
00094    static void addCallback(DtRtiAssistantServer* conn, DtAssistantWwwCompInfoCb cb, void* usr);
00095    static void removeCallback(DtRtiAssistantServer* conn, DtAssistantWwwCompInfoCb cb, void* usr);
00096 
00097 protected:
00098 
00100    virtual DtNetAssistantWwwCompInfoMsg* netAssistantWwwCompInfoMsg();
00101    virtual const DtNetAssistantWwwCompInfoMsg* netAssistantWwwCompInfoMsg() const;
00102 
00104    virtual DtAssistantMsgKind internalMsgKind();
00105 
00107    virtual int minSize() const;
00108 
00110    virtual void setLogFilenameSize( unsigned long size );
00111    virtual unsigned long logFilenameSize() const;
00112 
00114    virtual const char* logFilenamePtr() const;
00115    virtual char* logFilenamePtr();
00116 
00117 
00118 
00119 };
00120 
00121 #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)