TG Motion  version 421 - 4033/904 cnc 121
Real-time system for controlling servo drives and I/O modules
tgm_comm_int_ii_dll.h File Reference

C++ interface file to TGM_Comm_Int_2 library (DLL or so) More...

#include <stdint.h>
#include <assert.h>
#include <Windows.h>
#include <tchar.h>
#include <stdio.h>

Go to the source code of this file.

Classes

class  CTGM_COMM_INT_2
 C++ wrapper class for TGM_Comm_Int_2 library functions. More...
 

Typedefs

typedef CTGM_COMM_INT_2::error_code TGM_IF_ERR
 Simplify write of CTGM_COMM_INT_2::error_code.
 
typedef CTGM_COMM_INT_2::read_write TGM_IF_RW
 Simplify write of CTGM_COMM_INT_2::read_write.
 
typedef CTGM_COMM_INT_2::status TGM_IF_STAT
 Simplify write of CTGM_COMM_INT_2::status.
 
typedef CTGM_COMM_INT_2::device TGM_IF_DEV
 Simplify write of CTGM_COMM_INT_2::device.
 
typedef CTGM_COMM_INT_2::shared_memory TGM_IF_MEM
 Simplify write of CTGM_COMM_INT_2::shared_memory.
 
typedef CTGM_COMM_INT_2::connected_memory TGM_IF_CONN_MEM
 Simplify write of CTGM_COMM_INT_2::connected_memory.
 

Detailed Description

C++ interface file to TGM_Comm_Int_2 library (DLL or so)


Author
Jan Vasina
Date
23 Oct 2017

TGM_Comm_Int_2 library serves as an interface between user application and TG Motion real-time system. All the communication to/from TG Motion is done through shared memories. The TGM_Comm_Int_2 library hides the details of shared memory opening, closing, etc. This wrapper class can be used on both Windows (uses plain Win32 API) or Linux (uses Qt portable library) operating systems.

Definition in file tgm_comm_int_ii_dll.h.