NAME

cxOutputDataRelease - remove a data object from an output port

C SPECIFICATION

#include <cx/PortAccess.h>

void cxOutputDataRelease(int port)

FORTRAN SPECIFICATION

subroutine cxOutputDataRelease(port)
integer port

PARAMETERS

port
The descriptor of the output port to affect.

DESCRIPTION

cxOutputDataRelease removes the data object, if any, on the output port. When the user function returns, the control wrapper transmits an empty object to downstream modules.

This operation is used to release data on an output port. Note that setting a zero value on the output port with cxOutputDataSet will not have this effect, rather it will inform the control wrapper to use the previous data on that port.

The act of releasing data from the output port decrements its reference count, which will destroy the object if no other modules hold a reference to it. If the user function needs to retain a copy until subsequent firings, it must increment the reference count of that object by calling cxDataRefInc.

Note that it is not a valid operation to try to remove data from a "Firing Done" or "Loop Ended" port.

SEE ALSO

cxDataRefInc(3E), cxOutputDataSet(3E), cxOutputNoSync(3E)
Last modified: Mon Nov 18 13:51:06 GMT 1996
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996