29 #ifndef HECTOR_UAV_MSGS_CONTROLSOURCE_H 30 #define HECTOR_UAV_MSGS_CONTROLSOURCE_H 42 template <
typename InStream>
43 static inline InStream&
operator>>(InStream& in, ControlSource& value) {
46 value =
static_cast<ControlSource
>(temp);
50 template <
typename OutStream>
51 static inline OutStream&
operator<<(OutStream& out,
const ControlSource& value) {
52 return out << static_cast<int>(value);
56 #endif // HECTOR_UAV_MSGS_CONTROLSOURCE_H
static InStream & operator>>(InStream &in, ControlSource &value)
static OutStream & operator<<(OutStream &out, const ControlSource &value)