A collection of tactors to be commanded with the same command simultaneously. More...
#include <SimplePattern.h>
Public Member Functions | |
SimplePattern (string command) | |
SimplePattern (const SimplePattern &other) | |
SimplePattern & | operator= (const SimplePattern &other) |
void | addTactor (string tactorName) |
string | getCommand () |
vector< string > | getTactors () |
A collection of tactors to be commanded with the same command simultaneously.
SimplePattern::SimplePattern | ( | string | command | ) |
A constructor that sets the command to be executed on this simplePattern
command | the command to be executed on the tactors in this simplePattern |
void SimplePattern::addTactor | ( | string | tactorName | ) |
Add a tactor to this simplePattern given by tactorName
tactorName | the name of the tactor to add |
string SimplePattern::getCommand | ( | ) |
Get the command to be executed on this simplePattern
vector<string> SimplePattern::getTactors | ( | ) |
Get the tactors to execute this pattern's command on