The Wayback Machine - https://web.archive.org/web/20220220091022/https://github.com/topics/scxml
Skip to content
#

scxml

Here are 32 public repositories matching this topic...

kiprasmel
kiprasmel commented Jan 2, 2020
struct StateMachine {
	const char *id;
	const char *initial;
	States states;
+	const char *value;

-	const char *transition(const char *currentState, const char *event) {
+	StateMachine *transition(const char *currentState, const char *event) {
		const char *nextState = this->states[currentState].on[event];
+		this->value = nextState;
-		return nextState;
+		return this;
	}
}

Improve this page

Add a description, image, and links to the scxml topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the scxml topic, visit your repo's landing page and select "manage topics."

Learn more