CommandPattern 1.0.0
This package contains a collection of classes and interfaces to allow for quick and consistent implementation of the command pattern across projects.
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 123]
 NSadSapphicGames
 NCommandPattern
 CAlreadyRunningExceptionThis exception indicates an AsyncCommand was executed but its task had yet to complete. Only one CommandTask per instance can be running at a time. Handled by CommandStream.
 CAsyncCommandThe base class of all commands who's execute method involves asynchronous tasks
 CCommandThe base class of all commands
 CCommandStreamThis is the object that stores commands to be invoked and executes them when told to by the client. It has no knowledge of the implementation of commands beyond their interfaces.
 CCompositeCommandA Command that is composed of multiple child commands, all of which are executed together and leave one record in the CommandStream's history. <remark> For more information on this type of object seek external documentation on the composite design pattern </remark>
 CIAsyncCommandThis Interface of the AsyncCommand abstract class, It is strongly recommended you use the AsyncCommand class rather than implement this yourself unless you are very familiar with asynchronous programming
 CICommandThis is the Interface of the Command abstract class, unless you are defining your own base type for commands you should probably inherit from Command over this
 CIFailableInterface implemented by commands that could fail to execute. Commands that would fail do not have their execute method invoked and are not recorded in the CommandStream's history
 CIrreversibleCompositeFailureExceptionAn exception that indicates a CompositeCommand is executed but one of its children failed and the composite cannot undo its executed commands
 CIUndoableIndicates a command can be undone
 CNullCommandA Command that does nothing
 CNullCompositeCommandLike the NullCommand this is a composite command that does nothing, multiple times.
 CReversibleCompositeFailureExceptionAn exception that indicates a CompositeCommand is executed but one of its children failed, however the composite was able to undo the commands it had executed
 CSimpleCompositeA CompositeCommand created from a collection of Command's that cannot fail
 CSingletonCommandManagerA singleton manager for a single-stream, out of the box implementation of the Command pattern. Once you understand how the package works it is highly recommended create your own CommandStream wrapper tailored to the needs of your project. Executes the next command in the CommandStream every frame.