Epok Engine

EPOK RUNTIME

epok::timeline::stop

Function · 1 overload

Function

Stops stop as part of fixed-step simulation time and frame timing.

Belongs to
epok::timeline
Header
timeline_service.hpp
Overloads
1

Declaration

Declaration
inline bool stop(DataHandle owner)

Stops stop as part of fixed-step simulation time and frame timing.

ParameterTypeMeaning
ownerDataHandleValue supplied for owner. Keep referenced or pointed-to data valid for the complete call.

Returns: bool. Check the value before continuing when it represents success, availability or a resource handle.

Example

C++ example
#include "timeline_service.hpp"

// Assume these named values have been initialized with valid data:
// DataHandle owner

auto result = epok::timeline::stop(owner);

Why use it

The boolean result makes success, availability or state explicit without exceptions.

Trade-offs and warnings

Check the return value; `false` is part of normal control flow for many PSX resource operations.

Declared in runtime/timeline_service.hpp:40

Related members