Revision 0de5bed8 doc/classdiagrams/pubsub.uml
| doc/classdiagrams/pubsub.uml | ||
|---|---|---|
| 177 | 177 |
|
| 178 | 178 |
/' Publisher type. '/ |
| 179 | 179 |
$structure("urt_publisher_t") {
|
| 180 |
'Flag, whether the publish() method supports timeout. |
|
| 181 |
URT_PUBSUB_PUBLISHER_PUBLISH_TIMEOUT : bool |
|
| 182 |
__ |
|
| 180 | 183 |
'Pointer to the topic for publishing. |
| 181 | 184 |
+ {field} topic : urt_topic_t*
|
| 182 | 185 |
.. URT_CFG_PUBSUB_PROFILING == true .. |
| ... | ... | |
| 187 | 190 |
__ |
| 188 | 191 |
'Initializes a urt_publisher_t object and contributes an optional list of messages. |
| 189 | 192 |
+ {method} urtPublisherInit (publisher : urt_publisher_t*, topic : urt_topic_t*, messages : urt_message_t*) : void
|
| 193 |
.. URT_PUBSUB_PUBLISHER_PUBLISH_TIMEOUT == false .. |
|
| 190 | 194 |
'Publishes a message via the associated topic. |
| 195 |
+ {method} urtPublisherPublish (publisher : urt_publisher_t*, payload : void*, bytes : size_t, t : urt_osTime_t) : urt_status_t
|
|
| 196 |
.. URT_PUBSUB_PUBLISHER_PUBLISH_TIMEOUT == true .. |
|
| 197 |
'Publishes a message via the associated topic with timeout. |
|
| 191 | 198 |
+ {method} urtPublisherPublish (publisher : urt_publisher_t*, payload : void*, bytes : size_t, t : urt_osTime_t, timeout : urt_delay_t) : urt_status_t
|
| 192 | 199 |
} |
| 193 | 200 |
|
Also available in: Unified diff