#include <stream.h>
|
static Stream * | create_tcp (const char *address, uint16_t port, uint32_t timeout_usec=1000000) |
|
static Stream * | create_udp (const char *address, uint16_t port, uint32_t timeout_usec=1000000) |
|
static Stream * | create_serial (const char *device_name, uint32_t baud_rate, uint32_t timeout_usec=0) |
|
static Stream * | create_ntrip (const std::string &address, uint16_t port, const std::string &mountpoint, const std::string &user, const std::string &passwd, uint32_t timeout_s=30) |
|
◆ Status
Enumerator |
---|
DISCONNECTED | |
CONNECTED | |
ERROR | |
◆ ~Stream()
virtual apollo::drivers::gnss::Stream::~Stream |
( |
| ) |
|
|
inlinevirtual |
◆ Stream()
apollo::drivers::gnss::Stream::Stream |
( |
| ) |
|
|
inlineprotected |
◆ Connect()
virtual bool apollo::drivers::gnss::Stream::Connect |
( |
| ) |
|
|
pure virtual |
◆ create_ntrip()
static Stream* apollo::drivers::gnss::Stream::create_ntrip |
( |
const std::string & |
address, |
|
|
uint16_t |
port, |
|
|
const std::string & |
mountpoint, |
|
|
const std::string & |
user, |
|
|
const std::string & |
passwd, |
|
|
uint32_t |
timeout_s = 30 |
|
) |
| |
|
static |
◆ create_serial()
static Stream* apollo::drivers::gnss::Stream::create_serial |
( |
const char * |
device_name, |
|
|
uint32_t |
baud_rate, |
|
|
uint32_t |
timeout_usec = 0 |
|
) |
| |
|
static |
◆ create_tcp()
static Stream* apollo::drivers::gnss::Stream::create_tcp |
( |
const char * |
address, |
|
|
uint16_t |
port, |
|
|
uint32_t |
timeout_usec = 1000000 |
|
) |
| |
|
static |
◆ create_udp()
static Stream* apollo::drivers::gnss::Stream::create_udp |
( |
const char * |
address, |
|
|
uint16_t |
port, |
|
|
uint32_t |
timeout_usec = 1000000 |
|
) |
| |
|
static |
◆ Disconnect()
virtual bool apollo::drivers::gnss::Stream::Disconnect |
( |
| ) |
|
|
pure virtual |
◆ get_status()
Status apollo::drivers::gnss::Stream::get_status |
( |
| ) |
const |
|
inline |
◆ Login()
void apollo::drivers::gnss::Stream::Login |
( |
| ) |
|
|
inline |
◆ read()
virtual size_t apollo::drivers::gnss::Stream::read |
( |
uint8_t * |
buffer, |
|
|
size_t |
max_length |
|
) |
| |
|
pure virtual |
◆ RegisterLoginData()
void apollo::drivers::gnss::Stream::RegisterLoginData |
( |
const std::vector< std::string > |
login_data | ) |
|
|
inline |
◆ write() [1/2]
virtual size_t apollo::drivers::gnss::Stream::write |
( |
const uint8_t * |
buffer, |
|
|
size_t |
length |
|
) |
| |
|
pure virtual |
◆ write() [2/2]
size_t apollo::drivers::gnss::Stream::write |
( |
const std::string & |
buffer | ) |
|
|
inline |
◆ NUM_STATUS
constexpr size_t apollo::drivers::gnss::Stream::NUM_STATUS |
|
static |
◆ status_
The documentation for this class was generated from the following file: