VR-Forces 4.0.4 Class Documentation
include/vrfLua/scriptPSR.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 
00006 #pragma once
00007 
00008 #include <vrfLua/vrfLuaDefines.h>
00009 
00010 #include <vrfobjcore/processSR.h>
00011 #include <vrfutil/rwString.h>
00012 #include <vrfutil/rwInt.h>
00013 #include <vrfutil/rwReal.h>
00014 #include <vrfutil/rwVector.h>
00015 #include <vrfutil/rwBoolean.h>
00016 
00017 namespace vrfLua
00018 {
00019 const char DtScriptPSRType[] = "script-psr-type";
00020 
00022 class DT_DLL_vrfLua DtScriptPSR : public DtVrfProcessStateRepository
00023 {
00024 public:
00025 
00027    DtScriptPSR(DtVrfObject* vrfObject, 
00028       const DtString& rwName = DtString::nullString(), 
00029       DtReaderWriterRegistry*  parentRegistry = 0);
00030 
00032    DtScriptPSR(const DtScriptPSR& orig,
00033       const DtString& rwName = DtString::nullString(), 
00034       DtReaderWriterRegistry*  parentRegistry = 0);
00035 
00037    virtual ~DtScriptPSR();
00038 
00040    DtScriptPSR& operator=(const DtScriptPSR& orig);
00041 
00043    virtual DtVrfProcessStateRepository* clone(
00044       const DtString& rwName = DtString::nullString(), 
00045       DtReaderWriterRegistry*  parentRegistry = 0) const;
00046 
00048    virtual DtString type() const;
00049 
00051 
00052    virtual DtString luaScriptName() const;
00053    virtual void setLuaScriptName(const DtString& val);
00055 
00057 
00058    virtual DtString luaScriptState() const;
00059    virtual void setLuaScriptState(const DtString& state);
00061 
00063    virtual bool luaCreated() const;
00064    virtual void setLuaCreated(bool state);
00065 
00066    virtual void getSelf(DtlObjPtr args, const DtFilename& searchPath, const DtVariableBindingsList& variableBindings);
00067 
00068 public:
00069 
00071    static DtVrfProcessStateRepository* creator (const DtString& rwName,
00072       DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
00073 
00074 protected:
00075    DtRwString myLuaScriptName;
00076    DtRwString myLuaScriptState;   
00077    DtRwBoolean myLuaCreated;
00078 
00079 };
00080 }

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)