VR-Forces 4.0.4 Class Documentation
include/vrfplan/stealthCommand.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2004 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: stealthCommand.h,v $ $Revision: 1.5 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00013 
00014 #ifndef stealthCommand_H_
00015 #define stealthCommand_H_
00016 
00017 #include "vrfplan/simCommand.h"
00018 #include "vrfutil/rwInt.h"
00019 #include "vrfutil/rwStringList.h"
00020 #include "vrfplan/vrfplanDefines.h"
00021 
00023 #include <vlpi/disEnums.h>
00024 #include <vl/globalObjDes.h>
00025 #include <vlutil/vlNetTypes.h>
00026 
00027 
00030 struct DtNetStealthCommand
00031 {
00032    DtNetU16 myNumEntities;   
00033    DtNetU16 myPadding1;      
00034    DtNetU32 myPadding2;      
00035 
00036 
00037 };
00038 
00041 class DT_DLL_vrfplan DtStealthCommand : public DtSimCommand
00042 {
00043 public:
00045    DtStealthCommand();
00046 
00048    DtStealthCommand(const DtString& writeName,
00049       DtReaderWriterRegistry* parentRegistry = NULL);
00050 
00052    DtStealthCommand(const DtString & writeName, const DtStealthCommand& orig,
00053       DtReaderWriterRegistry* parentRegistry = NULL);
00054 
00056    virtual ~DtStealthCommand();
00057 
00059    DtStealthCommand& operator=(const DtStealthCommand& orig);
00060 
00063    virtual void addAttachment(const DtString& entityName);
00064 
00066    virtual void setAttachToName(const DtString& entityName);
00067 
00069    virtual DtString attachToName() const;
00070 
00072    virtual const DtRwStringList& attachToList() const;
00073 
00075    virtual DtString stringRep() const;
00076 
00079    virtual int netRepSize() const;
00080 
00082    virtual bool setFromNet(const char* contentBuffer, 
00083       unsigned contentSize);
00084 
00087    virtual bool setToNet();
00088 
00089 protected:
00090    DtRwStringList myAttachments;
00091 };
00092 
00093 #endif

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)