SysMtuMessage.h
Go to the documentation of this file.
00001 
00038 #ifndef LibMultiSense_SysMtuMessage
00039 #define LibMultiSense_SysMtuMessage
00040 
00041 #include "details/utility/Portability.hh"
00042 
00043 namespace crl {
00044 namespace multisense {
00045 namespace details {
00046 namespace wire {
00047 
00048 class SysMtu {
00049 public:
00050     static CRL_CONSTEXPR IdType      ID      = ID_CMD_SYS_MTU;
00051     static CRL_CONSTEXPR VersionType VERSION = 1;
00052 
00053     //
00054     // Parameters
00055 
00056     uint32_t mtu;
00057 
00058     //
00059     // Constructors
00060 
00061     SysMtu(utility::BufferStreamReader&r, VersionType v) {serialize(r,v);};
00062     SysMtu(uint32_t m=0) : mtu(m) {};
00063 
00064     //
00065     // Serialization routine
00066 
00067     template<class Archive>
00068         void serialize(Archive&          message,
00069                        const VersionType version)
00070     {
00071         message & mtu;
00072     }
00073 };
00074 
00075 }}}}; // namespaces
00076 
00077 #endif


multisense_lib
Author(s):
autogenerated on Fri Apr 5 2019 02:28:24