14 #ifndef MITKQUANTELLASER_H_HEADER_INCLUDED 15 #define MITKQUANTELLASER_H_HEADER_INCLUDED 17 #include "itkObject.h" 31 #include "MitkPhotoacousticsHardwareExports.h" 35 class MITKPHOTOACOUSTICSHARDWARE_EXPORT
QuantelLaser :
public itk::LightObject
39 itkFactorylessNewMacro(Self);
48 virtual bool OpenConnection(std::string configurationFile);
55 virtual bool CloseConnection();
57 virtual std::string SendAndReceiveLine(
const std::string* input, std::string* answer);
59 virtual void StayAlive();
60 virtual bool StartFlashing();
61 virtual bool StopFlashing();
63 virtual bool StartQswitching();
64 virtual bool StopQswitching();
65 virtual bool IsEmitting();
66 virtual bool IsFlashing();
84 bool m_KeepAlive =
false;
85 bool m_FlashlampRunning =
false;
86 bool m_ShutterOpen =
false;
87 bool m_LaserEmission =
false;
88 void LoadResorceFile(std::string filename, std::string* lines);
mitk::SerialCommunication::HardwareHandshake HardwareHandshake
Hardware handshake mode of the serial connection.
std::string m_DeviceName
Device Name.
DataCollection - Class to facilitate loading/accessing structured data.
mitk::SerialCommunication::Pointer m_SerialCommunication
serial communication interface
HardwareHandshake m_HardwareHandshake
use hardware handshake for serial port connection
std::mutex m_SerialCommunicationMutex
mutex for coordinated access of serial communication interface
mitk::SerialCommunication::DataBits DataBits
Number of data bits used in the serial connection.
#define mitkClassMacroItkParent(className, SuperClassName)
DataBits m_DataBits
Number of Data Bits per token.
PortNumber m_PortNumber
COM Port Number.
BaudRate m_BaudRate
COM Port Baud Rate.
mitk::SerialCommunication::StopBits StopBits
Number of stop bits used in the serial connection.
mitk::SerialCommunication::PortNumber PortNumber
Port number of the serial connection.
StopBits m_StopBits
number of stop bits per token
std::string m_XmlPumpLaserConfiguration
mitk::SerialCommunication::Parity Parity
Parity mode used in the serial connection.
std::thread m_StayAliveMessageThread
Parity m_Parity
Parity mode for communication.
mitk::SerialCommunication::BaudRate BaudRate
Baud rate of the serial connection.