Download User Manual - TPI - Leica Geosystems
Transcript
Metrology Division 4.COM Interface High-level Interface Introduction Unlike the C and C++ TPI, the COM TPI is a DLL library and not an include file. This DLL provides an easy to use programming interface for the Tracker Server. This makes it suitable for programmers with minimal programming expertise to design simple tracker applications. The interface consists of a COM object. It is designed as an ATL DLL COM server and a LTControl.dll, as part of the tracker server SDK, with a built-in TCP/IP communication. The LTControl COM-object DLL is based on the tracker server C++ TPI, the Win32 Sockets 2.0 API and VC++ ATL. The LTControl.dll is, in a sense, a tracker server C++ client, allowing design of such a control. The programmer is not required to deal with TCP/IP communication libraries or system programming interfaces. The high-level TPI supports both synchronous and asynchronous methods. COM objects expose 'interfaces', described by a Type-Library, which is implicitly included in the DLL. A pure Type Library LTControl.tlb is also available, although not really needed. This Highlevel interface does not provide any additional functions (in terms of Tracker Server controlling User Manual • emScon TPI Chapter 4 • COM Interface • 69