---
name: "ScXMLStateMachine.h"
section: "3"
platform: "linux"
package: "libcoin80-doc"
version: "3.1.4~abc9f50-7"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/ScXMLStateMachine.h"
---

# ScXMLStateMachine.h(3)

## NAME

ScXMLStateMachine.h -

## SYNOPSIS

`#include <Inventor/scxml/ScXMLEventTarget.h>`\
 `#include <Inventor/SbName.h>`\
 `#include <Inventor/lists/SbList.h>`\

### Classes

class **ScXMLStateMachine**\
 *Manager for processing events and setting states in SCXML structures.*

### Typedefs

typedef void **ScXMLStateMachineDeleteCB** (void \*userdata, **ScXMLStateMachine** \*statemachine)\
 typedef void **ScXMLStateChangeCB** (void \*userdata, **ScXMLStateMachine** \*statemachine, const char \*stateidentifier, SbBool enterstate, SbBool success)\
 typedef void **ScXMLParallelStateChangeCB** (void \*userdata, **ScXMLStateMachine** \*statemachine, int numstates, const char \*\*stateidentifiers, SbBool enterstate, SbBool success)\

## Typedef Documentation

### ScXMLStateChangeCB

This callback type is for notifying listeners on when the state machine enters and exits states that are tagged as 'tasks' for logging purposes. This is what the Boolean 'task' attribute in the state element sets up.

The *success* argument is currently unsupported (will always be TRUE), but has been preemptively added to avoid a signature change later.

**See also:**

addStateChangeCallback

## Author

Generated automatically by Doxygen for Coin from the source code.
