Lifecycle

A common interface defining methods for start/stop lifecycle control. The typical use case for this is to control asynchronous processing.

Members

Functions

IsRunning
bool IsRunning()

Check whether this component is currently running. @return whether the component is currently running

Start
void Start()

Start this component. <p>Should not throw an exception if the component is already running. <p>In the case of a container, this will propagate the start signal to all components that apply.

Stop
void Stop()

Stop this component, typically in a synchronous fashion, such that the component is fully stopped upon return of this method.

Meta