VR-Forces 4.0.4 Class Documentation
include/bhaveMsgs/ifUpdateSpawnTemplate.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2012 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00006 #pragma once
00007 
00008 #include <vrfExtProtocol/ifaceCont.h>
00009 #include "vrfmsgs/rwSpawnData.h"
00010 #include "bhaveMsgs/bhaveMsgsDefines.h"
00011 
00012 
00013 namespace BHAVE
00014 {
00018    class DT_DLL_bhaveMsgs DtIfUpdateSpawnTemplate : 
00019       public DtSimInterfaceContent
00020    {
00021 
00022    public:
00023 
00025       DtIfUpdateSpawnTemplate();
00026 
00028       DtIfUpdateSpawnTemplate(const DtIfUpdateSpawnTemplate & orig);
00029 
00031       static DtSimInterfaceContent* creator();
00032 
00034       const DtIfUpdateSpawnTemplate & operator=(
00035          const DtIfUpdateSpawnTemplate & orig);
00036 
00038       virtual ~DtIfUpdateSpawnTemplate();
00039 
00041       virtual int type() const;
00042 
00044       virtual DtSimInterfaceContent * clone() const;
00045 
00052       virtual const DtString& templateName();
00053       virtual void setTemplateName(const DtString& name);
00055 
00058       virtual const DtRwSpawnData& spawnData();
00059       virtual void setSpawnData(const DtRwSpawnData& spawnData);
00061 
00065       virtual const bool doUpdateSpawnPointNames();
00066       virtual void setDoUpdateSpawnPointNames(const bool doUpdate);
00068 
00070       virtual int netRepSize() const;
00071 
00073       virtual bool setFromNet(const char* contentBuffer, unsigned contentSize);
00074 
00076       virtual bool setToNet();
00077 
00079       virtual void printDataToString(DtString& str);
00080 
00081    protected:
00082       DtString myTemplateName;
00083       DtRwSpawnData mySpawnData;
00084       bool myDoUpdateSpawnPointNames;
00085    };
00086 
00087 } 

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)