UserLevel
Available CoLa user levels.
bool startAcquisition()
Start streaming the data by calling the "PLAYSTART" method on the device. Works only when acquisition...
bool getDataStreamConfig()
Tells the device that there is a streaming channel by invoking a method named GetBlobClientConfig.
ProtocolType
The numbers used for the protocols are the port numbers.
std::string getDeviceIdent()
Get device information by calling the "DeviceIdent" method on the device.
std::unique_ptr< ControlSession > m_pControlSession
static const uint8_t kSessionTimeout_s
Default session timeout in seconds.
bool stopAcquisition()
Stops the data stream. Works always, also when acquisition is already stopped before.
std::unique_ptr< IProtocolHandler > m_pProtocolHandler
bool login(IAuthentication::UserLevel userLevel, const std::string password)
std::unique_ptr< TcpSocket > m_pTransport
CoLaCommand sendCommand(CoLaCommand &command)
Send a CoLaBCommand to the device and waits for the result.
bool logout()
Logout from the device.
bool open(ProtocolType type, const std::string &hostname, uint8_t sessionTimeout_s=kSessionTimeout_s)
bool stepAcquisition()
Trigger a single image on the device. Works only when acquisition is stopped.
std::unique_ptr< IAuthentication > m_pAuthentication
std::string receiveCoLaResponse()
CoLaCommand receiveCoLaCommand()