Simbody
3.3
|
Results returned by the handleEvent() method. More...
#include <Event.h>
Public Types | |
enum | Status { Invalid = -1, Succeeded = 0, ShouldTerminate = 1, Failed = 2 } |
Public Member Functions | |
HandleEventsResults () | |
HandleEventsResults & | clear () |
Restore this object to its default-constructed state, with the return status set to Invalid. More... | |
bool | isValid () const |
Status | getExitStatus () const |
bool | getAnyChangeMade () const |
Stage | getLowestModifiedStage () const |
const String & | getMessage () const |
HandleEventsResults & | setExitStatus (Status status) |
HandleEventsResults & | setAnyChangeMade (bool changeMade) |
HandleEventsResults & | setLowestModifiedStage (Stage stage) |
HandleEventsResults & | setMessage (const String &message) |
Results returned by the handleEvent() method.
In addition to return status, this records the lowest stage in the state that was modified by the handler. The caller can use this to determine how much reinitialization is required before time stepping can proceed.
|
inline |
|
inline |
Restore this object to its default-constructed state, with the return status set to Invalid.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |