00001 #ifndef _GENAV_TRACKER_CONSUMER_ 00002 #define _GENAV_TRACKER_CONSUMER_ 00003 00004 #include <map> 00005 00006 #include "GENavSource.h" 00007 00008 typedef std::map<int, ot::GENavSource*> SourceVector; 00009 00010 class GENav_Tracker_Consumer : public POA_CosEventComm::PushConsumer { 00011 public: 00012 GENav_Tracker_Consumer(){}; 00013 void push (const CORBA::Any& data) 00014 throw (CORBA::SystemException); 00015 void disconnect_push_consumer() 00016 throw (CORBA::SystemException); 00017 void AddSource(int number, ot::GENavSource* source); 00018 bool changed; 00019 private: 00020 SourceVector sources; 00021 }; 00022 00023 #endif
1.4.6