25#include "CivetServer.h"
27#include "modules/dreamview_plus/proto/data_handler.pb.h"
55 virtual void Run() = 0;
73 virtual std::map<std::string, CivetHandler *>
GetHandlers();
A base class that a dreamview plus plug-in can inherit from.
virtual std::map< std::string, CivetHandler * > GetHandlers()
Get dreamview plus http handlers' info from base class or derived class.
virtual apollo::dreamview::DataHandlerConf GetDataHandlerConf()
Get the data handler info that needs to be subscribed and unsubscribed
virtual void Init()=0
Initialize the interface for instances inherited by derived classes.
virtual std::map< std::string, WebSocketHandler * > GetWebSocketHandlers()
ß
virtual std::map< std::string, UpdaterBase * > GetUpdaterHandlers()
Get the websocket that needs to be subscribed and unsubscribed
virtual ~DvPluginBase()=default
virtual void Stop()
Mainly stop some resources of the instance.
virtual void Run()=0
The instance running interface that needs to be inherited by the derived class mainly implements the ...