ANYdrive SDK
The SDK for interfacing ANYdrive.
anydrive_ethercat::AnydriveEthercatBusManager Class Reference

#include <AnydriveEthercatBusManager.hpp>

Inheritance diagram for anydrive_ethercat::AnydriveEthercatBusManager:
Inheritance graph

Public Member Functions

 AnydriveEthercatBusManager ()=default
 
virtual ~AnydriveEthercatBusManager ()=default
 
bool loadSetup (const anydrive::setup::SetupPtr setup, anydrive::AnydriveManager *anydriveManager) override
 
bool startup () override
 
void updateRead () override
 
void updateWrite () override
 
void shutdown () override
 

Protected Types

using Mutex = std::recursive_mutex
 
using Lock = std::lock_guard< Mutex >
 

Protected Attributes

Mutex mutex_
 
std::map< std::string, anydrive_ethercat::AnydriveEthercatBusPtrbuses_
 

Additional Inherited Members

- Protected Member Functions inherited from anydrive::communication::CommunicationManagerBase
 CommunicationManagerBase ()=default
 
virtual ~CommunicationManagerBase ()=default
 

Member Typedef Documentation

◆ Lock

using anydrive_ethercat::AnydriveEthercatBusManager::Lock = std::lock_guard<Mutex>
protected

◆ Mutex

using anydrive_ethercat::AnydriveEthercatBusManager::Mutex = std::recursive_mutex
protected

Constructor & Destructor Documentation

◆ AnydriveEthercatBusManager()

anydrive_ethercat::AnydriveEthercatBusManager::AnydriveEthercatBusManager ( )
default

◆ ~AnydriveEthercatBusManager()

virtual anydrive_ethercat::AnydriveEthercatBusManager::~AnydriveEthercatBusManager ( )
virtualdefault

Member Function Documentation

◆ loadSetup()

bool anydrive_ethercat::AnydriveEthercatBusManager::loadSetup ( const anydrive::setup::SetupPtr  setup,
anydrive::AnydriveManager anydriveManager 
)
overridevirtual

◆ shutdown()

void anydrive_ethercat::AnydriveEthercatBusManager::shutdown ( )
overridevirtual

◆ startup()

bool anydrive_ethercat::AnydriveEthercatBusManager::startup ( )
overridevirtual

◆ updateRead()

void anydrive_ethercat::AnydriveEthercatBusManager::updateRead ( )
overridevirtual

◆ updateWrite()

void anydrive_ethercat::AnydriveEthercatBusManager::updateWrite ( )
overridevirtual

Member Data Documentation

◆ buses_

std::map<std::string, anydrive_ethercat::AnydriveEthercatBusPtr> anydrive_ethercat::AnydriveEthercatBusManager::buses_
protected

◆ mutex_

Mutex anydrive_ethercat::AnydriveEthercatBusManager::mutex_
protected

The documentation for this class was generated from the following files: