mcx::drive::DriveBase

mcx::drive::DriveBase

Inherited by mcx::drive::DriveCiA402, mcx::drive::DriveCiA402Sim, mcx::drive::DriveSercos, mcx::drive::DriveSercosSim

Public Functions

Name
virtual ~DriveBase() =default
virtual void setName(const std::string & name) =0
virtual bool update(double dt_sec, const DriveIn & drive_in, DriveOut * drive_out) =0
virtual bool simulationEnabled() const =0
virtual DriveType getType() const =0
virtual const std::string & getName() const =0

Public Functions Documentation

function ~DriveBase

virtual ~DriveBase() =default

function setName

virtual void setName(
    const std::string & name
) =0

Reimplemented by: mcx::drive::DriveCiA402::setName, mcx::drive::DriveCiA402Sim::setName, mcx::drive::DriveSercos::setName, mcx::drive::DriveSercosSim::setName

function update

virtual bool update(
    double dt_sec,
    const DriveIn & drive_in,
    DriveOut * drive_out
) =0

Reimplemented by: mcx::drive::DriveCiA402::update, mcx::drive::DriveCiA402Sim::update, mcx::drive::DriveSercos::update, mcx::drive::DriveSercosSim::update

function simulationEnabled

virtual bool simulationEnabled() const =0

Reimplemented by: mcx::drive::DriveCiA402::simulationEnabled, mcx::drive::DriveCiA402Sim::simulationEnabled, mcx::drive::DriveSercos::simulationEnabled, mcx::drive::DriveSercosSim::simulationEnabled

function getType

virtual DriveType getType() const =0

Reimplemented by: mcx::drive::DriveCiA402::getType, mcx::drive::DriveCiA402Sim::getType, mcx::drive::DriveSercos::getType, mcx::drive::DriveSercosSim::getType

function getName

virtual const std::string & getName() const =0

Reimplemented by: mcx::drive::DriveCiA402::getName, mcx::drive::DriveCiA402Sim::getName, mcx::drive::DriveSercos::getName, mcx::drive::DriveSercosSim::getName


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