zuspec-be-sw 0.1.0.15175555129rc0__cp311-cp311-manylinux_2_28_x86_64.whl → 0.1.0.15232861757rc0__cp311-cp311-manylinux_2_28_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of zuspec-be-sw might be problematic. Click here for more details.

@@ -1 +1 @@
1
- BUILD_NUM=15175555129
1
+ BUILD_NUM=15232861757
zsp_be_sw/__version__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  BASE="0.1.0"
2
- SUFFIX=".15175555129rc0"
2
+ SUFFIX=".15232861757rc0"
3
3
  VERSION="%s%s" % (BASE, SUFFIX)
zsp_be_sw/libzsp-be-sw.so CHANGED
Binary file
@@ -68,6 +68,16 @@ public:
68
68
  std::ostream *out_h,
69
69
  std::ostream *out_h_prv) = 0;
70
70
 
71
+ virtual void generateType(
72
+ IContext *ctxt,
73
+ vsc::dm::IDataTypeStruct *comp_t,
74
+ std::ostream *out_c,
75
+ std::ostream *out_h) = 0;
76
+
77
+ virtual void generateTypes(
78
+ IContext *ctxt,
79
+ vsc::dm::IDataTypeStruct *root,
80
+ const std::string &outdir) = 0;
71
81
 
72
82
  virtual void initContextC(arl::dm::IContext *ctxt) = 0;
73
83
 
@@ -0,0 +1,17 @@
1
+ #ifndef INCLUDED_ZSP_ACTOR_H
2
+ #define INCLUDED_ZSP_ACTOR_H
3
+ #include "zsp/be/sw/rt/zsp_actor_base.h"
4
+ #include "zsp/be/sw/rt/zsp_component.h"
5
+
6
+ typedef struct zsp_actor_s {
7
+ zsp_actor_base_t base;
8
+ zsp_component_t comp;
9
+ } zsp_actor_t;
10
+
11
+ #define zsp_actor(comp_t) struct { \
12
+ zsp_actor_base_t base; \
13
+ comp_t ## _t comp; \
14
+ }
15
+
16
+
17
+ #endif /* INCLUDED_ZSP_ACTOR_H */
@@ -0,0 +1,16 @@
1
+
2
+ #ifndef INCLUDED_ZSP_ACTOR_BASE_H
3
+ #define INCLUDED_ZSP_ACTOR_BASE_H
4
+
5
+ typedef struct zsp_actor_base_s {
6
+ // Base class for all actors, providing common functionality
7
+ // and properties that all actors will inherit.
8
+ // This can include methods for initialization, destruction,
9
+ // and other common actor behaviors.
10
+
11
+ // Example member variables (to be defined as needed):
12
+ // int actor_id; // Unique identifier for the actor
13
+ // const char *name; // Name of the actor
14
+ } zsp_actor_base_t;
15
+
16
+ #endif /* INCLUDED_ZSP_ACTOR_BASE_H */
@@ -0,0 +1,46 @@
1
+ #ifndef INCLUDED_ZSP_COMPONENT_H
2
+ #define INCLUDED_ZSP_COMPONENT_H
3
+ #include <stdint.h>
4
+ #include "zsp/be/sw/rt/zsp_alloc.h"
5
+ #include "zsp/be/sw/rt/zsp_object.h"
6
+
7
+ #ifdef _cplusplus
8
+ extern "C" {
9
+ #endif
10
+
11
+ struct zsp_component_s;
12
+
13
+ typedef struct zsp_component_type_s {
14
+ zsp_object_type_t __base;
15
+
16
+ void (*init_down)(struct zsp_component_s *comp);
17
+ void (*init_up)(struct zsp_component_s *comp);
18
+ } zsp_component_type_t;
19
+
20
+ typedef struct zsp_component_s {
21
+ zsp_object_t base;
22
+
23
+ struct zsp_component_s *parent;
24
+ struct zsp_component_s *sibling;
25
+ struct zsp_component_s *children;
26
+ const char *name;
27
+ } zsp_component_t;
28
+
29
+ void zsp_component_init(
30
+ zsp_alloc_t *alloc,
31
+ zsp_component_t *comp,
32
+ const char *name,
33
+ zsp_component_t *parent);
34
+
35
+ zsp_component_type_t *zsp_component__type();
36
+
37
+ #define zsp_component_type(comp) \
38
+ ((zsp_component_type_t *)((comp)->base.type))
39
+
40
+ void zsp_component_do_init(zsp_component_t *comp);
41
+
42
+ #ifdef _cplusplus
43
+ }
44
+ #endif
45
+
46
+ #endif /* INCLUDED_ZSP_COMPONENT_H */
@@ -0,0 +1,32 @@
1
+ #ifndef INCLUDED_ZSP_OBJECT_H
2
+ #define INCLUDED_ZSP_OBJECT_H
3
+ #include "zsp/be/sw/rt/zsp_types.h"
4
+
5
+ #ifdef __cplusplus
6
+ extern "C" {
7
+ #endif
8
+
9
+ struct zsp_object_s;
10
+ struct zsp_actor_s;
11
+
12
+ typedef void (*zsp_dtor_f)(struct zsp_actor_s *, struct zsp_object_s *);
13
+
14
+ typedef struct zsp_object_type_s {
15
+ struct zsp_object_type_s *super;
16
+ const char *name;
17
+ zsp_dtor_f dtor;
18
+ } zsp_object_type_t;
19
+
20
+ typedef struct zsp_object_s {
21
+ zsp_object_type_t *type;
22
+
23
+ } zsp_object_t;
24
+
25
+ zsp_object_type_t *zsp_object__type(void);
26
+
27
+
28
+ #ifdef __cplusplus
29
+ }
30
+ #endif
31
+
32
+ #endif /* INCLUDED_ZSP_OBJECT_H */
@@ -0,0 +1,6 @@
1
+ #ifndef INCLUDED_ZSP_RT_H
2
+ #define INCLUDED_ZSP_RT_H
3
+ #include "zsp/be/sw/rt/zsp_alloc.h"
4
+ #include "zsp/be/sw/rt/zsp_component.h"
5
+ #include "zsp/be/sw/rt/zsp_thread.h"
6
+ #endif /* INCLUDED_ZSP_RT_H */
@@ -0,0 +1,40 @@
1
+ #ifndef INCLUDED_ZSP_STRUCT_H
2
+ #define INCLUDED_ZSP_STRUCT_H
3
+ #ifdef __cplusplus
4
+ extern "C" {
5
+ #endif
6
+ #include "zsp/be/sw/rt/zsp_object.h"
7
+
8
+ struct zsp_struct_s;
9
+
10
+ typedef void (*zsp_solve_exec_f)(struct zsp_actor_s *, struct zsp_struct_s *);
11
+
12
+ typedef struct zsp_struct_type_s {
13
+ zsp_object_type_t base;
14
+
15
+ zsp_solve_exec_f pre_solve;
16
+ zsp_solve_exec_f post_solve;
17
+
18
+ } zsp_struct_type_t;
19
+
20
+ typedef struct zsp_struct_s {
21
+ zsp_object_t base;
22
+
23
+ } zsp_struct_t;
24
+
25
+ #define zsp_struct_call(method, actor, this_p) \
26
+ ((zsp_struct_type_t *)((zsp_object_t *)(this_p))->type)-> method ( \
27
+ (struct zsp_actor_s *)(actor), \
28
+ (struct zsp_struct_s *)(this_p));
29
+
30
+ #define zsp_struct_pre_solve(actor, this_p) \
31
+ zsp_struct_call(pre_solve, actor, this_p)
32
+
33
+ #define zsp_struct_post_solve(actor, this_p) \
34
+ zsp_struct_call(post_solve, actor, this_p)
35
+
36
+ #ifdef __cplusplus
37
+ }
38
+ #endif
39
+ #endif /* INCLUDED_ZSP_STRUCT_H */
40
+
@@ -0,0 +1,15 @@
1
+
2
+ #ifndef INCLUDED_ZSP_TYPES_H
3
+ #define INCLUDED_ZSP_TYPES_H
4
+ #include <stdint.h>
5
+
6
+ #ifdef __cplusplus
7
+ typedef bool zsp_bool_t;
8
+ #else
9
+ typedef enum {
10
+ false = 0,
11
+ true = 1
12
+ } zsp_bool_t;
13
+ #endif
14
+
15
+ #endif /* INCLUDED_ZSP_TYPES_H */
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: zuspec-be-sw
3
- Version: 0.1.0.15175555129rc0
3
+ Version: 0.1.0.15232861757rc0
4
4
  Summary: Backend library to generate software output
5
5
  Home-page: https://github.com/zuspec/zuspec-be-sw
6
6
  Author: Matthew Ballance
@@ -1,11 +1,11 @@
1
- zsp_be_sw/__build_num__.py,sha256=qPzppVWIW4cAT0ek01ZPu8r30TQ-QQVmby3IqZUA0BM,22
1
+ zsp_be_sw/__build_num__.py,sha256=30JOwx-5t6scOcPyYT80eOJddpa6UUQEFgc7PpDEwgo,22
2
2
  zsp_be_sw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- zsp_be_sw/__version__.py,sha256=Fa6CMkKJ789bAFXfswnNwR8qfNer02DLTO1eyxhJGcc,69
4
- zsp_be_sw/core.cpython-311-x86_64-linux-gnu.so,sha256=fkNe05dpCY6nuTSrwbbNYMKW8CW5eBiZgZ04juJIuxY,1720272
5
- zsp_be_sw/libzsp-be-sw.so,sha256=4saDvFZO9IVYjvHGUabYiNAl4hQCwh-v61FnvJldh7E,3713664
3
+ zsp_be_sw/__version__.py,sha256=uOvOKUMv_1nTNGe6Gp5T78D8HYoLr4QSplF59goQFZM,69
4
+ zsp_be_sw/core.cpython-311-x86_64-linux-gnu.so,sha256=wyP8QqcdS6YA_smI3jG4oLtvbScnjRVTvnlLj1vyE1M,1766776
5
+ zsp_be_sw/libzsp-be-sw.so,sha256=vZ5Ymw9cArhROwX--4DXDW2D93UXqemaV2VGwl32Oqg,3865152
6
6
  zsp_be_sw/share/include/zsp/be/sw/FactoryExt.h,sha256=zzqqdoxxJIQhsDb-cDT4vJBqhYC8XJpq1ZEN48FX2z0,100
7
7
  zsp_be_sw/share/include/zsp/be/sw/IContext.h,sha256=5S7rVTz-Itsuleraru7iEC8KZUU0cRK-LD_v0bsX114,2481
8
- zsp_be_sw/share/include/zsp/be/sw/IFactory.h,sha256=gUpsxS_J_7qdldSSH0SHkuHGYazco3Qnc-oL2ozyN50,2597
8
+ zsp_be_sw/share/include/zsp/be/sw/IFactory.h,sha256=eyDpv3rpvvXxWLTnnIlNiYfxMzQzX1OzIDmEdBn4GQg,3118
9
9
  zsp_be_sw/share/include/zsp/be/sw/IFunctionInfo.h,sha256=NiuncP9446DXXXdufMhu6n09rsf9HC0OkWz6tykYO1o,2120
10
10
  zsp_be_sw/share/include/zsp/be/sw/IFunctionMap.h,sha256=Hf1cQw-5J3j93v1tlL1_MiWUey9AqkbiWl6TQSfgVgE,1193
11
11
  zsp_be_sw/share/include/zsp/be/sw/IGeneratorEvalIterator.h,sha256=TpK9eVkelsm-hTVqV5wvXk_-2dgPEG0K1Uux493dgU0,1264
@@ -16,11 +16,18 @@ zsp_be_sw/share/include/zsp/be/sw/INameMap.h,sha256=W_YrhZ1YbSgG9FrEuPRD6sadroND
16
16
  zsp_be_sw/share/include/zsp/be/sw/IOutput.h,sha256=Im0xoATfu_xOobUzfTOmM0ROuXO8w9-VMr0BXVKJRmQ,1727
17
17
  zsp_be_sw/share/include/zsp/be/sw/IOutputStr.h,sha256=exVx0hu40uMci_GVP9TCyhVsMFC6DLDRrrpUVwu0SH8,991
18
18
  zsp_be_sw/share/include/zsp/be/sw/impl/MethodCallFactoryAssocDataBase.h,sha256=RdRdW7nWYgd7h_wzCeVDLM3xLlzgZ8m0hc9fbdyK9U8,1395
19
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_actor.h,sha256=l58S-j9j2psbpDs-P816hi_qKNB10toYyY9iEILdnj8,388
20
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_actor_base.h,sha256=WuZYe8Dg8VPesRzvYjASLCaa3RKzp2wqQtVpnit7nYU,563
19
21
  zsp_be_sw/share/include/zsp/be/sw/rt/zsp_alloc.h,sha256=D2o3MNdjnufmQr5Dfz-PA34Fa054nckkM8rR0sfO2xY,388
22
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_component.h,sha256=bJLmmepUitM2b6rA-Kp3ih0_Fw9mlLmW1Z7iHHKrys8,1065
23
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_object.h,sha256=mlX6ZZILj-NsIKJR1NSE3kgY8P2ZIccHsbaHikTW-xI,613
24
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_rt.h,sha256=sVJjb90VQdfoMc6UAgaKJXVKX2y7GVCKO-4L7aNU6iU,195
25
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_struct.h,sha256=taYoX0sxOHaGx9-hC77rTX5wnyUNJ1oEroURLm1NNBI,926
20
26
  zsp_be_sw/share/include/zsp/be/sw/rt/zsp_thread.h,sha256=E-LbZAcQaTdJBcgfAa4H_X6KgwB7kMw135-M-x63xK4,1986
27
+ zsp_be_sw/share/include/zsp/be/sw/rt/zsp_types.h,sha256=aIrwZ-3VeBqYHO92WCOMgIxy9TEUTcW2wjVbn64-p7g,233
21
28
  zsp_be_sw/share/include/zsp/esw/zsp_esw_support.h,sha256=5hpBmWfy9cN0fg4g7ZM9uyZCxjCuJzW0T_KFMv5pwug,995
22
- zuspec_be_sw-0.1.0.15175555129rc0.dist-info/METADATA,sha256=SQcCYYaoU4-xjnybkwQFBjaCGRjYpARaiIeXpeLJ9MA,672
23
- zuspec_be_sw-0.1.0.15175555129rc0.dist-info/WHEEL,sha256=13Rj6HhRk68O9zVRm8-ZRcoGIoEycSFNI2c_pn5Iqu4,113
24
- zuspec_be_sw-0.1.0.15175555129rc0.dist-info/top_level.txt,sha256=F69v5yvtf2MTsB19kN7iCBNm1-HkyITrIjM7enDpIh8,10
25
- zuspec_be_sw-0.1.0.15175555129rc0.dist-info/RECORD,,
26
- zuspec_be_sw-0.1.0.15175555129rc0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
29
+ zuspec_be_sw-0.1.0.15232861757rc0.dist-info/METADATA,sha256=g27KjivGhHaMkzlxf3liDVhA7Tio5ZJ7V4MR6FBHKzc,672
30
+ zuspec_be_sw-0.1.0.15232861757rc0.dist-info/WHEEL,sha256=13Rj6HhRk68O9zVRm8-ZRcoGIoEycSFNI2c_pn5Iqu4,113
31
+ zuspec_be_sw-0.1.0.15232861757rc0.dist-info/top_level.txt,sha256=F69v5yvtf2MTsB19kN7iCBNm1-HkyITrIjM7enDpIh8,10
32
+ zuspec_be_sw-0.1.0.15232861757rc0.dist-info/RECORD,,
33
+ zuspec_be_sw-0.1.0.15232861757rc0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357