SatDump 2.0.0-alpha-520736c72
Loading...
Searching...
No Matches
satdump::handlers::RemoteHandlerHandler Class Referenceabstract
Inheritance diagram for satdump::handlers::RemoteHandlerHandler:
satdump::handlers::Handler satdump::handlers::RecFrontendHandler satdump::handlers::TestRemoteHandlerHandler

Public Member Functions

 RemoteHandlerHandler (std::shared_ptr< RemoteHandlerBackend > bkd)
Public Member Functions inherited from satdump::handlers::Handler
virtual void drawMenu ()=0
 Render explorer menu left sidebar.
virtual void drawContents (ImVec2 win_size)=0
 Render explorer contents (center/left)
virtual void drawMenuBar ()
 Render explorer menu bar (in the left sidebar)
virtual void drawContextMenu ()
 Render explorer context menu (right click menu)
virtual bool drawTreeMenu (std::shared_ptr< Handler > &h)
 Render explorer menu bar (in the left sidebar)
virtual std::string getName ()
 Get this handler's readable name.
std::string getTreeID ()
 Get this handler's ImGui ID for rendering in the tree.
bool hasSubhandlers ()
 Check if this handler contains any sub-handlers.
virtual void addSubHandler (std::shared_ptr< Handler > handler, bool ontop=false)
 Add a new subhandler.
virtual void delSubHandler (std::shared_ptr< Handler > handler, bool now=false)
 Delete a subhandler.
virtual std::vector< std::shared_ptr< Handler > > getAllSubHandlers ()
 Get all current subhandlers.
void setCanBeSelected (bool v)
 Set if a handler can be select in the tree.
void setCanBeDragged (bool v)
 Set if a handler can be dragged around in the tree.
void setCanBeDraggedTo (bool v)
 Set if a handler can be dragged to in the tree.
void setSubHandlersCanBeDragged (bool v)
 Set if a handler's subhandlers can be dragged to in the tree.
void setCanSubBeReorgTo (bool v)
 Set if a handler's subhandlers can be reordered.
virtual void setConfig (nlohmann::json p)
 Optional, allows setting a configuration/state from JSON.
virtual nlohmann::json getConfig ()
 Optional, allows getting a configuration/state as JSON.
virtual void resetConfig ()
 Optional, allows resetting the handler's configuration.
virtual std::string getID ()=0

Protected Member Functions

virtual void handle_stream_data (std::string, uint8_t *, size_t)=0

Protected Attributes

std::shared_ptr< RemoteHandlerBackendbkd
Protected Attributes inherited from satdump::handlers::Handler
std::vector< std::shared_ptr< Handler > > subhandlers
std::mutex subhandlers_mtx

Additional Inherited Members

Public Attributes inherited from satdump::handlers::Handler
std::string handler_tree_icon = "N"

The documentation for this class was generated from the following files:
  • src-core/handlers/experimental/decoupled/base/remote_handler.h
  • src-core/handlers/experimental/decoupled/base/remote_handler.cpp