33 typedef void (*DtScriptPSRScenarioSaveLoadFcn)(
void*);
38 const DtString& rwName = DtString::nullString(),
43 const DtString& rwName = DtString::nullString(),
54 const DtString& rwName = DtString::nullString(),
65 virtual void putSelf(std::string& fp,
int indentLevel,
bool writeUnspecified,
const DtFilename& path);
72 virtual const std::map<int, std::list<DtSimTaskMessageType> >& priorityMap()
const;
73 virtual void updateAllPriorities();
80 virtual void removeReactiveTaskEntry(
const DtSimTaskMessageType& scriptId,
bool deleteEntry =
true);
82 virtual const std::map<DtSimTaskMessageType, DtRwScriptReactiveTaskEntry*>& reactiveTaskEntryMap()
const;
84 virtual void addActionCategories(
const std::set<DtString>& actionCategories);
85 virtual int currentReactionLevel(
const std::set<DtString>& actionCategories)
const;
86 virtual void updateReactionLevels(
const std::set<DtString>& actionCategories);
87 virtual void updateAllReactionLevels();
89 virtual void sweepMarkedForDeletion();
96 bool doCategoriesOverlap(
const std::set<DtString>& firstSet,
const std::set<DtString>& secondSet, std::set<DtString>& overlap)
const;
Definition: readerWriterRegistry.h:39
std::map< int, std::list< DtSimTaskMessageType > > myPriorityMap
Definition: scriptReactiveTaskControllerPSR.h:103
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
DtRwTemplatedListPtr< DtRwScriptReactiveTaskEntry, false > myReactiveTasks
Definition: scriptReactiveTaskControllerPSR.h:99
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
virtual void putSelf(std::string &fp, int indentLevel=0, bool writeUnspecified=false, const DtFilename &path=DtFilename::nullFilename())
Top level call to write itself to file. If write unspecified is true, will write entries that are uns...
DtRwUserQuestionHandler myUserQuestionHandler
Definition: scriptReactiveTaskControllerPSR.h:106
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories. Process state repositories represent (potentially) shared, savable information for one or more components functioning together to achieve some process or set of processes; such as aiming and firing a weapon; moving an object; or just waiting a specified amount of time.
Definition: vrfProcessStateRepository.h:45
std::map< DtSimTaskMessageType, DtRwScriptReactiveTaskEntry * > myReactiveTaskEntryMap
Fast access only, though state will be saved through members above these.
Definition: scriptReactiveTaskControllerPSR.h:102
virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)
Top level to read itself from an input stream. searchPath is passed down to all DtReaderWriter member...
Definition: scriptReactiveTaskControllerPSR.h:30
Definition: rwScriptReactiveTaskEntry.h:21
Process Helper class to handle user questions.
Definition: rwUserQuestionHandler.h:17
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
std::map< DtString, int > myCategoryReactionLevelMap
Definition: scriptReactiveTaskControllerPSR.h:104
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86