VR-Forces 4.0.4 Class Documentation
include/vrfmsgs/ifJoyDevReq.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2000 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: ifJoyDevReq.h,v $ $Revision: 1.13 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DtIfJoyDeviceRequest_H_
00013 #define DtIfJoyDeviceRequest_H_
00014 
00015 #include <vrfExtProtocol/ifaceCont.h>
00016 #include "vrfutil/rwString.h"
00017 #include <vlutil/vlNetTypes.h>
00018 
00021 
00022 
00025 struct DtNetIfJoyDeviceRequest
00026 {
00027    DtNetBoolean myIsEnabled;                      
00028 };
00029 
00030 #include "vrfmsgs/vrfmsgsDefines.h"
00031 class DT_DLL_vrfmsgs DtIfJoyDeviceRequest : public DtSimInterfaceContent
00032 {
00033 public:
00034 
00036    DtIfJoyDeviceRequest();
00037 
00039    virtual ~DtIfJoyDeviceRequest();
00040 
00042    DtIfJoyDeviceRequest(const DtIfJoyDeviceRequest& orig);
00043 
00045    DtIfJoyDeviceRequest& operator=(const DtIfJoyDeviceRequest& orig);
00046 
00048    virtual int type() const;
00049 
00050    virtual DtSimInterfaceContent * clone() const;
00051 
00052    virtual void setName(const DtString & name);
00053    virtual const DtString & name()const;
00054 
00055    virtual void setIsEnabled(bool enabled);
00056    virtual bool isEnabled()const;
00057 
00058    virtual int netRepSize() const;
00059    virtual bool setFromNet(const char* contentBuffer, 
00060       unsigned contentSize);
00061    virtual bool setToNet();
00062 
00063    virtual void printDataToString(DtString& str);
00064 
00065    static DtSimInterfaceContent* creator();
00066 
00067 protected:
00068 
00069    DtString          myName;
00070    bool         myIsEnabled;
00071 };
00072 
00073 #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)