OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimContainerEvent.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: MIT
4 //
5 // See LICENSE.txt file in the top level directory for more details.
6 //
7 // Author: Garrett Potts
8 //
9 //*************************************************************************
10 // $Id: ossimContainerEvent.h 19966 2011-08-16 18:12:56Z gpotts $
11 #ifndef ossimContainerEvent_HEADER
12 #define ossimContainerEvent_HEADER
13 #include <ossim/base/ossimEvent.h>
15 #include <ossim/base/ossimRefPtr.h>
16 #include <vector>
17 
19 {
20 public:
21 
22  typedef std::vector<ossimRefPtr<ossimObject> > ObjectList;
23 
25  ossimContainerEvent(ossimObject* obj1,// the object firing the event.
26  long id);
27 
28  void setObjectList(ossimObject* obj);
29  void setObjectList(ObjectList& objects);
30  ObjectList& getObjectList(){return m_objectList;}
31  const ObjectList& getObjectList()const{return m_objectList;}
32 
33 protected:
34 
41 
43 };
44 
45 #endif /* end of: "#ifndef ossimContainerEvent_HEADER" */
#define OSSIMDLLEXPORT
const ObjectList & getObjectList() const
std::vector< ossimRefPtr< ossimObject > > ObjectList
#define TYPE_DATA
Definition: ossimRtti.h:339
ObjectList & getObjectList()