33 #if defined(WITHOUT_DBUS)
45 class QtDBusViewerAdaptor;
46 class QtDisplayPanelGui;
47 class QtCleanPanelGui;
48 class QtCleanPanelGui2;
50 #if defined(WITHOUT_DBUS)
51 class grpcViewerState;
90 QtViewer(
const std::list<std::string> &args,
bool is_server=
false,
const char *server_string=0 );
101 static const QString &
name( );
119 #if defined(WITHOUT_DBUS)
121 void grpc_handle_op( );
127 std::mutex grpc_queue_mutex;
128 std::queue<std::function<void()>> grpc_queue;
138 #if ! defined(WITHOUT_DBUS)
141 std::shared_ptr<grpcViewerState> grpc_;
virtual QtDisplayPanelGui * createDPG()
create a main display panel Gui
Qt implementation of main viewer supervisory object – Gui level.
std::list< std::string > args_
virtual void quit()
Exits Qt loop.
std::vector< QtDisplayPanelGui * > panel_list_t
virtual QtCleanPanelGui * createInteractiveCleanGui()
QtViewer(const std::list< std::string > &args, bool is_server=false, const char *server_string=0)
When DBus is used "server_string" is the DBus name for the viewer on the message bus, but when gRPC is used "server_string" is the gRPC URL which should be used to register the viewer server.
QtDBusViewerAdaptor * dbus_
virtual QtCleanPanelGui2 * createInteractiveCleanGui2()
The main display window for the Qt version of the viewer.
void dpgDeleted(QtDisplayPanelGui *)
void activate(bool)
Called from casaviewer.cc, true indicates that this application has been activated, false indicates that it has been deactivated.
static const QString & name()
name used to initialize connection to dbus