casa
5.7.0-16
|
#include <grpcViewerAdaptor.qo.h>
Classes | |
class | data_desc |
class | panel_desc |
Public Slots | |
void | handle_destroyed_panel (QObject *) |
Signals | |
void | exit_now () |
void | new_op () |
Public Member Functions | |
grpcImageViewer (QtViewer *) | |
Constructor which takes the application. More... | |
::grpc::Status | panel (::grpc::ServerContext *context, const ::rpc::img::NewPanel *req,::rpc::img::Id *reply) |
::grpc::Status | hide (::grpc::ServerContext *context, const ::rpc::img::Id *req,::google::protobuf::Empty *) |
::grpc::Status | show (::grpc::ServerContext *context, const ::rpc::img::Id *req,::google::protobuf::Empty *) |
::grpc::Status | freeze (::grpc::ServerContext *context, const ::rpc::img::Id *req,::google::protobuf::Empty *) |
::grpc::Status | unfreeze (::grpc::ServerContext *context, const ::rpc::img::Id *req,::google::protobuf::Empty *) |
::grpc::Status | close (::grpc::ServerContext *context, const ::rpc::img::Id *req,::google::protobuf::Empty *) |
::grpc::Status | release (::grpc::ServerContext *context, const ::rpc::img::Id *req,::google::protobuf::Empty *) |
::grpc::Status | axes (::grpc::ServerContext *context, const ::rpc::img::Axes *req,::google::protobuf::Empty *) |
::grpc::Status | popup (::grpc::ServerContext *context, const ::rpc::img::PopUp *req,::google::protobuf::Empty *) |
::grpc::Status | load (::grpc::ServerContext *context, const ::rpc::img::NewData *req,::rpc::img::Id *reply) |
::grpc::Status | reload (::grpc::ServerContext *context, const ::rpc::img::Id *req,::google::protobuf::Empty *) |
::grpc::Status | unload (::grpc::ServerContext *context, const ::rpc::img::Id *req,::google::protobuf::Empty *) |
::grpc::Status | restore (::grpc::ServerContext *context, const ::rpc::img::Restore *req,::rpc::img::Id *reply) |
::grpc::Status | colormap (::grpc::ServerContext *context, const ::rpc::img::ColorMap *req,::google::protobuf::Empty *) |
::grpc::Status | colorwedge (::grpc::ServerContext *context, const ::rpc::img::Toggle *req,::google::protobuf::Empty *) |
::grpc::Status | datarange (::grpc::ServerContext *context, const ::rpc::img::DataRange *req,::google::protobuf::Empty *) |
::grpc::Status | contourlevels (::grpc::ServerContext *context, const ::rpc::img::ContourLevels *req,::google::protobuf::Empty *) |
::grpc::Status | contourthickness (::grpc::ServerContext *context, const ::rpc::img::ContourThickness *req,::google::protobuf::Empty *) |
::grpc::Status | contourcolor (::grpc::ServerContext *context, const ::rpc::img::ContourColor *req,::google::protobuf::Empty *) |
::grpc::Status | channel (::grpc::ServerContext *context, const ::rpc::img::SetChannel *req,::google::protobuf::Empty *) |
::grpc::Status | zoomlevel (::grpc::ServerContext *context, const ::rpc::img::SetZoomLevel *req,::google::protobuf::Empty *) |
::grpc::Status | zoombox (::grpc::ServerContext *context, const ::rpc::img::SetZoomBox *req,::google::protobuf::Empty *) |
::grpc::Status | output (::grpc::ServerContext *context, const ::rpc::img::Output *req,::google::protobuf::Empty *) |
::grpc::Status | fileinfo (::grpc::ServerContext *context, const ::rpc::img::Path *req,::rpc::img::FileInfo *reply) |
::grpc::Status | keyinfo (::grpc::ServerContext *context, const ::rpc::img::Id *req,::rpc::img::KeyInfo *reply) |
::grpc::Status | cwd (::grpc::ServerContext *context, const ::rpc::img::Path *req,::rpc::img::Path *reply) |
if path is null string, return current path if path is not null (and represents a valid dir), cd to new path && return new path More... | |
::grpc::Status | done (::grpc::ServerContext *, const ::google::protobuf::Empty *,::google::protobuf::Empty *) |
duplicates the shutdown::now rpc call... More... | |
int | get_id (QtDisplayPanelGui *) |
int | get_id (QtDisplayPanelGui *, QtDisplayData *, const std::string &path, const std::string &type) |
QtDisplayData * | finddata (int key) |
QtDisplayPanelGui * | findpanel (int key) |
void | erase_panel (int panel) |
void | erase_data (int) |
bool | load_data (QtDisplayPanelGui *, int) |
bool | unload_data (QtDisplayPanelGui *, int, bool=true) |
bool | printraster (QtDisplayPanel *panel, const QString &type, const QString &file, double scale) |
bool | printps (QtDisplayPanel *panel, const QString &type, const QString &file, int dpi, const QString &orientation, const QString &media) |
void | adjusteps (const char *from, const char *to, const QSize &wcmax, const QRect &viewport) |
Protected Member Functions | |
void | qtGO (std::function< void()>) |
Private Types | |
typedef std::map< int, panel_desc * > | panelmap |
typedef std::map< int, data_desc * > | datamap |
Private Attributes | |
std::recursive_mutex | managed_panels_mutex |
panelmap | managed_panels |
std::recursive_mutex | managed_datas_mutex |
datamap | managed_datas |
QtViewer * | viewer_ |
Definition at line 58 of file grpcViewerAdaptor.qo.h.
|
private |
Definition at line 282 of file grpcViewerAdaptor.qo.h.
|
private |
Definition at line 278 of file grpcViewerAdaptor.qo.h.
casa::grpcImageViewer::grpcImageViewer | ( | QtViewer * | ) |
Constructor which takes the application.
void casa::grpcImageViewer::adjusteps | ( | const char * | from, |
const char * | to, | ||
const QSize & | wcmax, | ||
const QRect & | viewport | ||
) |
::grpc::Status casa::grpcImageViewer::axes | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::Axes * | req, | ||
::google::protobuf::Empty * | |||
) |
::grpc::Status casa::grpcImageViewer::channel | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::SetChannel * | req, | ||
::google::protobuf::Empty * | |||
) |
::grpc::Status casa::grpcImageViewer::close | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::Id * | req, | ||
::google::protobuf::Empty * | |||
) |
::grpc::Status casa::grpcImageViewer::colormap | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::ColorMap * | req, | ||
::google::protobuf::Empty * | |||
) |
::grpc::Status casa::grpcImageViewer::colorwedge | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::Toggle * | req, | ||
::google::protobuf::Empty * | |||
) |
::grpc::Status casa::grpcImageViewer::contourcolor | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::ContourColor * | req, | ||
::google::protobuf::Empty * | |||
) |
::grpc::Status casa::grpcImageViewer::contourlevels | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::ContourLevels * | req, | ||
::google::protobuf::Empty * | |||
) |
::grpc::Status casa::grpcImageViewer::contourthickness | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::ContourThickness * | req, | ||
::google::protobuf::Empty * | |||
) |
::grpc::Status casa::grpcImageViewer::cwd | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::Path * | req, | ||
::rpc::img::Path * | reply | ||
) |
if path is null string, return current path if path is not null (and represents a valid dir), cd to new path && return new path
::grpc::Status casa::grpcImageViewer::datarange | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::DataRange * | req, | ||
::google::protobuf::Empty * | |||
) |
::grpc::Status casa::grpcImageViewer::done | ( | ::grpc::ServerContext * | , |
const ::google::protobuf::Empty * | , | ||
::google::protobuf::Empty * | |||
) |
duplicates the shutdown::now rpc call...
duplicates grpcShutdown::now(...)
void casa::grpcImageViewer::erase_data | ( | int | ) |
void casa::grpcImageViewer::erase_panel | ( | int | panel | ) |
|
signal |
::grpc::Status casa::grpcImageViewer::fileinfo | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::Path * | req, | ||
::rpc::img::FileInfo * | reply | ||
) |
QtDisplayData* casa::grpcImageViewer::finddata | ( | int | key | ) |
QtDisplayPanelGui* casa::grpcImageViewer::findpanel | ( | int | key | ) |
::grpc::Status casa::grpcImageViewer::freeze | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::Id * | req, | ||
::google::protobuf::Empty * | |||
) |
int casa::grpcImageViewer::get_id | ( | QtDisplayPanelGui * | ) |
int casa::grpcImageViewer::get_id | ( | QtDisplayPanelGui * | , |
QtDisplayData * | , | ||
const std::string & | path, | ||
const std::string & | type | ||
) |
|
slot |
::grpc::Status casa::grpcImageViewer::hide | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::Id * | req, | ||
::google::protobuf::Empty * | |||
) |
::grpc::Status casa::grpcImageViewer::keyinfo | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::Id * | req, | ||
::rpc::img::KeyInfo * | reply | ||
) |
::grpc::Status casa::grpcImageViewer::load | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::NewData * | req, | ||
::rpc::img::Id * | reply | ||
) |
bool casa::grpcImageViewer::load_data | ( | QtDisplayPanelGui * | , |
int | |||
) |
|
signal |
::grpc::Status casa::grpcImageViewer::output | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::Output * | req, | ||
::google::protobuf::Empty * | |||
) |
::grpc::Status casa::grpcImageViewer::panel | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::NewPanel * | req, | ||
::rpc::img::Id * | reply | ||
) |
::grpc::Status casa::grpcImageViewer::popup | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::PopUp * | req, | ||
::google::protobuf::Empty * | |||
) |
bool casa::grpcImageViewer::printps | ( | QtDisplayPanel * | panel, |
const QString & | type, | ||
const QString & | file, | ||
int | dpi, | ||
const QString & | orientation, | ||
const QString & | media | ||
) |
bool casa::grpcImageViewer::printraster | ( | QtDisplayPanel * | panel, |
const QString & | type, | ||
const QString & | file, | ||
double | scale | ||
) |
|
protected |
::grpc::Status casa::grpcImageViewer::release | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::Id * | req, | ||
::google::protobuf::Empty * | |||
) |
::grpc::Status casa::grpcImageViewer::reload | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::Id * | req, | ||
::google::protobuf::Empty * | |||
) |
::grpc::Status casa::grpcImageViewer::restore | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::Restore * | req, | ||
::rpc::img::Id * | reply | ||
) |
::grpc::Status casa::grpcImageViewer::show | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::Id * | req, | ||
::google::protobuf::Empty * | |||
) |
::grpc::Status casa::grpcImageViewer::unfreeze | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::Id * | req, | ||
::google::protobuf::Empty * | |||
) |
::grpc::Status casa::grpcImageViewer::unload | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::Id * | req, | ||
::google::protobuf::Empty * | |||
) |
bool casa::grpcImageViewer::unload_data | ( | QtDisplayPanelGui * | , |
int | , | ||
bool | = true |
||
) |
::grpc::Status casa::grpcImageViewer::zoombox | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::SetZoomBox * | req, | ||
::google::protobuf::Empty * | |||
) |
::grpc::Status casa::grpcImageViewer::zoomlevel | ( | ::grpc::ServerContext * | context, |
const ::rpc::img::SetZoomLevel * | req, | ||
::google::protobuf::Empty * | |||
) |
|
private |
Definition at line 284 of file grpcViewerAdaptor.qo.h.
|
private |
Definition at line 283 of file grpcViewerAdaptor.qo.h.
|
private |
Definition at line 280 of file grpcViewerAdaptor.qo.h.
|
private |
Definition at line 279 of file grpcViewerAdaptor.qo.h.
|
private |
Definition at line 286 of file grpcViewerAdaptor.qo.h.