|
override void | Awake () |
| Converts the standard MmRoutingTable into a FSM. Calls MmOnAwakeComplete through MmResponder Awake. More...
|
|
override void | Start () |
| Calls MmOnStartComplete through MmResponder Start. More...
|
|
virtual void | JumpTo (string newState) |
| FSM control method: Jump to State, using MmRoutingTableItem name. More...
|
|
virtual void | JumpTo (MmRelayNode newState) |
| FSM control method: Jump to State, using MmRoutingTableItem Responder reference. More...
|
|
| MmRelayNode () |
| Creates an empty MmResponder list on construction. More...
|
|
virtual MmRoutingTableItem | MmAddToRoutingTable (MmResponder mmResponder, MmLevelFilter level) |
| Add an MmResponder to the MmRoutingTable, with level designation. More...
|
|
virtual MmRoutingTableItem | MmAddToRoutingTable (MmResponder mmResponder, string newName) |
| Add an MmResponder to the MmRoutingTable, with level designation. More...
|
|
void | MmRefreshResponders () |
| Grab all MmResponders attached to the same GameObject. Does not grab any other MmRelayNodes attached to the same GameObject. More...
|
|
void | RefreshParents () |
| Iterates through RoutingTable list and assigns this MmRelayNode as a parent to child MmResponders. More...
|
|
virtual void | MmAddNodeToList (GameObject go) |
| Given a GameObject, extract an MmRelayNode if present and add it to this MmRelayNode's Responder list. More...
|
|
virtual void | AddParent (MmRelayNode parent) |
| Given an MmRelayNode, add it as parent to this instance's MmRoutingTable. More...
|
|
override void | MmInvoke (MmMessageType msgType, MmMessage message) |
| Invoke an MmMethod. More...
|
|
virtual void | MmInvoke (MmMethod mmMethod, MmMetadataBlock metadataBlock=null) |
| Invoke an MmMethod with no parameter. More...
|
|
virtual void | MmInvoke (MmMethod mmMethod, bool param, MmMetadataBlock metadataBlock=null) |
| Invoke an MmMethod with parameter: bool. More...
|
|
virtual void | MmInvoke (MmMethod mmMethod, int param, MmMetadataBlock metadataBlock=null) |
| Invoke an MmMethod with parameter: int. More...
|
|
virtual void | MmInvoke (MmMethod mmMethod, float param, MmMetadataBlock metadataBlock=null) |
| Invoke an MmMethod with parameter: float. More...
|
|
virtual void | MmInvoke (MmMethod mmMethod, Vector3 param, MmMetadataBlock metadataBlock=null) |
| Invoke an MmMethod with parameter: Vector3.
More...
|
|
virtual void | MmInvoke (MmMethod mmMethod, Vector4 param, MmMetadataBlock metadataBlock=null) |
| Invoke an MmMethod with parameter: Vector4.
More...
|
|
virtual void | MmInvoke (MmMethod mmMethod, string param, MmMetadataBlock metadataBlock=null) |
| Invoke an MmMethod with parameter: string. More...
|
|
virtual void | MmInvoke (MmMethod mmMethod, byte[] param, MmMetadataBlock metadataBlock=null) |
| Invoke an MmMethod with parameter: byte array.
More...
|
|
virtual void | MmInvoke (MmMethod mmMethod, MmTransform param, MmMetadataBlock metadataBlock=null) |
| Invoke an MmMethod with parameter: MmTransform. More...
|
|
virtual void | MmInvoke (MmMethod mmMethod, List< MmTransform > param, MmMetadataBlock metadataBlock=null) |
| Invoke an MmMethod with parameter: List<MmTransform>. More...
|
|
virtual void | MmInvoke (MmMethod mmMethod, IMmSerializable param, MmMetadataBlock metadataBlock=null) |
| Invoke an MmMethod with parameter: IMmSerializable. More...
|
|
override MmRelayNode | GetRelayNode () |
| Implementation of IMmResponder's GetRelayNode, which returns this. More...
|
|
virtual void | Update () |
| Base Update of MmResponder Derived classes should always override. More...
|
|
virtual void | MmOnAwakeComplete () |
| Post Awake callback used between objects implementing this interface. This allows for initialization steps that must occur before one instance's Awake and its Start. More...
|
|
virtual void | MmOnStartComplete () |
| Post Start callback used between objects implementing this interface This allows for initialization steps that must occur before one instance's Start and its first Update. More...
|
|
virtual void | MmRegisterAwakeCompleteCallback (IMmCallback callback) |
| It is possible that certain handles are not going to be in-place when registration of the OnAwakeComplete callback is invoked. The is especially true in scenarios where MmRelayNodes are networked. This allows for a deferred registration, eliminating most instances where the Awake callback invocations fail. More...
|
|
virtual void | MmRegisterStartCompleteCallback (IMmCallback callback) |
| It is possible that certain handles are not going to be in-place when registration of the OnStartComplete callback is invoked. The is especially true in scenarios where MmRelayNodes are networked. This allows for a deferred registration, eliminating most instances where the Start callback invocations fail. More...
|
|
|
override bool | SelectedCheck (MmSelectedFilter selectedFilter, IMmResponder responder) |
| Overrides MmRelayNode's Selected check to handle the FSM's current state. More...
|
|
void | InitializeNode () |
|
virtual MmLevelFilter | LevelFilterAdjust (ref MmMessage message, MmLevelFilter direction) |
| If the level filter is designated 'Child', then it is recorded locally, but converted to a 'Child+Self' for use by the RoutingTable (which need to pass the message on to all children, but still need to be able to execute the message on their own responders, otherwise, it just goes to the terminal points of the graph without ever executing). More...
|
|
virtual MmActiveFilter | ActiveFilterAdjust (ref MmMessage message) |
| Allows modification of active filter in message as it gets passed between MmRelayNodes. More...
|
|
virtual MmSelectedFilter | SelectedFilterAdjust (ref MmMessage message) |
| Allows modification of selected filter in message as it gets passed between MmRelayNodes. More...
|
|
virtual MmNetworkFilter | NetworkFilterAdjust (ref MmMessage message) |
| Allows modification of network filter in message as it gets passed between MmRelayNodes. More...
|
|
virtual bool | ResponderCheck (MmLevelFilter levelFilter, MmActiveFilter activeFilter, MmSelectedFilter selectedFilter, MmNetworkFilter networkFilter, MmRoutingTableItem mmRoutingTableItem, MmMessage message) |
| This method determines if a particular MmResponder should receive a message via MmInvoke. This performs 4 checks: Tag Check, Level Check, Active Check, & Selected Check. More...
|
|
virtual bool | TagCheck (MmRoutingTableItem mmRoutingTableItem, MmMessage message) |
| Determine if MmResponder passes MmRelayNode tag filter check using value embedded in MmMessage. More...
|
|
virtual bool | LevelCheck (MmLevelFilter levelFilter, IMmResponder responder, MmLevelFilter responderLevel) |
| Determine if MmResponder passes MmRelayNode level filter check using value embedded in MmMessage. More...
|
|
virtual bool | ActiveCheck (MmActiveFilter activeFilter, IMmResponder responder) |
| Determine if MmResponder passes MmRelayNode active filter check using value embedded in MmMessage. More...
|
|
virtual bool | NetworkCheck (MmRoutingTableItem mmRoutingTableItem, MmMessage message) |
| Checks if a responder should recieve a message based on the network flag in a control block. Network messages can go to other nodes, but not to self responders. More...
|
|
an MmRelayNode with an FSM to allow for limited MmResponder selection in the MmRelayNode's MmRoutingTable.