Trigger.hpp
Go to the documentation of this file.
00001 
00006 #ifndef DATATYPE_TRIGGER_HPP
00007 #define DATATYPE_TRIGGER_HPP
00008 
00009 
00010 #include "../tools/errorhandler.hpp"
00011 #include <stdexcept>
00012 #include "../BasicDatatypes.hpp"
00013 
00014 namespace datatypes
00015 {
00016 
00018 class Trigger : public BasicData
00019 {
00020 public:
00022         Trigger ();
00023 
00025         Trigger (UINT32 number, UINT8 sourceId);
00026 
00028         virtual ~Trigger();
00029 
00030         // Estimate the memory usage of this object
00031         virtual const UINT32 getUsedMemory() const { return sizeof(*this); };
00032 
00033         // Returns the number of the Trigger
00034         UINT32 getNumber() const { return m_number; }
00035 
00036         // Sets the number.
00037         void setNumber (UINT32 number);
00038 
00039         // For debug
00040         
00041         std::string toString();
00042 
00043 
00044 private:
00045         UINT32 m_number;  
00046 
00048 };
00049 
00050 
00051 }       // namespace datatypes
00052 
00053 
00054 #endif // TRIGGER_HPP


libsick_ldmrs
Author(s): SICK AG , Martin Günther , Jochen Sprickerhof
autogenerated on Thu Jun 6 2019 21:02:36