VR-Forces 4.0.4 Class Documentation
include/vrfobjparam/emtrCmpDesc.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: emtrCmpDesc.h,v $ $Revision: 1.10 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00014 
00015 #ifndef DtEmitterComponentDescriptor_H_
00016 #define DtEmitterComponentDescriptor_H_
00017 
00018 #include "vrfobjparam/compDesc.h"
00019 #include "vrfutil/rwInt.h"
00020 #include "vrfutil/rwVector.h"
00021 #include "vrfutil/rwReal.h"
00022 #include "vrfutil/rwBoolean.h"
00023 #include "vrfobjparam/emtrBeamLst.h"
00024 #include "vrfobjparam/emtrSystemEntry.h"
00025 
00026 class DtReaderWriterRegistry;
00027 
00033 #include "vrfobjparam/vrfobjparamDefines.h"
00034 class DT_DLL_vrfobjparam DtEmitterComponentDescriptor : public DtComponentDescriptor
00035 {
00036 public:
00038    DtEmitterComponentDescriptor(const DtString& name, 
00039       DtReaderWriterRegistry* parentRegistry = NULL);
00040    DtEmitterComponentDescriptor(const DtSymbolString& name, 
00041       DtReaderWriterRegistry* parentRegistry = NULL);
00042    
00044    DtEmitterComponentDescriptor(const DtEmitterComponentDescriptor& orig, 
00045       DtReaderWriterRegistry* parentRegistry = NULL);
00046    
00048    DtEmitterComponentDescriptor& operator=(const 
00049       DtEmitterComponentDescriptor& orig);
00050    
00052    virtual ~DtEmitterComponentDescriptor();
00053 
00056    virtual DtString type() const;
00057 
00058    virtual DtComponentDescriptor* clone(
00059    DtReaderWriterRegistry* parentRegistry = NULL) const;
00060 
00062    static DtComponentDescriptor* creator();
00063 
00066    virtual DtVector mountLocation() const;
00067    virtual void setMountLocation(const DtVector &location);
00069 
00072    virtual bool targetingCapable() const;
00073    virtual void setTargetingCapable(bool onOff);
00075    
00078    virtual bool on() const;
00079    virtual void setOn(bool onOff);
00081 
00084    virtual DtEmitterSystemEntry& emitterSystem();
00085    virtual const DtEmitterSystemEntry& emitterSystem() const;
00087 
00088 protected:
00092 
00097    DtRwVector  myMountLocation;
00098 
00103    DtRwBoolean myTargetingCapable;
00104 
00108    DtRwBoolean myOn;
00109 
00112    DtEmitterSystemEntry myEmitterSystemEntry;
00113 
00115 
00116 };
00117 
00118 #endif
00119 
00120 
00121 

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)