# VectorNav C++ Library: include/vn/searcher.h Source File

searcher.h
#ifndef _VNSENSORS_SEARCHER_H_
#define _VNSENSORS_SEARCHER_H_
#include <string>
#include <vector>
#include "int.h"
#include "export.h"
namespace vn {
namespace sensors {
class vn_proglib_DLLEXPORT Searcher
{
public:
static void findPorts(std::vector<std::string>& portlist);
static bool search(const std::string &portName, int32_t *foundBaudrate);
static std::vector<std::pair<std::string, uint32_t> > search(void);
static std::vector<std::pair<std::string, uint32_t> > search(std::vector<std::string>& portsToCheck);
static bool test(std::string portName, uint32_t baudrate);
};
}
}
#endif
int.h
vn
Definition: attitude.h:8
vn::sensors::Searcher
Helpful class for finding VectorNav sensors.
Definition: searcher.h:14