ScummVM API documentation
MTropolis::VariableModifier Class Referenceabstract
Inheritance diagram for MTropolis::VariableModifier:
MTropolis::Modifier MTropolis::RuntimeObject MTropolis::IMessageConsumer MTropolis::Debuggable MTropolis::IInterfaceBase MTropolis::IDebuggable MTropolis::IInterfaceBase MTropolis::BooleanVariableModifier MTropolis::FloatingPointVariableModifier MTropolis::IntegerRangeVariableModifier MTropolis::IntegerVariableModifier MTropolis::ObjectReferenceVariableModifierV1 MTropolis::PointVariableModifier MTropolis::Standard::ListVariableModifier MTropolis::Standard::ObjectReferenceVariableModifier MTropolis::StringVariableModifier MTropolis::VectorVariableModifier

Public Member Functions

 VariableModifier (const Common::SharedPtr< VariableStorage > &storage)
 
 VariableModifier (const VariableModifier &other)
 
virtual bool isVariable () const override
 
virtual bool isListVariable () const
 
virtual Common::SharedPtr< ModifierSaveLoadgetSaveLoad (Runtime *runtime) override final
 
const Common::SharedPtr< VariableStorage > & getStorage () const
 
void setStorage (const Common::SharedPtr< VariableStorage > &storage)
 
virtual bool varSetValue (MiniscriptThread *thread, const DynamicValue &value)=0
 
virtual void varGetValue (DynamicValue &dest) const =0
 
bool readAttribute (MiniscriptThread *thread, DynamicValue &result, const Common::String &attrib) override
 
void disable (Runtime *runtime) override
 
virtual DynamicValueWriteProxy createWriteProxy ()
 
- Public Member Functions inherited from MTropolis::Modifier
MiniscriptInstructionOutcome writeRefAttribute (MiniscriptThread *thread, DynamicValueWriteProxy &writeProxy, const Common::String &attrib) override
 
void materialize (Runtime *runtime, ObjectLinkingScope *outerScope)
 
virtual bool isAlias () const
 
virtual bool isBehavior () const
 
virtual bool isCompoundVariable () const
 
virtual bool isKeyboardMessenger () const
 
bool isModifier () const override
 
virtual IModifierContainergetMessagePropagationContainer ()
 
virtual IModifierContainergetChildContainer ()
 
const Common::WeakPtr< RuntimeObject > & getParent () const
 
void setParent (const Common::WeakPtr< RuntimeObject > &parent)
 
ModifierfindNextSibling () const
 
ModifierfindPrevSibling () const
 
bool respondsToEvent (const Event &evt) const override
 
VThreadState consumeMessage (Runtime *runtime, const Common::SharedPtr< MessageProperties > &msg) override
 
void setName (const Common::String &name)
 
const Common::StringgetName () const
 
const ModifierFlagsgetModifierFlags () const
 
virtual Common::SharedPtr< ModifiershallowClone () const =0
 
virtual const char * getDefaultName () const =0
 
virtual void visitInternalReferences (IStructuralReferenceVisitor *visitor)
 
bool loadPlugInHeader (const PlugInModifierLoaderContext &plugInContext)
 
void recursiveCollectObjectsMatchingCriteria (Common::Array< Common::WeakPtr< RuntimeObject > > &results, bool(*evalFunc)(void *userData, RuntimeObject *object), void *userData, bool onlyEnabled)
 
StructuralfindStructuralOwner () const
 
void setHooks (const Common::SharedPtr< ModifierHooks > &hooks)
 
const Common::SharedPtr< ModifierHooks > & getHooks () const
 
- Public Member Functions inherited from MTropolis::RuntimeObject
uint32 getStaticGUID () const
 
uint32 getRuntimeGUID () const
 
void setRuntimeGUID (uint32 runtimeGUID)
 
void setSelfReference (const Common::WeakPtr< RuntimeObject > &selfReference)
 
const Common::WeakPtr< RuntimeObject > & getSelfReference () const
 
virtual bool isStructural () const
 
virtual bool isProject () const
 
virtual bool isSection () const
 
virtual bool isSubsection () const
 
virtual bool isElement () const
 
virtual bool readAttributeIndexed (MiniscriptThread *thread, DynamicValue &result, const Common::String &attrib, const DynamicValue &index)
 
virtual MiniscriptInstructionOutcome writeRefAttributeIndexed (MiniscriptThread *thread, DynamicValueWriteProxy &result, const Common::String &attrib, const DynamicValue &index)
 
- Public Member Functions inherited from MTropolis::Debuggable
 Debuggable (const Debuggable &other)
 
 Debuggable (Debuggable &&other)
 
- Public Member Functions inherited from MTropolis::IDebuggable
virtual SupportStatus debugGetSupportStatus () const =0
 
virtual const char * debugGetTypeName () const =0
 
virtual const Common::StringdebugGetName () const =0
 
virtual void debugInspect (IDebugInspectionReport *report) const =0
 

Protected Attributes

Common::SharedPtr< VariableStorage_storage
 
- Protected Attributes inherited from MTropolis::Modifier
Common::String _name
 
ModifierFlags _modifierFlags
 
Common::WeakPtr< RuntimeObject_parent
 
Common::SharedPtr< ModifierHooks_hooks
 
- Protected Attributes inherited from MTropolis::RuntimeObject
uint32 _guid
 
uint32 _runtimeGUID
 
Common::WeakPtr< RuntimeObject_selfReference
 

Additional Inherited Members

- Protected Member Functions inherited from MTropolis::Modifier
bool loadTypicalHeader (const Data::TypicalModifierHeader &typicalHeader)
 
virtual void linkInternalReferences (ObjectLinkingScope *scope)
 
- Protected Member Functions inherited from MTropolis::RuntimeObject
MiniscriptInstructionOutcome scriptSetClone (MiniscriptThread *thread, const DynamicValue &value)
 
MiniscriptInstructionOutcome scriptSetKill (MiniscriptThread *thread, const DynamicValue &value)
 
MiniscriptInstructionOutcome scriptSetParent (MiniscriptThread *thread, const DynamicValue &value)
 

The documentation for this class was generated from the following file: