VR-Forces 4.0.4 Class Documentation
include/vrftasks/setSpotReportingRequest.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2006 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: setSpotReportingRequest.h,v $ $Revision: 1.3 $ $State: Exp $
00007 ** Created : 8/9/06 MEM
00008 *******************************************************************************/
00009 
00012 
00018 
00019 
00020 #ifndef setSpotReportingRequest_H_
00021 #define setSpotReportingRequest_H_
00022 
00023 
00024 #include "vrftasks/setDataReq.h"
00025 #include "vrfutil/rwBoolean.h"
00026 #include <vlpi/NetStructs.h>
00027 
00028 
00029 
00032 struct DtNetSetSpotReportingRequest
00033 {
00034    DtNetBoolean mySpotReportingOn;
00035    DtNetBoolean myGlobalEnabledOverridingLocal;
00036 };
00037 
00042 #include "vrftasks/vrftasksDefines.h"
00043 class DT_DLL_vrftasks DtSetSpotReportingRequest : public DtSetDataRequest
00044 {
00045 
00046 public:
00047 
00049    DtSetSpotReportingRequest();
00050 
00053    DtSetSpotReportingRequest(const DtString & writeName, 
00054       DtReaderWriterRegistry * parentRegistry = 0);
00055 
00057    DtSetSpotReportingRequest(const DtString & writeName, const DtSetSpotReportingRequest &
00058       orig, DtReaderWriterRegistry * parentRegistry = 0);
00059 
00061    const DtSetSpotReportingRequest & operator=(const DtSetSpotReportingRequest & orig);
00062 
00063    virtual ~DtSetSpotReportingRequest();
00064 
00066    virtual int type() const;
00067 
00069    virtual DtSetDataRequest * clone(const DtString & name, 
00070       DtReaderWriterRegistry * parentRegistry = 0) const;
00071 
00073    virtual DtString stringRep() const;
00074 
00079    virtual bool spotReporting() const;
00080    virtual void setSpotReporting(bool spot);
00082 
00088    virtual bool globalEnabledOverridingLocal() const;
00089    virtual void setGlobalEnabledOverridingLocal(bool globalOverride);
00091    
00094    virtual int netRepSize() const;
00095 
00097    virtual bool setFromNet(const char* contentBuffer, 
00098       unsigned contentSize);
00099 
00102    virtual bool setToNet();
00103 
00104    static DtSetDataRequest * creator();
00105 
00106 protected:
00107 
00108    DtRwBoolean mySpotReportingOn;
00109    DtRwBoolean myGlobalEnabledOverridingLocal;
00110 };
00111 
00112 
00113 #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)