Motion Master
Loading...
Searching...
No Matches
Classes | Macros | Enumerations | Functions | Variables
global.h File Reference
#include <atomic>
#include <csignal>
#include <iostream>
#include <map>
#include <mutex>
#include <queue>
#include <string>
#include <thread>
#include <unordered_map>
#include <vector>
#include "ethercat.h"
#include "loguru.h"
#include "standalone_autotuning.h"
Include dependency graph for global.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  InternalLogger
 Logging class. More...
 

Macros

#define M_PI   3.14159265358979323846
 

Enumerations

enum class  MasterType { kUnspecified , kIgh , kMock , kSoem }
 

Functions

void g_soem_update_slavecount ()
 

Variables

StandaloneAutotuning g_standalone_autotuning
 
uint8 g_pIOmap [4096]
 
volatile sig_atomic_t g_sig_caught
 
MasterType g_master_type
 
uint16_t g_req_res_port
 
uint16_t g_pub_sub_port
 
std::string g_soem_mac_address
 
std::string g_soem_ifname
 
std::vector< std::mutex > g_soem_mailbox_mutexes
 
std::atomic< int > g_soem_slavecount
 
std::atomic< bool > g_pdo_mapping_in_progress
 
size_t g_mock_devices
 
std::string g_templates_path
 
bool g_eol_mode
 

Macro Definition Documentation

◆ M_PI

#define M_PI   3.14159265358979323846

Enumeration Type Documentation

◆ MasterType

enum class MasterType
strong
Enumerator
kUnspecified 
kIgh 
kMock 
kSoem 

Function Documentation

◆ g_soem_update_slavecount()

void g_soem_update_slavecount ( )

Variable Documentation

◆ g_eol_mode

bool g_eol_mode
extern

◆ g_master_type

MasterType g_master_type
extern

◆ g_mock_devices

size_t g_mock_devices
extern

◆ g_pdo_mapping_in_progress

std::atomic<bool> g_pdo_mapping_in_progress
extern

◆ g_pIOmap

uint8 g_pIOmap[4096]
extern

◆ g_pub_sub_port

uint16_t g_pub_sub_port
extern

◆ g_req_res_port

uint16_t g_req_res_port
extern

◆ g_sig_caught

volatile sig_atomic_t g_sig_caught
extern

◆ g_soem_ifname

std::string g_soem_ifname
extern

◆ g_soem_mac_address

std::string g_soem_mac_address
extern

◆ g_soem_mailbox_mutexes

std::vector<std::mutex> g_soem_mailbox_mutexes
extern

◆ g_soem_slavecount

std::atomic<int> g_soem_slavecount
extern

◆ g_standalone_autotuning

StandaloneAutotuning g_standalone_autotuning
extern

◆ g_templates_path

std::string g_templates_path
extern