Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
youbot::EncoderStopSwitch Class Reference

#include <YouBotJointParameterPasswordProtected.hpp>

Inheritance diagram for youbot::EncoderStopSwitch:
Inheritance graph
[legend]

Public Member Functions

 EncoderStopSwitch ()
 
void getParameter (unsigned int &parameter) const
 
void setParameter (const unsigned int parameter)
 
void toString (std::string &value)
 
virtual ~EncoderStopSwitch ()
 
- Public Member Functions inherited from youbot::YouBotJointParameterPasswordProtected
virtual ~YouBotJointParameterPasswordProtected ()
 
- Public Member Functions inherited from youbot::YouBotJointParameter
virtual ~YouBotJointParameter ()
 
- Public Member Functions inherited from youbot::YouBotJointParameterReadOnly
virtual ~YouBotJointParameterReadOnly ()
 

Private Member Functions

std::string getName () const
 
ParameterType getType () const
 
void getYouBotMailboxMsg (YouBotSlaveMailboxMsg &message, TMCLCommandNumber msgType, const YouBotJointStorage &storage) const
 
void setYouBotMailboxMsg (const YouBotSlaveMailboxMsg &message, const YouBotJointStorage &storage)
 

Private Attributes

unsigned int lowerLimit
 
std::string name
 
ParameterType parameterType
 
unsigned int upperLimit
 
unsigned int value
 

Friends

class YouBotJoint
 

Additional Inherited Members

- Protected Member Functions inherited from youbot::YouBotJointParameterPasswordProtected
 YouBotJointParameterPasswordProtected ()
 
- Protected Member Functions inherited from youbot::YouBotJointParameter
 YouBotJointParameter ()
 
- Protected Member Functions inherited from youbot::YouBotJointParameterReadOnly
 YouBotJointParameterReadOnly ()
 
- Protected Attributes inherited from youbot::YouBotJointParameterPasswordProtected
std::string name
 
ParameterType parameterType
 
- Protected Attributes inherited from youbot::YouBotJointParameter
std::string name
 
ParameterType parameterType
 
- Protected Attributes inherited from youbot::YouBotJointParameterReadOnly
std::string name
 
ParameterType parameterType
 

Detailed Description

Encoder stop switch. Bit 0: Left stop switch enable
When this bit is set the motor will be stopped if it is moving in negative direction and the left stop switch input becomes active.

Bit 1: Right stop switch enable
When this bit is set the motor will be stopped if it is moving in positive direction and the right stop switch input becomes active

Please see StopSwitchPolarity for selecting the stop switch input polarity.

Definition at line 403 of file YouBotJointParameterPasswordProtected.hpp.

Constructor & Destructor Documentation

youbot::EncoderStopSwitch::EncoderStopSwitch ( )

Definition at line 518 of file YouBotJointParameterPasswordProtected.cpp.

youbot::EncoderStopSwitch::~EncoderStopSwitch ( )
virtual

Definition at line 527 of file YouBotJointParameterPasswordProtected.cpp.

Member Function Documentation

std::string youbot::EncoderStopSwitch::getName ( ) const
inlineprivatevirtual
void youbot::EncoderStopSwitch::getParameter ( unsigned int &  parameter) const

Definition at line 532 of file YouBotJointParameterPasswordProtected.cpp.

ParameterType youbot::EncoderStopSwitch::getType ( ) const
inlineprivatevirtual
void youbot::EncoderStopSwitch::getYouBotMailboxMsg ( YouBotSlaveMailboxMsg message,
TMCLCommandNumber  msgType,
const YouBotJointStorage storage 
) const
privatevirtual
void youbot::EncoderStopSwitch::setParameter ( const unsigned int  parameter)

Definition at line 538 of file YouBotJointParameterPasswordProtected.cpp.

void youbot::EncoderStopSwitch::setYouBotMailboxMsg ( const YouBotSlaveMailboxMsg message,
const YouBotJointStorage storage 
)
privatevirtual
void youbot::EncoderStopSwitch::toString ( std::string &  value)
virtual

Friends And Related Function Documentation

friend class YouBotJoint
friend

Definition at line 404 of file YouBotJointParameterPasswordProtected.hpp.

Member Data Documentation

unsigned int youbot::EncoderStopSwitch::lowerLimit
private

Definition at line 428 of file YouBotJointParameterPasswordProtected.hpp.

std::string youbot::EncoderStopSwitch::name
private

Definition at line 432 of file YouBotJointParameterPasswordProtected.hpp.

ParameterType youbot::EncoderStopSwitch::parameterType
private

Definition at line 434 of file YouBotJointParameterPasswordProtected.hpp.

unsigned int youbot::EncoderStopSwitch::upperLimit
private

Definition at line 424 of file YouBotJointParameterPasswordProtected.hpp.

unsigned int youbot::EncoderStopSwitch::value
private

Definition at line 430 of file YouBotJointParameterPasswordProtected.hpp.


The documentation for this class was generated from the following files:


youbot_driver
Author(s): Jan Paulus
autogenerated on Mon Jun 10 2019 15:46:27