blob: d5b2be11bae95c66f6cbf24c8c4b720957c23573 [file] [log] [blame]
Austin Schuhe1dafe42020-01-06 21:12:03 -08001#ifndef AOS_EVENTS_SIMPLE_CHANNEL_H_
2#define AOS_EVENTS_SIMPLE_CHANNEL_H_
3
4#include <string>
5
6#include "aos/configuration_generated.h"
7
8namespace aos {
9
10// Structure used to store both a name and a type and look it up in a map.
11struct SimpleChannel {
12 SimpleChannel(const Channel *channel);
13
14 std::string name;
15 std::string type;
16
17 std::string DebugString() const;
18
19 bool operator==(const SimpleChannel &other) const;
20 bool operator<(const SimpleChannel &other) const;
21};
22
23} // namespace aos
24
25#endif // AOS_EVENTS_SIMPLE_CHANNEL_H_