TxtSmartFactoryLib  0.8.0
Smart Factory Library
ft::TxtMultiProcessingStation Class Reference

#include <TxtMultiProcessingStation.h>

Inheritance diagram for ft::TxtMultiProcessingStation:
Collaboration diagram for ft::TxtMultiProcessingStation:

Public Types

enum  State_t {
  __NO_STATE, FAULT, INIT, IDLE,
  BURN, VGR_TRANSPORT, TABLE_SAW, TABLE_BELT,
  EJECT, TRANSPORT
}
 

Public Member Functions

const char * toString (State_t state)
 
void printState (State_t state)
 
void printEntryState (State_t state)
 
void printExitState (State_t state)
 
 TxtMultiProcessingStation (TxtTransfer *pT, ft::TxtMqttFactoryClient *mqttclient=0)
 
virtual ~TxtMultiProcessingStation ()
 
void requestQuit ()
 
void requestExit (const std::string name)
 
void requestVGRproduce (TxtWorkpiece *wp)
 
void requestSLDstarted ()
 
bool isEndConveyorBeltTriggered ()
 
void setSawOff ()
 
void setSawLeft ()
 
void setSawRight ()
 
void setValveEjection (bool on)
 
void setCompressor (bool on)
 
bool isOvenTriggered ()
 
void setValveVacuum (bool on)
 
void setValveLowering (bool on)
 
void setValveOvenDoor (bool on)
 
void setLightOven (bool on)
 
- Public Member Functions inherited from ft::TxtSimulationModel
 TxtSimulationModel (TxtTransfer *pT, ft::TxtMqttFactoryClient *mqttclient)
 
virtual ~TxtSimulationModel ()
 
TxtSimulationModel_status_t getStatus ()
 
bool isActive ()
 
bool startThread ()
 
bool stopThread ()
 
bool isThreadRunning ()
 
- Public Member Functions inherited from ft::SubjectObserver
 SubjectObserver ()
 
virtual ~SubjectObserver ()
 
virtual void Attach (Observer *)
 
virtual void Detach (Observer *)
 
virtual void Notify ()
 

Public Attributes

TxtAxisNSwitch axisGripper
 
TxtAxisNSwitch axisOvenInOut
 
TxtAxisNSwitch axisRotTable
 
- Public Attributes inherited from ft::TxtSimulationModel
TxtSound sound
 

Protected Member Functions

void configInputs ()
 
void run ()
 
- Protected Member Functions inherited from ft::TxtSimulationModel
void setStatus (TxtSimulationModel_status_t s)
 
void setActStatus (bool a, TxtSimulationModel_status_t s)
 

Protected Attributes

State_t currentState
 
State_t newState
 
uint8_t chMsaw
 
TxtVacuumGripper vgripper
 
TxtConveyorBelt convBelt
 
TxtMultiProcessingStationCalibData calibData
 
bool reqQuit
 
TxtWorkpiecereqVGRwp
 
bool reqVGRproduce
 
bool reqSLDstarted
 
TxtMultiProcessingStationObserverobs_mpo
 
- Protected Attributes inherited from ft::TxtSimulationModel
ft::TxtMqttFactoryClientmqttclient
 
TxtSimulationModel_status_t status
 
bool active
 
TxtTransferpT
 
volatile bool m_stoprequested
 
volatile bool m_running
 
pthread_mutex_t m_mutex
 
pthread_t m_thread
 

Additional Inherited Members

- Static Protected Member Functions inherited from ft::TxtSimulationModel
static void * start_thread (void *obj)
 

Member Enumeration Documentation

Enumerator
__NO_STATE 
FAULT 
INIT 
IDLE 
BURN 
VGR_TRANSPORT 
TABLE_SAW 
TABLE_BELT 
EJECT 
TRANSPORT 

Constructor & Destructor Documentation

ft::TxtMultiProcessingStation::TxtMultiProcessingStation ( TxtTransfer pT,
ft::TxtMqttFactoryClient mqttclient = 0 
)
virtual ft::TxtMultiProcessingStation::~TxtMultiProcessingStation ( )
virtual

Member Function Documentation

void ft::TxtMultiProcessingStation::configInputs ( )
protected
bool ft::TxtMultiProcessingStation::isEndConveyorBeltTriggered ( )
bool ft::TxtMultiProcessingStation::isOvenTriggered ( )
void ft::TxtMultiProcessingStation::printEntryState ( State_t  state)
inline
void ft::TxtMultiProcessingStation::printExitState ( State_t  state)
inline
void ft::TxtMultiProcessingStation::printState ( State_t  state)
inline
void ft::TxtMultiProcessingStation::requestExit ( const std::string  name)
inline
void ft::TxtMultiProcessingStation::requestQuit ( )
inline
void ft::TxtMultiProcessingStation::requestSLDstarted ( )
inline
void ft::TxtMultiProcessingStation::requestVGRproduce ( TxtWorkpiece wp)
inline
void ft::TxtMultiProcessingStation::run ( )
protectedvirtual
void ft::TxtMultiProcessingStation::setCompressor ( bool  on)
void ft::TxtMultiProcessingStation::setLightOven ( bool  on)
void ft::TxtMultiProcessingStation::setSawLeft ( )
void ft::TxtMultiProcessingStation::setSawOff ( )
void ft::TxtMultiProcessingStation::setSawRight ( )
void ft::TxtMultiProcessingStation::setValveEjection ( bool  on)
void ft::TxtMultiProcessingStation::setValveLowering ( bool  on)
void ft::TxtMultiProcessingStation::setValveOvenDoor ( bool  on)
void ft::TxtMultiProcessingStation::setValveVacuum ( bool  on)
const char* ft::TxtMultiProcessingStation::toString ( State_t  state)
inline

Member Data Documentation

TxtAxisNSwitch ft::TxtMultiProcessingStation::axisGripper
TxtAxisNSwitch ft::TxtMultiProcessingStation::axisOvenInOut
TxtAxisNSwitch ft::TxtMultiProcessingStation::axisRotTable
TxtMultiProcessingStationCalibData ft::TxtMultiProcessingStation::calibData
protected
uint8_t ft::TxtMultiProcessingStation::chMsaw
protected
TxtConveyorBelt ft::TxtMultiProcessingStation::convBelt
protected
State_t ft::TxtMultiProcessingStation::currentState
protected
State_t ft::TxtMultiProcessingStation::newState
protected
TxtMultiProcessingStationObserver* ft::TxtMultiProcessingStation::obs_mpo
protected
bool ft::TxtMultiProcessingStation::reqQuit
protected
bool ft::TxtMultiProcessingStation::reqSLDstarted
protected
bool ft::TxtMultiProcessingStation::reqVGRproduce
protected
TxtWorkpiece* ft::TxtMultiProcessingStation::reqVGRwp
protected
TxtVacuumGripper ft::TxtMultiProcessingStation::vgripper
protected

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