mcx::ecat::Simulation

mcx::ecat::Simulation

Inherits from mcx::ecat::EthercatBase

Public Functions

Name
Simulation() =default
virtual ~Simulation()
virtual bool createMaster(unsigned int id) override
virtual bool setSendInterval(unsigned long dt_micro_s) override
virtual int addDomain(DomainBase * domain) override
virtual bool startMaster() override
virtual bool iterate(const container::TaskTime & system_time, container::UserTime * user_time) override
virtual bool stopMaster() override
virtual const char * getDriverName() const override

Additional inherited members

Public Functions inherited from mcx::ecat::EthercatBase

Name
virtual ~EthercatBase() =default
virtual void setSystemMode(utils::SystemMode mode)
virtual bool setCpuAffinity(int cpu_affinity)
utils::SystemMode getSystemMode() const
unsigned int getId() const
void setSyncFactor(unsigned int sync_factor)
unsigned int getSyncFactor() const

Protected Attributes inherited from mcx::ecat::EthercatBase

Name
unsigned int master_id_

Public Functions Documentation

function Simulation

Simulation() =default

function ~Simulation

virtual ~Simulation()

function createMaster

virtual bool createMaster(
    unsigned int id
) override

Reimplements: mcx::ecat::EthercatBase::createMaster

function setSendInterval

virtual bool setSendInterval(
    unsigned long dt_micro_s
) override

Reimplements: mcx::ecat::EthercatBase::setSendInterval

function addDomain

virtual int addDomain(
    DomainBase * domain
) override

Reimplements: mcx::ecat::EthercatBase::addDomain

function startMaster

virtual bool startMaster() override

Reimplements: mcx::ecat::EthercatBase::startMaster

function iterate

virtual bool iterate(
    const container::TaskTime & system_time,
    container::UserTime * user_time
) override

Reimplements: mcx::ecat::EthercatBase::iterate

function stopMaster

virtual bool stopMaster() override

Reimplements: mcx::ecat::EthercatBase::stopMaster

function getDriverName

inline virtual const char * getDriverName() const override

Reimplements: mcx::ecat::EthercatBase::getDriverName


Updated on 2022-04-05 at 16:21:27 +0200