blob: 7cd6f661183babf9656996372c9c272dd97a1390 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
id: zeromq_push_msg_sink
label: ZMQ PUSH Message Sink
category: '[Core]/ZeroMQ Interfaces'
flags: [python, cpp]
parameters:
- id: address
label: Address
dtype: string
- id: timeout
label: Timeout (msec)
dtype: float
default: '100'
- id: bind
category: Advanced
label: Bind
dtype: bool
default: 'True'
hide: part
inputs:
- domain: message
id: in
optional: true
templates:
imports: from gnuradio import zeromq
make: zeromq.push_msg_sink(${address}, ${timeout}, ${bind})
cpp_templates:
includes: [ '#include <gnuradio/zeromq/push_msg_sink.h>' ]
declarations: gr::zeromq::push_msg_sink::sptr ${id};
make: this->${id} = gr::zeromq::push_msg_sink::make(const_cast<char *>(${address}${'.c_str())' if str(address)[0] not in '"\'' else ')'}, ${timeout});
link: ['gnuradio::gnuradio-zeromq']
file_format: 1
|