Epok Engine

EPOK RUNTIME

epok::bp::root_component

Function template · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Function template

Performs `root component` as part of compiled Blueprint execution and object interaction.

Belongs to
epok::bp
Header
actor_blueprint.hpp
Overloads
1

Declaration

template
Declaration
template<class Root> Root* root_component(ObjectId id)

Performs `root component` as part of compiled Blueprint execution and object interaction.

ParameterTypeMeaning
idObjectIdNot documented; consult the linked header.

Returns: Root *. Consult the linked header for its meaning.

Example sketch

C++ example
#include "actor_blueprint.hpp"

// Replace these template arguments with types or values accepted by the declaration:
// Root

// Assume these named values have been initialized with valid data:
// ObjectId id

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

auto result = object.root_component<Root>(id);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/actor_blueprint.hpp:25

Related members