casa
$Rev:20696$
|
#include <PlotServerProxy.h>
Public Member Functions | |
PlotServerProxy (const std::string &name=dbusName()) | |
dbus::variant | panel (const std::string &title, const std::string &xlabel="", const std::string &ylabel="", const std::string &window_title="", const std::vector< int > &size=std::vector< int >(), const std::string &legend="bottom", const std::string &zoom="bottom", const int32_t &with_panel=0, const bool &new_row=false, const bool &hidden=false) |
std::vector< std::string > | colors () |
std::vector< std::string > | colormaps () |
std::vector< std::string > | symbols () |
dbus::variant | line (const std::vector< double > &x, const std::vector< double > &y, const std::string &color="black", const std::string &label="", const int32_t &panel=0) |
dbus::variant | scatter (const std::vector< double > &x, const std::vector< double > &y, const std::string &color="black", const std::string &label="", const std::string &symbol="", const int32_t &symbol_size=-1, const int32_t &dot_size=-1, const int32_t &panel=0) |
dbus::variant | histogram (const std::vector< double > &values, int bins=0, const std::string &color="blue", const std::string &label="", const int panel=0) |
dbus::variant | raster (const std::vector< double > &matrix, int sizex, int sizey, const std::string &colormap="Rainbow 2", int panel=0) |
dbus::variant | erase (const int32_t &data_or_panel=0) |
dbus::variant | setlabel (const std::string &xlabel="", const std::string &ylabel="", const std::string &title="", int panel=0) |
dbus::variant | close (const int32_t &panel=0) |
dbus::variant | release (const int32_t &panel=0) |
dbus::variant | show (const int32_t &panel=0) |
dbus::variant | hide (const int32_t &panel=0) |
void | done () |
dbus::variant | loaddock (const std::string &file_or_xml, const std::string &loc="top", const std::vector< std::string > &dockable=std::vector< std::string >(), const int32_t &panel=0) |
void | button (const int32_t &panel, const std::string &name) |
signals... | |
void | check (const int32_t &panel, const std::string &name, const int32_t &state) |
void | radio (const int32_t &panel, const std::string &name, const bool &state) |
void | linetext (const int32_t &panel, const std::string &name, const std::string &text) |
void | slidevalue (const int32_t &panel, const std::string &name, const int32_t &value) |
void | exiting () |
void | closing (const int32_t &panel, const bool &gone) |
Static Public Member Functions | |
static std::list< std::string > | execArgs (const std::list< std::string > &args) |
static std::string | dbusName () |
Definition at line 39 of file PlotServerProxy.h.
casa::PlotServerProxy::PlotServerProxy | ( | const std::string & | name = dbusName() | ) |
void casa::PlotServerProxy::button | ( | const int32_t & | panel, |
const std::string & | name | ||
) | [inline] |
signals...
Reimplemented in casa::FlagPlotServerProxy.
Definition at line 102 of file PlotServerProxy.h.
void casa::PlotServerProxy::check | ( | const int32_t & | panel, |
const std::string & | name, | ||
const int32_t & | state | ||
) | [inline] |
Reimplemented in casa::FlagPlotServerProxy.
Definition at line 103 of file PlotServerProxy.h.
dbus::variant casa::PlotServerProxy::close | ( | const int32_t & | panel = 0 | ) | [inline] |
Definition at line 83 of file PlotServerProxy.h.
References panel(), and casa::dbus::toVariant().
void casa::PlotServerProxy::closing | ( | const int32_t & | panel, |
const bool & | gone | ||
) | [inline] |
Reimplemented in casa::FlagPlotServerProxy.
Definition at line 108 of file PlotServerProxy.h.
std::vector< std::string > casa::PlotServerProxy::colormaps | ( | ) | [inline] |
Definition at line 59 of file PlotServerProxy.h.
std::vector< std::string > casa::PlotServerProxy::colors | ( | ) | [inline] |
Definition at line 57 of file PlotServerProxy.h.
static std::string casa::PlotServerProxy::dbusName | ( | ) | [inline, static] |
Definition at line 47 of file PlotServerProxy.h.
void casa::PlotServerProxy::done | ( | ) | [inline] |
Definition at line 93 of file PlotServerProxy.h.
dbus::variant casa::PlotServerProxy::erase | ( | const int32_t & | data_or_panel = 0 | ) | [inline] |
Definition at line 77 of file PlotServerProxy.h.
References casa::dbus::toVariant().
static std::list<std::string> casa::PlotServerProxy::execArgs | ( | const std::list< std::string > & | args | ) | [static] |
void casa::PlotServerProxy::exiting | ( | ) | [inline] |
Reimplemented in casa::FlagPlotServerProxy.
Definition at line 107 of file PlotServerProxy.h.
dbus::variant casa::PlotServerProxy::hide | ( | const int32_t & | panel = 0 | ) | [inline] |
Definition at line 90 of file PlotServerProxy.h.
References panel(), and casa::dbus::toVariant().
dbus::variant casa::PlotServerProxy::histogram | ( | const std::vector< double > & | values, |
int | bins = 0 , |
||
const std::string & | color = "blue" , |
||
const std::string & | label = "" , |
||
const int | panel = 0 |
||
) | [inline] |
Definition at line 71 of file PlotServerProxy.h.
References casa::color(), panel(), and casa::dbus::toVariant().
dbus::variant casa::PlotServerProxy::line | ( | const std::vector< double > & | x, |
const std::vector< double > & | y, | ||
const std::string & | color = "black" , |
||
const std::string & | label = "" , |
||
const int32_t & | panel = 0 |
||
) | [inline] |
Reimplemented in casa::FlagPlotServerProxy.
Definition at line 63 of file PlotServerProxy.h.
References casa::color(), panel(), and casa::dbus::toVariant().
void casa::PlotServerProxy::linetext | ( | const int32_t & | panel, |
const std::string & | name, | ||
const std::string & | text | ||
) | [inline] |
Reimplemented in casa::FlagPlotServerProxy.
Definition at line 105 of file PlotServerProxy.h.
dbus::variant casa::PlotServerProxy::loaddock | ( | const std::string & | file_or_xml, |
const std::string & | loc = "top" , |
||
const std::vector< std::string > & | dockable = std::vector<std::string>( ) , |
||
const int32_t & | panel = 0 |
||
) | [inline] |
Definition at line 95 of file PlotServerProxy.h.
References panel(), and casa::dbus::toVariant().
dbus::variant casa::PlotServerProxy::panel | ( | const std::string & | title, |
const std::string & | xlabel = "" , |
||
const std::string & | ylabel = "" , |
||
const std::string & | window_title = "" , |
||
const std::vector< int > & | size = std::vector<int>( ) , |
||
const std::string & | legend = "bottom" , |
||
const std::string & | zoom = "bottom" , |
||
const int32_t & | with_panel = 0 , |
||
const bool & | new_row = false , |
||
const bool & | hidden = false |
||
) | [inline] |
Reimplemented in casa::FlagPlotServerProxy.
Definition at line 51 of file PlotServerProxy.h.
References casa::dbus::toVariant().
Referenced by close(), hide(), histogram(), line(), loaddock(), raster(), release(), scatter(), setlabel(), and show().
void casa::PlotServerProxy::radio | ( | const int32_t & | panel, |
const std::string & | name, | ||
const bool & | state | ||
) | [inline] |
Reimplemented in casa::FlagPlotServerProxy.
Definition at line 104 of file PlotServerProxy.h.
dbus::variant casa::PlotServerProxy::raster | ( | const std::vector< double > & | matrix, |
int | sizex, | ||
int | sizey, | ||
const std::string & | colormap = "Rainbow 2" , |
||
int | panel = 0 |
||
) | [inline] |
Reimplemented in casa::FlagPlotServerProxy.
Definition at line 74 of file PlotServerProxy.h.
References panel(), and casa::dbus::toVariant().
dbus::variant casa::PlotServerProxy::release | ( | const int32_t & | panel = 0 | ) | [inline] |
Definition at line 85 of file PlotServerProxy.h.
References panel(), and casa::dbus::toVariant().
dbus::variant casa::PlotServerProxy::scatter | ( | const std::vector< double > & | x, |
const std::vector< double > & | y, | ||
const std::string & | color = "black" , |
||
const std::string & | label = "" , |
||
const std::string & | symbol = "" , |
||
const int32_t & | symbol_size = -1 , |
||
const int32_t & | dot_size = -1 , |
||
const int32_t & | panel = 0 |
||
) | [inline] |
Definition at line 66 of file PlotServerProxy.h.
References casa::color(), panel(), and casa::dbus::toVariant().
dbus::variant casa::PlotServerProxy::setlabel | ( | const std::string & | xlabel = "" , |
const std::string & | ylabel = "" , |
||
const std::string & | title = "" , |
||
int | panel = 0 |
||
) | [inline] |
Definition at line 80 of file PlotServerProxy.h.
References panel(), and casa::dbus::toVariant().
dbus::variant casa::PlotServerProxy::show | ( | const int32_t & | panel = 0 | ) | [inline] |
Definition at line 88 of file PlotServerProxy.h.
References panel(), casa::dbus::show(), and casa::dbus::toVariant().
void casa::PlotServerProxy::slidevalue | ( | const int32_t & | panel, |
const std::string & | name, | ||
const int32_t & | value | ||
) | [inline] |
Reimplemented in casa::FlagPlotServerProxy.
Definition at line 106 of file PlotServerProxy.h.
std::vector< std::string > casa::PlotServerProxy::symbols | ( | ) | [inline] |
Definition at line 61 of file PlotServerProxy.h.