TG Motion  version 502 - 4034/906 cnc 126
tgm_comm_int_5_dll.h File Reference

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

#include "tgm.h"
#include "fmt/printf.h"
#include "xcompatibility.h"
#include <string>

Classes

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

Typedefs

using TGM_IF_ERR = CTGM_COMM_INT_5::error_code
 Simplify write of CTGM_COMM_INT_5::error_code.
 
using TGM_IF_RW = CTGM_COMM_INT_5::read_write
 Simplify write of CTGM_COMM_INT_5::read_write.
 
using TGM_IF_STAT = CTGM_COMM_INT_5::status
 Simplify write of CTGM_COMM_INT_5::status.
 
using TGM_IF_DEV = CTGM_COMM_INT_5::device
 Simplify write of CTGM_COMM_INT_5::device.
 
using TGM_IF_MEM = CTGM_COMM_INT_5::shared_memory
 Simplify write of CTGM_COMM_INT_5::shared_memory.
 
using TGM_IF_CONN_MEM = CTGM_COMM_INT_5::connected_memory
 Simplify write of CTGM_COMM_INT_5::connected_memory.
 
using TGM_IF_FILE_OP_RESULT = CTGM_COMM_INT_5::file_op_result
 Simplify write of CTGM_COMM_INT_5::file_op_result.
 
using TGM_IF_FILE_TYPE = CTGM_COMM_INT_5::file_type
 Simplify write of CTGM_COMM_INT_5::file_type.
 
using TGM_IF_FILE_WRITE_MODE = CTGM_COMM_INT_5::file_write_mode
 Simplify write of CTGM_COMM_INT_5::file_write_mode.
 
using TGM_IF_FILE_OVERWRITE = CTGM_COMM_INT_5::file_overwrite
 Simplify write of CTGM_COMM_INT_5::file_overwrite.
 

Detailed Description

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


Author
Jan Vasina
Date
2020.02.20

TGM_Comm_Int_5 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_5 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.

Date
2023.07.25 Added support for extended file functions.