class for rising and falling edges of a stateFlag More...
#include <stateFlag.h>
Public Member Functions | |
transition (int s0, int s1) | |
Static Public Attributes | |
static const transition | risingEdge |
rising edge constant | |
static const transition | fallingEdge |
falling edge constant | |
static const transition | anyEdge |
constant matching any transition | |
Friends | |
class | stateFlag |
class for rising and falling edges of a stateFlag
A transition is defined in one of two ways. A general transition is defined as rising
, falling
, or change
. A specific transition is defined by a pair of integers.
anyEdge
matches any change of state. For these transitions, the exact value of the intial or final states are not specified - only the state change matters. transition::transition | ( | int | s0, | |
int | s1 | |||
) | [inline] |
transition constructor
s0 | an integer value before the transition | |
s1 | an integer value after the transition |
Defines a specific transition from s0 to s1