Group CInterfaceList¶
The functions in this section provide access to information, objects, and functionality of interface lists. This includes updating, size and interface retrieval, and clearance.
Public Functions¶
| Type | Name |
|---|---|
| spinInterfaceListClear (spinInterfaceList hInterfaceList) |
|
| spinInterfaceListCreateEmpty (spinInterfaceList * phInterfaceList) |
|
| spinInterfaceListDestroy (spinInterfaceList hInterfaceList) |
|
| spinInterfaceListGet (spinInterfaceList hInterfaceList, size_t index, spinInterface * phInterface) |
|
| spinInterfaceListGetSize (spinInterfaceList hInterfaceList, size_t * pSize) |
Public Functions Documentation¶
function spinInterfaceListClear¶
Clears an interface list
See also: spinError
Parameters:
hInterfaceListThe interface list to clear
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinInterfaceListCreateEmpty¶
Creates an empty interface list (interface lists created this way must be destroyed)
See also: spinError
Parameters:
phInterfaceListThe interface list handle pointer in which the empty interface list is returned
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinInterfaceListDestroy¶
Destroys an interface list
See also: spinError
Parameters:
hInterfaceListThe interface list to destroy
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinInterfaceListGet¶
spinInterfaceListGet (
spinInterfaceList hInterfaceList,
size_t index,
spinInterface * phInterface
)
Retrieves an interface from an interface list using an index (interfaces retrieved this way must be released)
See also: spinError
Parameters:
hInterfaceListThe interface list of the interface to be retrievedindexThe index of the interfacephInterfaceThe interface handle pointer in which the interface is returned
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinInterfaceListGetSize¶
Retrieves the number of interfaces in an interface list
See also: spinError
Parameters:
hInterfaceListThe interface list where the interfaces to be counted arepSizeThe unsigned integer pointer in which the number of interfaces is returned
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
See also: spinError