![]() |
Mercury Messaging
Documentation for the Mercury Messaging Framework
|
This class is useful for creating MmTaskInfos that keep repeating but would not iterate through the a MmTaskInfo collection. More...
Public Member Functions | |
MmRepeatingTask () | |
Create empty MmRepeatingTask More... | |
MmRepeatingTask (List< string > labels) | |
Create MmRepeatingTask with provided labels. More... | |
void | IterateRepeatingTask () |
Iterate through the names in the FreeModeNames. More... | |
Public Attributes | |
List< string > | FreeModeNames |
MmRepeatingTasks will iterate through a list of names. The active name will be stored in Task More... | |
bool | ShuffleLabels = true |
If active, this object will shuffle the provided FreeModeNames. More... | |
int | FreeModeVizRepeats = 3 |
The number of repetitions given to a particular name, before the next name in the FreeModeNames list is selected. More... | |
int | FreeModeVizRepeatIndex = 0 |
Counter for iterating through reptitions. More... | |
T | Task |
The particular task that is being reused. You can take a task from a file, or create a new one, store it here, and simply replace the name stored in the task to change its behavior as the MmRepeatingTask iterates. More... | |
Protected Attributes | |
int | FreeModeIndex |
The name of the active FreeModeNames will be at this index. More... | |
This class is useful for creating MmTaskInfos that keep repeating but would not iterate through the a MmTaskInfo collection.
T | Specific type of MmTaskInfo to use in this repeating task. |
T | : | MmTaskInfo | |
T | : | new() |
Create empty MmRepeatingTask
MercuryMessaging.Task.MmRepeatingTask< T >.MmRepeatingTask | ( | List< string > | labels | ) |
Create MmRepeatingTask with provided labels.
labels | A list of the names of MmResponders to use for this repeating task. |
void MercuryMessaging.Task.MmRepeatingTask< T >.IterateRepeatingTask | ( | ) |
Iterate through the names in the FreeModeNames.
|
protected |
The name of the active FreeModeNames will be at this index.
List<string> MercuryMessaging.Task.MmRepeatingTask< T >.FreeModeNames |
MmRepeatingTasks will iterate through a list of names. The active name will be stored in Task
int MercuryMessaging.Task.MmRepeatingTask< T >.FreeModeVizRepeatIndex = 0 |
Counter for iterating through reptitions.
int MercuryMessaging.Task.MmRepeatingTask< T >.FreeModeVizRepeats = 3 |
The number of repetitions given to a particular name, before the next name in the FreeModeNames list is selected.
bool MercuryMessaging.Task.MmRepeatingTask< T >.ShuffleLabels = true |
If active, this object will shuffle the provided FreeModeNames.
T MercuryMessaging.Task.MmRepeatingTask< T >.Task |
The particular task that is being reused. You can take a task from a file, or create a new one, store it here, and simply replace the name stored in the task to change its behavior as the MmRepeatingTask iterates.