mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
40 lines
994 B
C++
40 lines
994 B
C++
// Copyright (c) FIRST and other WPILib contributors.
|
|
// Open Source Software; you can modify and/or share it under the terms of
|
|
// the WPILib BSD license file in the root directory of this project.
|
|
|
|
#pragma once
|
|
|
|
#include <ostream>
|
|
#include <span>
|
|
#include <string>
|
|
#include <string_view>
|
|
|
|
#include <gtest/gtest.h>
|
|
#include <wpi/TestPrinters.h>
|
|
|
|
namespace nt {
|
|
|
|
namespace net3 {
|
|
class Message3;
|
|
} // namespace net3
|
|
|
|
namespace net {
|
|
struct ClientMessage;
|
|
struct ServerMessage;
|
|
} // namespace net
|
|
|
|
class Event;
|
|
class Handle;
|
|
class PubSubOptionsImpl;
|
|
class Value;
|
|
|
|
void PrintTo(const Event& event, std::ostream* os);
|
|
void PrintTo(const Handle& handle, std::ostream* os);
|
|
void PrintTo(const net3::Message3& msg, std::ostream* os);
|
|
void PrintTo(const net::ClientMessage& msg, std::ostream* os);
|
|
void PrintTo(const net::ServerMessage& msg, std::ostream* os);
|
|
void PrintTo(const Value& value, std::ostream* os);
|
|
void PrintTo(const PubSubOptionsImpl& options, std::ostream* os);
|
|
|
|
} // namespace nt
|