Epok Engine

EPOK RUNTIME

epok::timeline::BoundTarget::same_sink

Method · 1 overload

Method

Performs `same sink` as part of fixed-step simulation time and frame timing.

Belongs to
epok::timeline::BoundTarget
Header
timeline_runtime.hpp
Overloads
1

Declaration

const
Declaration
bool same_sink(const BoundTarget& other)const

Performs `same sink` as part of fixed-step simulation time and frame timing.

ParameterTypeMeaning
otherconst BoundTarget &Value supplied for other. 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_runtime.hpp"

// Assume these named values have been initialized with valid data:
// const BoundTarget & other

epok::timeline::BoundTarget& object = /* obtain a valid instance */;

auto result = object.same_sink(other);

Why use it

The method is `const`, so it does not mutate the object through this API surface. 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. This is classified as **Engine internal**. Prefer a higher-level Epok service unless you need this exact control. Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

Declared in runtime/timeline_runtime.hpp:32

Related members