Revision dd31cb03 doc/activitydiagrams/publisher/urtPublisherInit.uml
| doc/activitydiagrams/publisher/urtPublisherInit.uml | ||
|---|---|---|
| 42 | 42 |
Once a message has been contributed, it cannot be removed later. |
| 43 | 43 |
May be ""NULL"" (no messages to contribute). |
| 44 | 44 |
==== |
| 45 |
-- **return** : urt_status_t -- |
|
| 46 |
Always returns ""URT_STATUS_OK"". |
|
| 45 |
-- **return** : void -- |
|
| 47 | 46 |
endnote |
| 48 | 47 |
|
| 49 | 48 |
/'### PROCEDURE ##############################################################'/ |
| ... | ... | |
| 51 | 50 |
start |
| 52 | 51 |
:initialize members; |
| 53 | 52 |
note |
| 54 |
**topic** ← topic |
|
| 53 |
* **topic** ← topic
|
|
| 55 | 54 |
.. URT_CFG_PUBSUB_PROFILING == true .. |
| 56 |
**publishAttempts** ← 0 |
|
| 57 |
**publishFails** ← 0 |
|
| 55 |
* **publishAttempts** ← 0
|
|
| 56 |
* **publishFails** ← 0
|
|
| 58 | 57 |
endnote |
| 59 | 58 |
if (Messages to contribute?) then (yes) |
| 60 | 59 |
:lock topic; |
| ... | ... | |
| 63 | 62 |
else (no) |
| 64 | 63 |
endif |
| 65 | 64 |
stop |
| 66 |
note |
|
| 67 |
Returns ""URT_STATUS_OK"". |
|
| 68 |
endnote |
|
| 69 | 65 |
|
| 70 | 66 |
/'### OUTRO ##################################################################'/ |
| 71 | 67 |
|
Also available in: Unified diff