SMC_GSentenceQueue.GetSentenceFromStart (METH)

METHOD GetSentenceFromStart : POINTER TO SMC_GSentence

Returns a pointer to the n-th sentence, or 0 if the queue has less than n+1 elements. The pointer is valid until the next call to RemoveFirst. Only to be called safely from the reading thread, or when it is made sure that no elements are removed concurrently.

InOut:

Scope

Name

Type

Input

n

UDINT

Return

GetSentenceFromStart

POINTER TO SMC_GSentence