Epok Engine

EPOK RUNTIME

epok::nav::World::replan

Method · 1 overload

Method

Performs `replan` as part of the navigation module.

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

Declaration

Declaration
void replan(Handle h,uint16_t avoid=invalid)

Performs `replan` as part of the navigation module.

ParameterTypeMeaning
hHandleValue supplied for h. Keep referenced or pointed-to data valid for the complete call.
avoiduint16_tValue supplied for avoid. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

C++ example
#include "navigation.hpp"

// Assume these named values have been initialized with valid data:
// Handle h
// uint16_t avoid

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

object.replan(h, avoid);

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

Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.

Declared in runtime/navigation.hpp:68

Related members