Epok Engine

EPOK RUNTIME

epok::nav::Request::length

Field

Field

Exposes `length` on `epok::nav::Request` for the navigation module.

Belongs to
epok::nav::Request
Header
navigation.hpp

Declaration

Declaration
uint16_t length

Exposes `length` on `epok::nav::Request` for the navigation module.

Type
uint16_t
Storage
Per instance

Example

C++ example
#include "navigation.hpp"

epok::nav::Request& object = /* obtain a valid instance */;
auto value = object.length;

// When mutation is valid for this object:
// object.length = replacement;

When it helps

Use this member when you need direct access to the state represented by its declared type.

Trade-offs and warnings

Direct field access has no validation step. Keep the owning object alive, respect units and ranges, and do not mutate state while hardware or another subsystem is consuming it.

Declared in runtime/navigation.hpp:23