#include <VisionaryDataStream.h>
Definition at line 30 of file VisionaryDataStream.h.
◆ VisionaryDataStream()
visionary::VisionaryDataStream::VisionaryDataStream |
( |
std::shared_ptr< VisionaryData > |
dataHandler | ) |
|
◆ ~VisionaryDataStream()
visionary::VisionaryDataStream::~VisionaryDataStream |
( |
| ) |
|
◆ close()
void visionary::VisionaryDataStream::close |
( |
| ) |
|
Close a connection
Closes the connection. It is allowed to call close of a connection that is not open. In this case this call is a no-op.
Definition at line 53 of file VisionaryDataStream.cpp.
◆ getNextFrame()
bool visionary::VisionaryDataStream::getNextFrame |
( |
| ) |
|
◆ open()
bool visionary::VisionaryDataStream::open |
( |
const std::string & |
hostname, |
|
|
std::uint16_t |
port |
|
) |
| |
Opens a connection to a Visionary sensor
- Parameters
-
[in] | hostname | name or IP address of the Visionary sensor. |
[in] | port | control command port of the sensor, usually 2112 for CoLa-B or 2122 for CoLa-2. |
- Return values
-
true | The connection to the sensor successfully was established. |
false | The connection attempt failed; the sensor is either
- switched off or has a different IP address or name
- not available using for PCs network settings (different subnet)
- the protocol type or the port did not match. Please check your sensor documentation.
|
Definition at line 37 of file VisionaryDataStream.cpp.
◆ parseSegmentBinaryData()
bool visionary::VisionaryDataStream::parseSegmentBinaryData |
( |
const std::vector< uint8_t >::iterator |
itBuf | ) |
|
|
private |
◆ syncCoLa()
bool visionary::VisionaryDataStream::syncCoLa |
( |
| ) |
const |
◆ m_dataHandler
std::shared_ptr<VisionaryData> visionary::VisionaryDataStream::m_dataHandler |
|
private |
◆ m_pTransport
std::unique_ptr<TcpSocket> visionary::VisionaryDataStream::m_pTransport |
|
private |
The documentation for this class was generated from the following files: