Mercury Messaging
Documentation for the Mercury Messaging Framework
MercuryMessaging.MmTestManager Class Reference

Utility to allow for easy testing of an MmRelaySwitchNode & MmSwitchResponder. More...

Inheritance diagram for MercuryMessaging.MmTestManager:

Public Member Functions

virtual void Awake ()
 Registers callbacks for OnStart & gets handle to MmSwitchResponder attached to the same GameObject. More...
 
virtual void Start ()
 Empty Start - derived classes need to override. More...
 
virtual void TestSetup ()
 Once components are registered and in place, get the names of MmRelayNodes in the FSM. Also, get index of the current state in the FSM. More...
 
void MmStep (int step)
 Steps through the MmRelayNodes in FSM based on step size. More...
 

Public Attributes

MmRelaySwitchNode RootRelaySwitchNode
 Handle to control MmRelaySwitchNode. More...
 

Protected Attributes

List< string > nodeNames
 List of MmRelayNode names in FSM. More...
 

Detailed Description

Utility to allow for easy testing of an MmRelaySwitchNode & MmSwitchResponder.

Member Function Documentation

◆ Awake()

virtual void MercuryMessaging.MmTestManager.Awake ( )
virtual

Registers callbacks for OnStart & gets handle to MmSwitchResponder attached to the same GameObject.

◆ MmStep()

void MercuryMessaging.MmTestManager.MmStep ( int  step)

Steps through the MmRelayNodes in FSM based on step size.

Parameters
stepStep size.

◆ Start()

virtual void MercuryMessaging.MmTestManager.Start ( )
virtual

Empty Start - derived classes need to override.

◆ TestSetup()

virtual void MercuryMessaging.MmTestManager.TestSetup ( )
virtual

Once components are registered and in place, get the names of MmRelayNodes in the FSM. Also, get index of the current state in the FSM.

Member Data Documentation

◆ nodeNames

List<string> MercuryMessaging.MmTestManager.nodeNames
protected

List of MmRelayNode names in FSM.

◆ RootRelaySwitchNode

MmRelaySwitchNode MercuryMessaging.MmTestManager.RootRelaySwitchNode

Handle to control MmRelaySwitchNode.


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