TactileVestProject  V1.0
Tactile API documentation
 All Classes Functions
Public Member Functions | List of all members
SimplePattern Class Reference

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)
 
SimplePatternoperator= (const SimplePattern &other)
 
void addTactor (string tactorName)
 
string getCommand ()
 
vector< string > getTactors ()
 

Detailed Description

A collection of tactors to be commanded with the same command simultaneously.

Constructor & Destructor Documentation

SimplePattern::SimplePattern ( string  command)

A constructor that sets the command to be executed on this simplePattern

Parameters
commandthe command to be executed on the tactors in this simplePattern

Member Function Documentation

void SimplePattern::addTactor ( string  tactorName)

Add a tactor to this simplePattern given by tactorName

Parameters
tactorNamethe name of the tactor to add
string SimplePattern::getCommand ( )

Get the command to be executed on this simplePattern

Returns
the command to be executed on this simplePattern
vector<string> SimplePattern::getTactors ( )

Get the tactors to execute this pattern's command on

Returns
a vector of the names of the tactors in this simplePattern

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