SMC_GetObjFromHistory (FUN)ΒΆ
FUNCTION SMC_GetObjFromHistory : POINTER TO SMC_GEOINFO
Returns an object that has been deleted but not yet overwritten.
For N >= 0, SMC_GetObjFromHistory(poq, N) = SMC_GetObj(poq, N).
For negative N, the objects from the history are retrieved.
(N=-1 gets the newest object from history,
smaller N get older elements).
The valid range for N is
-SMC_GetHistoryCount(poq) ... SMC_GetCount(poq) - 1.
task-safety: call from consumer task only
- InOut:
Scope
Name
Type
Comment
Return
SMC_GetObjFromHistoryPOINTER TO SMC_GEOINFO
Input
poqPOINTER TO SMC_OUTQUEUE
The out queue
NDINTIndex of the object, counting is started with
N=0