Revision 2d315870 doc/activitydiagrams/service/urtServiceInit.uml
| doc/activitydiagrams/service/urtServiceInit.uml | ||
|---|---|---|
| 33 | 33 |
Must not be ""NULL"". |
| 34 | 34 |
-- **id** : urt_serviceid_t -- |
| 35 | 35 |
Unique, numeric identifier of the service. |
| 36 |
-- **callback** : urt_servicefunc_t* -- |
|
| 37 |
Callabck function to be executed by this service. |
|
| 38 |
Must not be ""NULL"". |
|
| 39 | 36 |
==== |
| 40 | 37 |
-- **return** : urt_status_t -- |
| 41 | 38 |
Returns ""URT_STATUS_OK"" on success. |
| ... | ... | |
| 50 | 47 |
* **next** ← ""NULL"" |
| 51 | 48 |
* **id** ← id |
| 52 | 49 |
* urtMutexInit(**lock**) |
| 53 |
* **callback** ← callback |
|
| 50 |
* **requestQueue_front** ← ""NULL"" |
|
| 51 |
* **requestQueue_hrtBack** ← ""NULL"" |
|
| 52 |
* **requestQueue_fsrtBack** ← ""NULL"" |
|
| 53 |
* **requestQueue_back** ← ""NULL"" |
|
| 54 |
* urtEventSourceInit(**evtSource**) |
|
| 55 |
* urtEventListenerInit(**evtListener**) |
|
| 54 | 56 |
.. URT_CFG_RPC_PROFILING == true .. |
| 55 |
* **minDuration** ← 0xF..F |
|
| 56 |
* **maxDuration** ← 0 |
|
| 57 |
* **sumDurations** ← 0 |
|
| 58 | 57 |
* **numCalls** ← 0 |
| 59 |
* **numTimeouts** ← 0 |
|
| 60 | 58 |
endnote |
| 59 |
:register event listener to source; |
|
| 61 | 60 |
:lock core; |
| 62 | 61 |
:access first service; |
| 63 | 62 |
while (Service is not ""NULL""\nand service ID is lower?) is (yes) |
Also available in: Unified diff