Motion Master
Loading...
Searching...
No Matches
global.cc File Reference
#include "global.h"
#include "ethercat.h"
Include dependency graph for global.cc:

Functions

void g_soem_update_slavecount ()

Variables

uint8 g_pIOmap [4096]
volatile sig_atomic_t g_sig_caught = 0
std::string g_driver_name {"igh"}
MasterType g_master_type {MasterType::kUnspecified}
uint16_t g_req_res_port {63524}
uint16_t g_pub_sub_port {63525}
std::string g_soem_mac_address {""}
std::string g_soem_ifname {""}
std::vector< std::recursive_mutex > g_soem_mailbox_mutexes {255}
std::atomic< int > g_slavecount {-1}
std::atomic< bool > g_pdo_mapping_in_progress {false}
size_t g_mock_devices
std::string g_templates_path
std::string g_internal_log
bool g_eol_mode = false
std::vector< std::string > g_ethernet_ip_addresses {}
std::string g_ethernet_pdo_mode {"monitor"}

Function Documentation

◆ g_soem_update_slavecount()

void g_soem_update_slavecount ( )

Variable Documentation

◆ g_driver_name

std::string g_driver_name {"igh"}

◆ g_eol_mode

bool g_eol_mode = false

◆ g_ethernet_ip_addresses

std::vector<std::string> g_ethernet_ip_addresses {}

◆ g_ethernet_pdo_mode

std::string g_ethernet_pdo_mode {"monitor"}

◆ g_internal_log

std::string g_internal_log

◆ g_master_type

◆ g_mock_devices

size_t g_mock_devices

◆ g_pdo_mapping_in_progress

std::atomic<bool> g_pdo_mapping_in_progress {false}

◆ g_pIOmap

uint8 g_pIOmap[4096]

◆ g_pub_sub_port

uint16_t g_pub_sub_port {63525}

◆ g_req_res_port

uint16_t g_req_res_port {63524}

◆ g_sig_caught

volatile sig_atomic_t g_sig_caught = 0

◆ g_slavecount

std::atomic<int> g_slavecount {-1}

◆ g_soem_ifname

std::string g_soem_ifname {""}

◆ g_soem_mac_address

std::string g_soem_mac_address {""}

◆ g_soem_mailbox_mutexes

std::vector<std::recursive_mutex> g_soem_mailbox_mutexes {255}

◆ g_templates_path

std::string g_templates_path