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


multisense_lib
Author(s):
autogenerated on Mon Oct 9 2017 03:06:21