TxtSmartFactoryLib  0.8.0
Smart Factory Library
ft::TxtAxis1RefSwitch Class Reference

#include <TxtAxis1RefSwitch.h>

Inheritance diagram for ft::TxtAxis1RefSwitch:
Collaboration diagram for ft::TxtAxis1RefSwitch:

Public Member Functions

 TxtAxis1RefSwitch (std::string name, TxtTransfer *pT, uint8_t chM, uint8_t chS1, uint16_t posEnd)
 
virtual ~TxtAxis1RefSwitch ()
 
void moveRef ()
 
std::thread moveRefThread ()
 
bool moveAbs (uint16_t p)
 
std::thread moveAbsThread (uint16_t p)
 
bool moveRel (int rp)
 
uint16_t getPosAbs ()
 
uint16_t getPosEnd ()
 
virtual void setMotorRight ()
 
- Public Member Functions inherited from ft::TxtAxis
 TxtAxis (std::string name, TxtTransfer *pT, uint8_t chM, uint8_t chS1)
 
virtual ~TxtAxis ()
 
TxtAxis_status_t getStatus ()
 
void setSpeed (int16_t s)
 
int16_t getSpeed ()
 
void stop ()
 
virtual void setMotorOff ()
 
virtual void setMotorLeft ()
 
- Public Member Functions inherited from ft::SubjectObserver
 SubjectObserver ()
 
virtual ~SubjectObserver ()
 
virtual void Attach (Observer *)
 
virtual void Detach (Observer *)
 
virtual void Notify ()
 

Protected Member Functions

void reset ()
 
void resetCounter ()
 
void moveLeft (uint16_t steps, uint16_t *pPos)
 
void moveRight (uint16_t steps, uint16_t *pPos)
 
- Protected Member Functions inherited from ft::TxtAxis
void configInputs (uint8_t chS)
 
bool isSwitchPressed (uint8_t chS)
 
void setStatus (TxtAxis_status_t status)
 

Protected Attributes

uint16_t pos
 
uint16_t posEnd
 
- Protected Attributes inherited from ft::TxtAxis
std::string name
 
TxtTransferpT
 
TxtAxis_status_t status
 
int16_t speed
 
bool stopReq
 
uint8_t chM
 
uint8_t chS1
 

Friends

class TxtVacuumGripperRobot
 
class TxtHighBayWarehouse
 

Constructor & Destructor Documentation

ft::TxtAxis1RefSwitch::TxtAxis1RefSwitch ( std::string  name,
TxtTransfer pT,
uint8_t  chM,
uint8_t  chS1,
uint16_t  posEnd 
)
virtual ft::TxtAxis1RefSwitch::~TxtAxis1RefSwitch ( )
virtual

Member Function Documentation

uint16_t ft::TxtAxis1RefSwitch::getPosAbs ( )
inline
uint16_t ft::TxtAxis1RefSwitch::getPosEnd ( )
inline
bool ft::TxtAxis1RefSwitch::moveAbs ( uint16_t  p)
std::thread ft::TxtAxis1RefSwitch::moveAbsThread ( uint16_t  p)
inline
void ft::TxtAxis1RefSwitch::moveLeft ( uint16_t  steps,
uint16_t *  pPos 
)
protected
void ft::TxtAxis1RefSwitch::moveRef ( )
std::thread ft::TxtAxis1RefSwitch::moveRefThread ( )
inline
bool ft::TxtAxis1RefSwitch::moveRel ( int  rp)
inline
void ft::TxtAxis1RefSwitch::moveRight ( uint16_t  steps,
uint16_t *  pPos 
)
protected
void ft::TxtAxis1RefSwitch::reset ( )
protected
void ft::TxtAxis1RefSwitch::resetCounter ( )
protected
virtual void ft::TxtAxis1RefSwitch::setMotorRight ( )
virtual

Reimplemented from ft::TxtAxis.

Friends And Related Function Documentation

friend class TxtHighBayWarehouse
friend
friend class TxtVacuumGripperRobot
friend

Member Data Documentation

uint16_t ft::TxtAxis1RefSwitch::pos
protected
uint16_t ft::TxtAxis1RefSwitch::posEnd
protected

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