52 #ifndef _YOUBOT_SLAVE_MAILBOX_MESSAGE_H 53 #define _YOUBOT_SLAVE_MAILBOX_MESSAGE_H 72 mailboxOutputBuffer() : moduleAddress(0), commandNumber(0), typeNumber(0), motorNumber(0), value(0) {};
86 mailboxInputBuffer() : replyAddress(0), moduleAddress(0), status(0), commandNumber(0), value(0) {};
108 slaveNumber = slaveNo;
151 slaveNumber.Set(1000);
157 slaveNumber.Set(slaveNo);
164 std::string tempParameterName;
165 unsigned int SlaveNumber;
169 stctOutput.
Set(tempStctOutput);
172 stctInput.
Set(tempStctInput);
175 slaveNumber.Set(SlaveNumber);
178 parameterName.Set(tempParameterName);
191 std::string tempParameterName;
192 unsigned int SlaveNumber;
196 stctOutput.
Set(tempStctOutput);
199 stctInput.
Set(tempStctInput);
202 slaveNumber.Set(SlaveNumber);
205 parameterName.Set(tempParameterName);
YouBotSlaveMailboxMsgThreadSafe()
YouBotSlaveMailboxMsg & operator=(const YouBotSlaveMailboxMsg ©)
~YouBotSlaveMailboxMsgThreadSafe()
YouBotSlaveMailboxMsgThreadSafe(const YouBotSlaveMailboxMsgThreadSafe ©)
PACKED_BEGIN struct youbot::mailboxOutputBuffer PACKED
YouBotSlaveMailboxMsg(const YouBotSlaveMailboxMsg ©)
YouBotSlaveMailboxMsgThreadSafe & operator=(const YouBotSlaveMailboxMsgThreadSafe ©)
virtual DataType Get() const
mailboxInputBuffer stctInput
Output part from the EtherCAT mailbox message of the youBot slaves.
General typedefs and defines for EtherCAT.
DataObjectLockFree< mailboxOutputBuffer > stctOutput
mailboxOutputBuffer stctOutput
DataObjectLockFree< std::string > parameterName
YouBotSlaveMailboxMsg(unsigned int slaveNo)
This DataObject is a Lock-Free implementation, such that reads and writes can happen concurrently wit...
DataObjectLockFree< unsigned int > slaveNumber
YouBotSlaveMailboxMsgThreadSafe(unsigned int slaveNo)
EtherCAT mailbox message of the youBot slaves (thread safe)
EtherCAT mailbox message of the youBot slaves.
virtual void Set(const DataType &push)
DataObjectLockFree< mailboxInputBuffer > stctInput
std::string parameterName