25 virtual std::string className()
const = 0;
28 virtual void flushData();
31 virtual void idleTick();
35 virtual void refresh();
39 virtual void objectEntryRemoved(
const DtUUID&);
42 virtual bool isSpotReport(
const DtUUID&)
const;
45 virtual bool removeSpotReport(
const DtUUID&);
58 return mySpotReportDataHandlersByContact;
62 virtual bool forceFlush()
const;
66 boost::signals2::signal<void (std::set<DtSpotReportDataHandler*>)> signal_reportsUpdated;
90 bool myForceFlush =
false;
96 virtual std::string
className()
const = 0;
100 #define REGISTER_PERSPECTIVE_OVERRIDE(Class_Name, Parent_Class_Name) \
102 class Class_Name##Creator : public Parent_Class_Name##Creator \
105 virtual DtSpotReportPerspectiveInterface* create(DtSpotReportManager& manager) const { return new Class_Name(manager); }; \
107 static void Register(DtSpotReportManager& mgr) { mgr.registerPerspectiveCreator(new Class_Name::Class_Name##Creator); }; \
109 #define REGISTER_PERSPECTIVE(Class_Name) \
111 class Class_Name##Creator : public DtSpotReportPerspectiveCreatorInterface \
114 static std::string ClassName() { return #Class_Name; } \
115 virtual std::string className() const override { return Class_Name::Class_Name##Creator::ClassName(); }; \
116 virtual DtSpotReportPerspectiveInterface* create(DtSpotReportManager& manager) const { return new Class_Name(manager); }; \
118 static void Register(DtSpotReportManager& mgr) { mgr.registerPerspectiveCreator(new Class_Name::Class_Name##Creator); }; \
119 virtual std::string className() const override { return Class_Name##Creator::ClassName(); }; \
120 static std::string ClassName() { return Class_Name##Creator::ClassName(); };
UUID is a unique ID wrapper class.
Definition: uuid.h:59
The DtSpotReportManager class is used manage and keep track of spot reports. by spotter and who they ...
Definition: spotReportManager.h:34
#define DT_DLL_vrfcontrol
This file is used to determine how to build.
Definition: vrfcontrolDefines.h:28
boost::signals2::signal< void(DtSpotReportDataHandler *)> signal_handlerAboutToBeRemoved
Definition: spotReportPerspectiveInterface.h:67
SpotReportDataHandlers mySpotReportDataHandlers
Definition: spotReportPerspectiveInterface.h:87
std::map< DtUUID, std::unique_ptr< DtSpotReportDataHandler >> SpotReportDataHandlers
Definition: spotReportPerspectiveInterface.h:86
const SpotReportDataHandlersByContact & spotReportHandlersByContact() const
Definition: spotReportPerspectiveInterface.h:56
Contains makVrv::DtSpotReportDataHandler class. This class, and it's subclasses, will be responsible ...
DtVrfSingleton is a class that all singletons that can be registered with the DtVrfSingletonRoot are ...
Definition: vrfSingleton.h:15
std::set< DtSpotReportDataHandler * > myFlushReports
Definition: spotReportPerspectiveInterface.h:89
std::map< DtUUID, DtSpotReportDataHandler * > SpotReportDataHandlersByContact
Definition: spotReportPerspectiveInterface.h:55
Definition: spotReportPerspectiveInterface.h:19
virtual std::string className() const =0
SpotReportDataHandlersByContact mySpotReportDataHandlersByContact
Handlers must always be organized by contact. The question is just which contact will be kept and whi...
Definition: spotReportPerspectiveInterface.h:84
DtSpotReportManager & myManager
Definition: spotReportPerspectiveInterface.h:80
Definition: spotReportPerspectiveInterface.h:93
DtSpotReport; subclass of DtSimReport.
Definition: spotReport.h:35
Definition: spotReportDataHandler.h:30