Entity.h
Go to the documentation of this file.
00001 
00011 #ifndef RAIL_PICK_AND_PLACE_GRASPDB_ENTITY_H_
00012 #define RAIL_PICK_AND_PLACE_GRASPDB_ENTITY_H_
00013 
00014 // C++ Standard Library
00015 #include <ctime>
00016 #include <stdint.h>
00017 
00018 namespace rail
00019 {
00020 namespace pick_and_place
00021 {
00022 namespace graspdb
00023 {
00024 
00031 class Entity
00032 {
00033 public:
00035   static const uint32_t UNSET_ID = 0;
00037   static const time_t UNSET_TIME = 0;
00038 
00047   Entity(const uint32_t id = UNSET_ID, const time_t created = UNSET_TIME);
00048 
00056   uint32_t getID() const;
00057 
00065   void setID(const uint32_t id);
00066 
00074   time_t getCreated() const;
00075 
00083   void setCreated(const time_t created);
00084 
00085 private:
00087   uint32_t id_;
00089   time_t created_;
00090 };
00091 
00092 }
00093 }
00094 }
00095 
00096 #endif


graspdb
Author(s): Russell Toris
autogenerated on Sun Mar 6 2016 11:38:59