C_runtime/service/erpc_PLCObject_common.hpp
changeset 4058 5472b88bbc9d
equal deleted inserted replaced
4057:cf42c3dbdd5c 4058:5472b88bbc9d
       
     1 /*
       
     2  * Generated by erpcgen 1.13.0 on Fri Nov 22 15:03:08 2024.
       
     3  *
       
     4  * AUTOGENERATED - DO NOT EDIT
       
     5  */
       
     6 
       
     7 
       
     8 #if !defined(_erpc_PLCObject_common_hpp_)
       
     9 #define _erpc_PLCObject_common_hpp_
       
    10 
       
    11 
       
    12 #include <cstddef>
       
    13 #include <cstdint>
       
    14 
       
    15 #include "erpc_version.h"
       
    16 
       
    17 #if 11300 != ERPC_VERSION_NUMBER
       
    18 #error "The generated shim code version is different to the rest of eRPC code."
       
    19 #endif
       
    20 
       
    21 
       
    22 #if !defined(ERPC_TYPE_DEFINITIONS_ERPC_PLCOBJECT)
       
    23 #define ERPC_TYPE_DEFINITIONS_ERPC_PLCOBJECT
       
    24 
       
    25 // Enumerators data types declarations
       
    26 typedef enum PLCstatus_enum
       
    27 {
       
    28     Empty = 0,
       
    29     Stopped = 1,
       
    30     Started = 2,
       
    31     Broken = 3,
       
    32     Disconnected = 4
       
    33 } PLCstatus_enum;
       
    34 
       
    35 // Aliases data types declarations
       
    36 typedef struct binary_t binary_t;
       
    37 typedef struct PSKID PSKID;
       
    38 typedef struct PLCstatus PLCstatus;
       
    39 typedef struct trace_sample trace_sample;
       
    40 typedef struct list_trace_sample_1_t list_trace_sample_1_t;
       
    41 typedef struct TraceVariables TraceVariables;
       
    42 typedef struct extra_file extra_file;
       
    43 typedef struct list_extra_file_1_t list_extra_file_1_t;
       
    44 typedef struct trace_order trace_order;
       
    45 typedef struct list_trace_order_1_t list_trace_order_1_t;
       
    46 typedef struct log_message log_message;
       
    47 
       
    48 // Structures/unions data types declarations
       
    49 struct binary_t
       
    50 {
       
    51     uint8_t * data;
       
    52     uint32_t dataLength;
       
    53 };
       
    54 
       
    55 struct PSKID
       
    56 {
       
    57     char * ID;
       
    58     char * PSK;
       
    59 };
       
    60 
       
    61 struct PLCstatus
       
    62 {
       
    63     PLCstatus_enum PLCstatus;
       
    64     uint32_t logcounts[4];
       
    65 };
       
    66 
       
    67 struct trace_sample
       
    68 {
       
    69     uint32_t tick;
       
    70     binary_t TraceBuffer;
       
    71 };
       
    72 
       
    73 struct list_trace_sample_1_t
       
    74 {
       
    75     trace_sample * elements;
       
    76     uint32_t elementsCount;
       
    77 };
       
    78 
       
    79 struct TraceVariables
       
    80 {
       
    81     PLCstatus_enum PLCstatus;
       
    82     list_trace_sample_1_t traces;
       
    83 };
       
    84 
       
    85 struct extra_file
       
    86 {
       
    87     char * fname;
       
    88     binary_t blobID;
       
    89 };
       
    90 
       
    91 struct list_extra_file_1_t
       
    92 {
       
    93     extra_file * elements;
       
    94     uint32_t elementsCount;
       
    95 };
       
    96 
       
    97 struct trace_order
       
    98 {
       
    99     uint32_t idx;
       
   100     binary_t force;
       
   101 };
       
   102 
       
   103 struct list_trace_order_1_t
       
   104 {
       
   105     trace_order * elements;
       
   106     uint32_t elementsCount;
       
   107 };
       
   108 
       
   109 struct log_message
       
   110 {
       
   111     char * msg;
       
   112     uint32_t tick;
       
   113     uint32_t sec;
       
   114     uint32_t nsec;
       
   115 };
       
   116 
       
   117 
       
   118 #endif // ERPC_TYPE_DEFINITIONS_ERPC_PLCOBJECT
       
   119 
       
   120 
       
   121 #endif // _erpc_PLCObject_common_hpp_