asrt
Automated System Runtime Testing library
Loading...
Searching...
No Matches
reac_assm.h
1
11#ifndef ASRT_REAC_ASSM_H
12#define ASRT_REAC_ASSM_H
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18#include "./collect.h"
19#include "./diag.h"
20#include "./param.h"
21#include "./reactor.h"
22#include "./stream.h"
23
28{
29 struct asrt_send_req_list send_queue;
30 struct asrt_reactor reactor;
31 struct asrt_diag_client diag;
32 struct asrt_collect_client collect;
33 uint8_t param_cache_buf[256];
34 struct asrt_param_client param;
35 struct asrt_stream_client stream;
36};
37
40enum asrt_status asrt_reac_assm_init(
41 struct asrt_reac_assm* assembly,
42 char const* desc,
43 uint32_t timeout );
44
46static inline void asrt_reac_assm_tick( struct asrt_reac_assm* assembly, uint32_t now )
47{
48 asrt_chann_tick_successors( &assembly->reactor.node, now );
49}
50
52void asrt_reac_assm_deinit( struct asrt_reac_assm* assembly );
53
54#ifdef __cplusplus
55}
56#endif
57
58#endif // ASRT_REAC_ASSM_H
Reactor-side collect client (ASRT_COLL channel).
Definition: collect.h:41
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee ...
Definition: diag.h:28
Param client module — PARAM channel, reactor side.
Definition: param.h:47
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee ...
Definition: reac_assm.h:28
Definition: reactor.h:66
Intrusive FIFO of outgoing send requests.
Definition: chann.h:76
Reactor-side stream client (ASRT_STRM channel).
Definition: stream.h:53