SMC_GetObj (FUN)ΒΆ
FUNCTION SMC_GetObj : POINTER TO SMC_GEOINFO
Returns the n-th object of an SMC_OUTQUEUE.
For N=0
the first element will be returned.
If the number of elements is less than n+1, zero is returned.
task-safety: call from consumer task only
- InOut:
Scope
Name
Type
Comment
Input
poq
POINTER TO SMC_OUTQUEUE
The out queue
N
UINT
Index of object in the queue. Counting is started with
N=0
for the first element.Return
SMC_GetObj
POINTER TO SMC_GEOINFO