StrangeIoC  0.6.0
The IoC/Binding Framework for Unity3D and C#
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Public Member Functions | Protected Member Functions | List of all members
strange.extensions.sequencer.impl.Sequencer Class Reference
Inheritance diagram for strange.extensions.sequencer.impl.Sequencer:
strange.extensions.command.impl.CommandBinder strange.extensions.sequencer.api.ISequencer strange.extensions.dispatcher.api.ITriggerable strange.framework.impl.Binder strange.extensions.command.api.ICommandBinder strange.extensions.command.api.IPooledCommandBinder strange.extensions.dispatcher.api.ITriggerable strange.extensions.command.api.ICommandBinder strange.framework.api.IBinder strange.framework.api.IBinder strange.framework.api.IBinder strange.extensions.sequencer.impl.EventSequencer

Public Member Functions

override IBinding GetRawBinding ()
 Generate an unpopulated IBinding in whatever concrete form the Binder dictates.
 
override void ReactTo (object key, object data)
 Trigger a key that unlocks one or more Commands and provide a data injection to that Command.
 
void ReleaseCommand (ISequenceCommand command)
 Release a previously retained SequenceCommand. More...
 
new virtual ISequenceBinding Bind< T > ()
 Bind a trigger Key by generic Type.
 
new virtual ISequenceBinding Bind (object value)
 Bind a trigger Key by value.
 
- Public Member Functions inherited from strange.extensions.command.impl.CommandBinder
virtual void ReactTo (object trigger)
 Trigger a key that unlocks one or more Commands.
 
virtual void Stop (object key)
 Called to halt execution of a currently running command group.
 
virtual void ReleaseCommand (ICommand command)
 Release a previously retained Command. More...
 
Pool< T > GetPool< T > ()
 Retrieve the Pool of the specified type.
 
bool Trigger< T > (object data)
 Cause this ITriggerable to access any provided Key in its Binder by the provided generic and data. More...
 
bool Trigger (object key, object data)
 Cause this ITriggerable to access any provided Key in its Binder by the provided key and data. More...
 
new virtual ICommandBinding GetBinding< T > ()
 Retrieve a binding based on the provided Type.
 
- Public Member Functions inherited from strange.framework.impl.Binder
delegate void BindingResolver (IBinding binding)
 A handler for resolving the nature of a binding during chained commands.
 
virtual IBinding GetBinding (object key)
 Retrieve a binding based on the provided object.
 
virtual IBinding GetBinding< T > (object name)
 Retrieve a binding based on the provided Key (generic)/Name combo.
 
virtual IBinding GetBinding (object key, object name)
 Retrieve a binding based on the provided Key/Name combo.
 
virtual void Unbind< T > ()
 Remove a binding based on the provided Key (generic)
 
virtual void Unbind (object key)
 Remove a binding based on the provided Key.
 
virtual void Unbind< T > (object name)
 Remove a binding based on the provided Key (generic) / Name combo.
 
virtual void Unbind (object key, object name)
 Remove a binding based on the provided Key / Name combo.
 
virtual void Unbind (IBinding binding)
 Remove the provided binding from the Binder.
 
virtual void RemoveValue (IBinding binding, object value)
 Remove a select value from the given binding.
 
virtual void RemoveKey (IBinding binding, object key)
 Remove a select key from the given binding.
 
virtual void RemoveName (IBinding binding, object name)
 Remove a select name from the given binding.
 
virtual void ResolveBinding (IBinding binding, object key)
 This method places individual Bindings into the bindings Dictionary as part of the resolving process. More...
 
virtual void OnRemove ()
 The Binder is being removed Override this method to clean up remaining bindings.
 

Protected Member Functions

virtual new ISequenceCommand createCommand (object cmd, object data)
 Instantiate and Inject the ISequenceCommand.
 
- Protected Member Functions inherited from strange.extensions.command.impl.CommandBinder
void next (ICommandBinding binding, object data, int depth)
 
virtual void disposeOfSequencedData (object data)
 
virtual ICommand invokeCommand (Type cmd, ICommandBinding binding, object data, int depth)
 
ICommand getCommand (Type type)
 
void trackCommand (ICommand command, ICommandBinding binding)
 
void executeCommand (ICommand command)
 
override void resolver (IBinding binding)
 The default handler for resolving bindings during chained commands.
 
virtual Pool makePoolFromType (Type type)
 
- Protected Member Functions inherited from strange.framework.impl.Binder
void registerNameConflict (object key, IBinding newBinding, IBinding existingBinding)
 Take note of bindings that are in conflict. More...
 
bool isConflictCleared (Dictionary< IBinding, object > dict, IBinding binding)
 Returns true if the provided binding and the binding in the dict are no longer conflicting.
 
void clearConflict (object key, object name, Dictionary< IBinding, object > dict)
 
T[] spliceValueAt< T > (int splicePos, object[] objectValue)
 
object[] spliceValueAt (int splicePos, object[] objectValue)
 Remove the item at splicePos from the list objectValue.
 

Additional Inherited Members

- Protected Attributes inherited from strange.extensions.command.impl.CommandBinder
Dictionary< Type, Poolpools = new Dictionary<Type, Pool> ()
 
HashSet< ICommandactiveCommands = new HashSet<ICommand>()
 Tracker for parallel commands in progress.
 
Dictionary< ICommand,
ICommandBinding
activeSequences = new Dictionary<ICommand, ICommandBinding> ()
 Tracker for sequences in progress.
 
- Properties inherited from strange.extensions.command.impl.CommandBinder
IInjectionBinder injectionBinder [get, set]
 
bool usePooling [get, set]
 

Detailed Description

Deprecated:

Member Function Documentation

void strange.extensions.sequencer.impl.Sequencer.ReleaseCommand ( ISequenceCommand  command)
inline

Release a previously retained SequenceCommand.

By default, a Command is garbage collected at the end of its Execute() method. But the Command can be retained for asynchronous calls.

Implements strange.extensions.sequencer.api.ISequencer.


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