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

util.h
#ifndef _VNPROTOCOL_UART_UTIL_H_
#define _VNPROTOCOL_UART_UTIL_H_
#include <string>
#include "types.h"
namespace vn {
namespace protocol {
namespace uart {
// Utility functions.
std::string str(AsciiAsync val);
std::ostream& operator<<(std::ostream& out, AsciiAsync e);
std::string str(SensorError val);
std::ostream& operator<<(std::ostream& out, SensorError e);
std::string str(SyncInMode val);
std::string str(SyncInEdge val);
std::string str(SyncOutMode val);
std::string str(SyncOutPolarity val);
std::string str(CountMode val);
std::string str(StatusMode val);
std::string str(ChecksumMode val);
std::string str(ErrorMode val);
std::string str(FilterMode val);
std::string str(IntegrationFrame val);
std::string str(CompensationMode val);
std::string str(GpsFix val);
std::string str(GpsMode val);
std::string str(PpsSource val);
std::string str(VpeEnable val);
std::string str(HeadingMode val);
std::string str(VpeMode val);
std::string str(Scenario val);
std::string str(HsiMode val);
std::string str(HsiOutput val);
std::string str(VelocityCompensationMode val);
std::string str(MagneticMode val);
std::string str(ExternalSensorMode val);
std::string str(FoamInit val);
std::ostream& operator<<(std::ostream& out, SyncInMode e);
std::ostream& operator<<(std::ostream& out, SyncInEdge e);
std::ostream& operator<<(std::ostream& out, SyncOutMode e);
std::ostream& operator<<(std::ostream& out, SyncOutPolarity e);
std::ostream& operator<<(std::ostream& out, CountMode e);
std::ostream& operator<<(std::ostream& out, StatusMode e);
std::ostream& operator<<(std::ostream& out, ChecksumMode e);
std::ostream& operator<<(std::ostream& out, ErrorMode e);
std::ostream& operator<<(std::ostream& out, FilterMode e);
std::ostream& operator<<(std::ostream& out, IntegrationFrame e);
std::ostream& operator<<(std::ostream& out, CompensationMode e);
std::ostream& operator<<(std::ostream& out, GpsFix e);
std::ostream& operator<<(std::ostream& out, GpsMode e);
std::ostream& operator<<(std::ostream& out, PpsSource e);
std::ostream& operator<<(std::ostream& out, VpeEnable e);
std::ostream& operator<<(std::ostream& out, HeadingMode e);
std::ostream& operator<<(std::ostream& out, VpeMode e);
std::ostream& operator<<(std::ostream& out, Scenario e);
std::ostream& operator<<(std::ostream& out, HsiMode e);
std::ostream& operator<<(std::ostream& out, HsiOutput e);
std::ostream& operator<<(std::ostream& out, VelocityCompensationMode e);
std::ostream& operator<<(std::ostream& out, MagneticMode e);
std::ostream& operator<<(std::ostream& out, ExternalSensorMode e);
std::ostream& operator<<(std::ostream& out, FoamInit e);
}
}
}
#endif
vn
Definition: attitude.h:8