26 #ifndef __TERRALIB_ST_INTERNAL_EVENT_H 
   27 #define __TERRALIB_ST_INTERNAL_EVENT_H 
   33 #include "../../Config.h" 
   36 namespace te { 
namespace dt { 
class AbstractData; 
class DateTime;  } }
 
   37 namespace te { 
namespace gm { 
class Geometry;  } }
 
   89               std::vector<te::st::Object*> objs);
 
  185         std::unique_ptr<te::dt::DateTime>   
m_time;        
 
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
 
A class to represent an event.
 
void setObjects(std::vector< te::st::Object * > &objs)
It sets the objects involved to the event.
 
void getObjects(std::vector< te::st::Object * > &output) const
It returns the objects involved to the event.
 
std::string m_id
The identification of the event.
 
void setTime(te::dt::DateTime *t)
It sets the time when the event happened.
 
std::vector< te::st::Object * > m_objects
The objects involved to the event.
 
void setId(const std::string &id)
It sets the object identification.
 
Event(const std::string &id, te::dt::DateTime *t, te::gm::Geometry *g)
Constructor.
 
Event * clone() const
It returns a clone of this event.
 
std::unique_ptr< te::dt::DateTime > m_time
The time when the event happened.
 
Event(const Event &ts)
Copy constructor.
 
te::gm::Geometry * getLocation() const
It returns the location where the event happened.
 
te::dt::DateTime * getTime() const
It returns the time when the event happened.
 
std::string getId() const
It returns the object identification.
 
Event & operator=(const Event &other)
Copy assignment operator.
 
std::unique_ptr< te::gm::Geometry > m_location
The location where the event happened.
 
Event(const std::string &id, te::dt::DateTime *t, te::gm::Geometry *g, std::vector< te::st::Object * > objs)
Constructor.
 
virtual ~Event()
Virtual destructor.
 
void setLocation(te::gm::Geometry *g)
It sets the location where the event happened.
 
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.