#include <boolean.h>
This class facilitates construction of boolean switch objects by the butterfly matrix.
Public Methods | |
BooleanSwitchFactory (const std::vector< bool > &switches) | |
BooleanSwitch | makeSwitch () |
|
Constructor from an STL vector of bools |
|
Construct and return a boolean switch object This function walks through the switches object given in the constructor, advancing on each invocation. It wraps around to the beginning of the vector when it reaches the end. |