reactor-c
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
generic_action_instance_struct Struct Reference

#include <python_action.h>

Data Fields

token_type_t type
 
lf_token_ttoken
 
size_t length
 
bool is_present
 
lf_action_internal_t _base
 
self_base_tparent
 
bool has_value
 
int source_id
 
PyObject * value
 

Detailed Description

The struct used to instantiate an action. This is used in the PythonGenerator instead of redefining a struct for each action. This can be used for any Python object, including lists and tuples. PyObject* value: the value of the action with the generic Python type is_present: indicates if the action is present at the current logical time

Field Documentation

◆ _base

lf_action_internal_t generic_action_instance_struct::_base

◆ has_value

bool generic_action_instance_struct::has_value

◆ is_present

bool generic_action_instance_struct::is_present

◆ length

size_t generic_action_instance_struct::length

◆ parent

self_base_t* generic_action_instance_struct::parent

◆ source_id

int generic_action_instance_struct::source_id

◆ token

lf_token_t* generic_action_instance_struct::token

◆ type

token_type_t generic_action_instance_struct::type

◆ value

PyObject* generic_action_instance_struct::value

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