Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 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.
Requests request as part of the interaction module.
InteractionResult request(ObjectId initiator,uint32_t port)Requests request as part of the interaction module.
| Parameter | Type | Meaning |
|---|---|---|
initiator | ObjectId | Not documented; consult the linked header. |
port | uint32_t | Not documented; consult the linked header. |
Returns: InteractionResult. Consult the linked header for its meaning.
#include "interaction.hpp"
// Assume these named values have been initialized with valid data:
// ObjectId initiator
// uint32_t port
epok::InteractableComponent& object = /* obtain a valid instance */;
auto result = object.request(initiator, port);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/interaction.hpp:135
availabilityPerforms `availability` as part of the interaction module.Methodcan_interactPerforms `can interact` as part of the interaction module.Methodclass_idPerforms `class id` as part of the interaction module.MethodcompletePerforms `complete` as part of the interaction module.Methodfocus_gainedPerforms `focus gained` as part of the interaction module.Methodfocus_lostPerforms `focus lost` as part of the interaction module.Methodhold_openPerforms `hold open` as part of the interaction module.Methodinteraction_finishedPerforms `interaction finished` as part of the interaction module.Methodinteraction_startedPerforms `interaction started` as part of the interaction module.Methodis_busyReports whether busy as part of the interaction module.Methodlevel_attachedPerforms `level attached` as part of the interaction module.Methodprune_lifetimePerforms `prune lifetime` as part of the interaction module.Method