| 47 | namespace { |
| 48 | template <typename T> |
| 49 | void process(OSVR_ImagingMetadata &meta, T &p) { |
| 50 | p(meta.height); |
| 51 | p(meta.width); |
| 52 | p(meta.channels); |
| 53 | p(meta.depth); |
| 54 | p(meta.type, |
| 55 | serialization::EnumAsIntegerTag<OSVR_ImagingValueType, |
| 56 | uint8_t>()); |
| 57 | } |
| 58 | } // namespace |
| 59 | class ImageRegion::MessageSerialization { |
| 60 | public: |
no outgoing calls
no test coverage detected