OSVR-Core
Public Member Functions | List of all members
osvr::common::messages::ImageRegion::MessageSerialization Class Reference

Public Member Functions

 MessageSerialization (OSVR_ImagingMetadata const &meta, OSVR_ImageBufferElement *imageData, OSVR_ChannelCount sensor)
 
template<typename T >
void allocateBuffer (T &, size_t bytes, std::true_type const &)
 
template<typename T >
void allocateBuffer (T &, size_t, std::false_type const &)
 
template<typename T >
void processMessage (T &p)
 
ImageData getData () const
 

Member Function Documentation

§ processMessage()

template<typename T >
void osvr::common::messages::ImageRegion::MessageSerialization::processMessage ( T p)
inline

Allocate the matrix backing data, if we're deserializing only.


The documentation for this class was generated from the following file: