ITcVnContainer
Offers an interface for an object container.
Methods
Name |
Origin |
Description |
---|---|---|
ITcUnknown |
Increments the reference counter. | |
ITcUnknown |
Get a reference to an implemented interface. | |
ITcUnknown |
Decrements the reference counter. | |
ITcVnContainer |
Checks if the container contains only basic (non-container) elements. | |
ITcVnContainer |
Checks if the container is empty. (Alternatively use F_VN_CheckIfEmpty.) | |
ITcVnContainer |
Gets an interface pointer to a bidirectional iterator (if this iterator type is supported by the container) and increment its reference counter. | |
ITcVnContainer |
Gets the size (number of elements) of the container. (Alternatively use F_VN_GetNumberOfElements.) | |
ITcVnContainer |
Gets the size (in byte) of each element in the container. | |
ITcVnContainer |
Gets the GUID of the container elements. | |
ITcVnContainer |
Gets combined size (in byte) of all elements in the container. | |
ITcVnContainer |
Gets an interface pointer to a forward iterator (if this iterator type is supported by the container) and increment its reference counter. (Alternatively use F_VN_GetForwardIterator.) | |
ITcVnContainer |
Gets an interface pointer to a random access iterator (if this iterator type is supported by the container) and increment its reference counter. (Alternatively use F_VN_GetRandomAccessIterator.) | |
ITcVnContainer |
Gets GUID of the container. | |
ITcVnContainer |
Gets the container type name as a string. |
Weiterführende Informationen
Das Interface ITcVnContainer
dient zur Handhabung von Containern. Beachten Sie die Hinweise im Kapitel Interface Pointer.
Überschreiben von Containern Grundsätzlich können Container mit API-Funktionen einfach überschrieben werden. Zurzeit ist ein Überschreiben allerdings nicht möglich, wenn der existierende Container und der zu schreibende Container abweichende Typen haben. Dies wird durch den Fehlercode 70E (INCOMPATIBLE) signalisiert. |
Verwandte Funktionen
System Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT V3.1.4024.59 or later | PC or CX (x64) with PL50, e.g. Intel 4-core Atom CPU | Tc3_Vision |