Project Alice
Loading...
Searching...
No Matches
parsers::trigger_building_context Struct Reference

#include <trigger_parsing.hpp>

Collaboration diagram for parsers::trigger_building_context:

Public Member Functions

 trigger_building_context (scenario_building_context &outer_context, trigger::slot_contents main_slot, trigger::slot_contents this_slot, trigger::slot_contents from_slot)
 
void add_float_to_payload (float f)
 
void add_int32_t_to_payload (int32_t i)
 

Public Attributes

scenario_building_contextouter_context
 
std::vector< uint16_t > compiled_trigger
 
float factor = 0.0f
 
trigger::slot_contents main_slot = trigger::slot_contents::empty
 
trigger::slot_contents this_slot = trigger::slot_contents::empty
 
trigger::slot_contents from_slot = trigger::slot_contents::empty
 

Detailed Description

Definition at line 22 of file trigger_parsing.hpp.

Constructor & Destructor Documentation

◆ trigger_building_context()

parsers::trigger_building_context::trigger_building_context ( scenario_building_context outer_context,
trigger::slot_contents  main_slot,
trigger::slot_contents  this_slot,
trigger::slot_contents  from_slot 
)
inline

Definition at line 32 of file trigger_parsing.hpp.

Member Function Documentation

◆ add_float_to_payload()

void parsers::trigger_building_context::add_float_to_payload ( float  f)
inline

Definition at line 36 of file trigger_parsing.hpp.

◆ add_int32_t_to_payload()

void parsers::trigger_building_context::add_int32_t_to_payload ( int32_t  i)
inline

Definition at line 50 of file trigger_parsing.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ compiled_trigger

std::vector<uint16_t> parsers::trigger_building_context::compiled_trigger

Definition at line 24 of file trigger_parsing.hpp.

◆ factor

float parsers::trigger_building_context::factor = 0.0f

Definition at line 26 of file trigger_parsing.hpp.

◆ from_slot

trigger::slot_contents parsers::trigger_building_context::from_slot = trigger::slot_contents::empty

Definition at line 30 of file trigger_parsing.hpp.

◆ main_slot

trigger::slot_contents parsers::trigger_building_context::main_slot = trigger::slot_contents::empty

Definition at line 28 of file trigger_parsing.hpp.

◆ outer_context

scenario_building_context& parsers::trigger_building_context::outer_context

Definition at line 23 of file trigger_parsing.hpp.

◆ this_slot

trigger::slot_contents parsers::trigger_building_context::this_slot = trigger::slot_contents::empty

Definition at line 29 of file trigger_parsing.hpp.


The documentation for this struct was generated from the following file: