TxtSmartFactoryLib  0.8.0
Smart Factory Library
ft::TxtAxisNSwitch Class Reference

#include <TxtAxisNSwitch.h>

Inheritance diagram for ft::TxtAxisNSwitch:
Collaboration diagram for ft::TxtAxisNSwitch:

Public Member Functions

 TxtAxisNSwitch (std::string name, TxtTransfer *pT, uint8_t chM, uint8_t chS1, uint8_t chS2)
 
 TxtAxisNSwitch (std::string name, TxtTransfer *pT, uint8_t chM, uint8_t chS1, uint8_t chS2, uint8_t chS3)
 
virtual ~TxtAxisNSwitch ()
 
void moveS2X (int idx)
 
void moveS1 ()
 
std::thread moveS1Thread ()
 
void moveS2 ()
 
std::thread moveS2Thread ()
 
void moveS3 ()
 
std::thread moveS3Thread ()
 
bool isS2XValid (int idx)
 
- 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 ()
 
virtual void setMotorRight ()
 

Protected Attributes

std::vector< uint8_t > chS2X
 
- 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
 

Additional Inherited Members

- Protected Member Functions inherited from ft::TxtAxis
void configInputs (uint8_t chS)
 
bool isSwitchPressed (uint8_t chS)
 
void setStatus (TxtAxis_status_t status)
 

Constructor & Destructor Documentation

ft::TxtAxisNSwitch::TxtAxisNSwitch ( std::string  name,
TxtTransfer pT,
uint8_t  chM,
uint8_t  chS1,
uint8_t  chS2 
)
ft::TxtAxisNSwitch::TxtAxisNSwitch ( std::string  name,
TxtTransfer pT,
uint8_t  chM,
uint8_t  chS1,
uint8_t  chS2,
uint8_t  chS3 
)
virtual ft::TxtAxisNSwitch::~TxtAxisNSwitch ( )
virtual

Member Function Documentation

bool ft::TxtAxisNSwitch::isS2XValid ( int  idx)
inline
void ft::TxtAxisNSwitch::moveS1 ( )
inline
std::thread ft::TxtAxisNSwitch::moveS1Thread ( )
inline
void ft::TxtAxisNSwitch::moveS2 ( )
inline
std::thread ft::TxtAxisNSwitch::moveS2Thread ( )
inline
void ft::TxtAxisNSwitch::moveS2X ( int  idx)
void ft::TxtAxisNSwitch::moveS3 ( )
inline
std::thread ft::TxtAxisNSwitch::moveS3Thread ( )
inline

Member Data Documentation

std::vector<uint8_t> ft::TxtAxisNSwitch::chS2X
protected

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