Epok Engine

EPOK RUNTIME

epok::dispatch_slot_trigger

Function · 1 overload

Function

Performs `dispatch slot trigger` as part of the actor tables module.

Belongs to
epok
Header
actor_tables.hpp
Overloads
1

Declaration

Declaration
inline size_t dispatch_slot_trigger(DataHandle self,DataHandle other,TriggerPhase phase)

Performs `dispatch slot trigger` as part of the actor tables module.

ParameterTypeMeaning
selfDataHandleValue supplied for self. Keep referenced or pointed-to data valid for the complete call.
otherDataHandleValue supplied for other. Keep referenced or pointed-to data valid for the complete call.
phaseTriggerPhaseValue supplied for phase. Keep referenced or pointed-to data valid for the complete call.

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

Example

C++ example
#include "actor_tables.hpp"

// Assume these named values have been initialized with valid data:
// DataHandle self
// DataHandle other
// TriggerPhase phase

auto result = epok::dispatch_slot_trigger(self, other, phase);

Why use it

It provides direct, allocation-conscious access to the actor tables 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/actor_tables.hpp:160

Related members