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


multisense_lib
Author(s):
autogenerated on Thu Aug 27 2015 14:01:11