![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: ifSwitchSystemResponse.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 ** Created: 5/20/10 MEM 00008 *******************************************************************************/ 00009 00012 00018 00019 00020 #pragma once 00021 00022 #include "vrfmsgs/ifServerRequestResponse.h" 00023 00025 00028 #include "vrfmsgs/vrfmsgsDefines.h" 00029 00030 class DT_DLL_vrfmsgs DtIfSwitchSystemResponse : public DtIfServerRequestResponse 00031 { 00032 00033 public: 00035 DtIfSwitchSystemResponse(); 00036 00038 DtIfSwitchSystemResponse(const DtIfSwitchSystemResponse & orig); 00039 00041 const DtIfSwitchSystemResponse & operator=(const DtIfSwitchSystemResponse & orig); 00042 00043 virtual ~DtIfSwitchSystemResponse(); 00044 00045 virtual int type() const; 00046 00047 virtual DtSimInterfaceContent * clone() const; 00048 00049 virtual int netRepSize() const; 00050 virtual bool setFromNet(const char* contentBuffer, 00051 unsigned contentSize); 00052 virtual bool setToNet(); 00053 00054 static DtSimInterfaceContent* creator(); 00055 00057 virtual void setSucess(bool suc); 00058 virtual bool sucess() const; 00059 00061 virtual void setSendingEntityName(const DtString & name); 00062 virtual const DtString & sendingEntityName() const; 00063 00064 00065 protected: 00066 bool mySwitchSucess; 00067 DtString myEntityName; 00068 }; 00069