Class EcSlave.
More...
#include <EcSlave.h>
|
virtual | ~EcSlave () |
| Destructor.
|
|
const std::string & | getName () const |
| Get the slave name.
|
|
virtual bool | configure () |
| Configures the slave.
|
|
virtual void | start () |
| Starts the slave.
|
|
virtual void | update ()=0 |
| Updates the slave.
|
|
virtual void | stop () |
| Stops the slave.
|
|
virtual bool | requestState (ec_state state) |
| Requests the slave state.
|
|
virtual bool | checkState (ec_state state) |
| Checks the slave state.
|
|
virtual ec_state | getState () |
| Gets the slave state.
|
|
virtual void | setDC (bool active, unsigned int sync0Time, unsigned int sync0Shift) |
| Set the Distributed clock.
|
|
virtual void | setPDOBuffer (char *input, char *output) |
| Set PDO buffer.
|
|
|
boost::signals2::signal< void()> | updateMaster |
| Update Master outputs.
|
|
Class EcSlave.
The EcSlave is a base class designed as a template for ethercat slaves.
cpp4ec::EcSlave::EcSlave |
( |
ec_slavet * |
mem_loc | ) |
|
|
protected |
ec_slavet* cpp4ec::EcSlave::m_datap |
|
protected |
A pointer to the soem slave information
std::string cpp4ec::EcSlave::m_name |
|
protected |
unsigned int cpp4ec::EcSlave::m_slave_nr |
|
protected |
The documentation for this class was generated from the following files:
- /home/users/sergi.ruiz/cpp4ec/src/EcSlave.h
- /home/users/sergi.ruiz/cpp4ec/src/EcSlave.cpp