|
void | configureErrorCountersReading (bool enable, unsigned int periodInMS) |
| configureErrorCountersReading configure stuff More...
|
|
const std::vector< std::shared_ptr< DeviceInterface > > & | getDevices () const |
| Returns all initialized devices. More...
|
|
std::uint64_t | getIterationCount () const |
|
PDOValidity | getPDOValidity () const |
|
std::experimental::observer_ptr< SlaveInterface > | getSlaveAtIndex (std::uint16_t slaveIndex) const |
|
std::vector< std::experimental::observer_ptr< SlaveInterface > > | getSlaves () const |
| Returns all identifiied slaves on the bus. More...
|
|
std::string | logErrorsToFile (std::filesystem::path path, unsigned int lastSeconds) |
|
void | registerDeviceFactory (const std::string &name, const DeviceFactory &factory) |
|
void | registerSlaveFactory (const SlaveFactory &factory) |
|
EtherCATState | rtGetEtherCATState () const |
|
BusFunctionalState | rtGetFunctionalState () const |
|
bool | rtHasError () const |
|
bool | rtIsEmergencyStopActive () const |
|
bool | rtUpdateBus (bool doErrorHandling=true, size_t iterationCount=0) |
| Updates all information on the bus, so all commands will be send to the Bus and all sensor and other monitored values will be recived from the bus. More...
|
|
void | setAndParseHardwareConfig (const MultiNodeRapidXMLReader &hwconfig) |
|
void | setIfName (const std::string &ifname) |
|
void | setRobot (const VirtualRobot::RobotPtr &robot) |
|
void | setSocketFileDescriptor (int socketFileDescriptor) |
|
void | shutdown () |
| Shuts the bus down by executing the shutdown-hook for each slave and afterwards switch all slaves to EC_STATE_INIT. More...
|
|
bool | switchBusToInit () |
|
bool | switchBusToOp () |
|
bool | switchBusToPreOp () |
|
bool | switchBusToSafeOp () |
|
EtherCATState | changeStateOfBus (EtherCATState state, bool validate=true) |
|
EtherCATState | changeStateOfSlave (std::uint16_t slaveIndex, EtherCATState state, bool validate=true) |
|
void | deactivateCOECA (std::uint16_t slaveIndex) |
| This deactivates the Complete access mode in CoE for the given slave. More...
|
|
bool | readRegisters (EtherCATFrameList *frames, std::uint16_t amountFramesToRead=0) |
|
bool | readRegisters (std::vector< RegisterDataList > ®isterData) |
|
bool | readSDOByteBuffer (std::uint16_t slaveIndex, std::uint16_t index, std::uint8_t subIndex, int *buflen, unsigned char *buf, bool completeAccess=false) |
| Performs a SDO read from the slave and returns true if it succeeds. More...
|
|
template<typename T , typename = std::enable_if_t<std::is_integral_v<T>>> |
bool | readSDOEntry (std::uint16_t slaveIndex, std::uint16_t index, std::uint8_t subIndex, T &result, bool completeAccess=false) |
| Performs a SDO read of an single entry from the slave and returns true if it succeeds. More...
|
|
EtherCATState | readStates () |
|
bool | resetErrorRegisters (std::uint16_t slaveIndex) |
|
void | setTimeouts (Timeouts const &timeouts) |
|
bool | writeSDOByteBuffer (std::uint16_t slaveIndex, std::uint16_t index, std::uint8_t subIndex, int buflen, const unsigned char *buf, bool completeAccess=false) |
| Performs a SDO write to the slave with the given slaveIndex and returns true if it succeeds. More...
|
|
template<typename T , typename = std::enable_if_t<std::is_integral_v<T>>> |
bool | writeSDOEntry (std::uint16_t slaveIndex, std::uint16_t index, std::uint8_t subIndex, T value, bool completeAccess=false) |
| Performs a SDO write to a single entry to the slave with the give slaveIndex and returns true if it succeeds. More...
|
|
virtual | ~BusIO () |
|
SpamFilterDataPtr | deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const |
| disables the logging for the current line for the given amount of seconds. More...
|
|
MessageTypeT | getEffectiveLoggingLevel () const |
|
| Logging () |
|
void | setLocalMinimumLoggingLevel (MessageTypeT level) |
| With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. More...
|
|
void | setTag (const LogTag &tag) |
|
void | setTag (const std::string &tagName) |
|
virtual | ~Logging () |
|
Brief description of class Bus.
Detailed description of class Bus.
Definition at line 55 of file Bus.h.