Epok Engine

EPOK RUNTIME

epok::nav::World::request

Method · 1 overload

Method

Requests request as part of the navigation module.

Belongs to
epok::nav::World
Header
navigation.hpp
Overloads
1

Declaration

Declaration
Handle request(const int32_t* from,const int32_t* to)

Requests request as part of the navigation module.

ParameterTypeMeaning
fromconst int32_t *Value supplied for from. Keep referenced or pointed-to data valid for the complete call.
toconst int32_t *Value supplied for to. Keep referenced or pointed-to data valid for the complete call.

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

Example

C++ example
#include "navigation.hpp"

// Assume these named values have been initialized with valid data:
// const int32_t * from
// const int32_t * to

epok::nav::World& object = /* obtain a valid instance */;

auto result = object.request(from, to);

Why use it

It provides direct, allocation-conscious access to the navigation module. No exception-based error path is implied by the signature.

Trade-offs and warnings

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/navigation.hpp:105

Related members