ITComObject interface (C++ convenience)

The ITComObject interface is implemented by every TwinCAT module. It makes basic functionalities available.

TwinCAT C++ provides additional functions, which are not directly defined through the interface.

Syntax

Required include: TcInterfaces.h

ITComObject interface (C++ convenience) 1: Methods

Name

Description

OTCID TcGetObjectId

Queries the object ID.

TcTryToReleaseOpState

Releases resources; must be implemented.

Comments

Further methods exist, which are not itemized here.

This functionality is provided as standard by the module wizards.