casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casa::FlagPlotServerProxy Class Reference

#include <FlagPlotServerProxy.h>

Inheritance diagram for casa::FlagPlotServerProxy:
casa::PlotServerProxy

Public Member Functions

 FlagPlotServerProxy (char *&dbusname)
 
void exiting ()
 
void closing (const int32_t &, const bool &)
 
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)
 
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 raster (const std::vector< double > &matrix, int sizex, int sizey, const std::string &colormap="Greyscale 1", int panel=0)
 
void draw (std::vector< double > x, std::vector< double > y, std::string color="blue")
 
void button (const int32_t &, const std::string &name)
 
void check (const int32_t &, 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)
 
std::string eventloop ()
 
- Public Member Functions inherited from casa::PlotServerProxy
 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 &, const std::string &)
 signals... More...
 
void check (const int32_t &, const std::string &, const int32_t &)
 
void radio (const int32_t &, const std::string &, const bool &)
 
void linetext (const int32_t &, const std::string &, const std::string &)
 
void slidevalue (const int32_t &, const std::string &, const int32_t &)
 
void exiting ()
 
void closing (const int32_t &, const bool &)
 

Private Attributes

int p
 
int l
 
std::vector< double > xvals
 
std::vector< double > yvals
 
std::string returnvalue
 

Additional Inherited Members

- Static Public Member Functions inherited from casa::PlotServerProxy
static std::list< std::string > execArgs (const std::list< std::string > &args)
 
static std::string dbusName ()
 

Detailed Description

Definition at line 40 of file FlagPlotServerProxy.h.

Constructor & Destructor Documentation

casa::FlagPlotServerProxy::FlagPlotServerProxy ( char *&  dbusname)
inline

Definition at line 42 of file FlagPlotServerProxy.h.

Member Function Documentation

void casa::FlagPlotServerProxy::button ( const int32_t &  ,
const std::string &  name 
)
inline

std::cout << "button: " << name << "/" << panel << std::endl;

std::cout << returnvalue << std::endl;

Definition at line 93 of file FlagPlotServerProxy.h.

References casa::DBusSession::dispatcher(), casa::DBusSession::instance(), casa::dbus::Dispatcher::leave(), casa::name(), and returnvalue.

void casa::FlagPlotServerProxy::check ( const int32_t &  ,
const std::string &  name,
const int32_t &  state 
)
inline

std::cout << "check: " << name << "/" << panel << " <" << state << ">" << std::endl;

Definition at line 100 of file FlagPlotServerProxy.h.

References casa::DBusSession::dispatcher(), casa::DBusSession::instance(), casa::dbus::Dispatcher::leave(), and returnvalue.

void casa::FlagPlotServerProxy::closing ( const int32_t &  ,
const bool &   
)
inline

std::cout << "closing panel: " << panel << " (" << gone << ")..." << std::endl;

Definition at line 47 of file FlagPlotServerProxy.h.

References casa::DBusSession::dispatcher(), casa::DBusSession::instance(), casa::dbus::Dispatcher::leave(), and returnvalue.

void casa::FlagPlotServerProxy::draw ( std::vector< double >  x,
std::vector< double >  y,
std::string  color = "blue" 
)
inline
std::string casa::FlagPlotServerProxy::eventloop ( )
inline
void casa::FlagPlotServerProxy::exiting ( )
inline
dbus::variant casa::FlagPlotServerProxy::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
void casa::FlagPlotServerProxy::linetext ( const int32_t &  panel,
const std::string &  name,
const std::string &  text 
)
inline

Definition at line 112 of file FlagPlotServerProxy.h.

dbus::variant casa::FlagPlotServerProxy::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
void casa::FlagPlotServerProxy::radio ( const int32_t &  panel,
const std::string &  name,
const bool &  state 
)
inline

Definition at line 108 of file FlagPlotServerProxy.h.

dbus::variant casa::FlagPlotServerProxy::raster ( const std::vector< double > &  matrix,
int  sizex,
int  sizey,
const std::string &  colormap = "Greyscale 1",
int  panel = 0 
)
inline
void casa::FlagPlotServerProxy::slidevalue ( const int32_t &  panel,
const std::string &  name,
const int32_t &  value 
)
inline

Definition at line 116 of file FlagPlotServerProxy.h.

Member Data Documentation

int casa::FlagPlotServerProxy::l
private

Definition at line 130 of file FlagPlotServerProxy.h.

Referenced by draw(), line(), and raster().

int casa::FlagPlotServerProxy::p
private

Definition at line 129 of file FlagPlotServerProxy.h.

Referenced by draw(), and panel().

std::string casa::FlagPlotServerProxy::returnvalue
private

Definition at line 134 of file FlagPlotServerProxy.h.

Referenced by button(), check(), closing(), eventloop(), and exiting().

std::vector<double> casa::FlagPlotServerProxy::xvals
private

Definition at line 131 of file FlagPlotServerProxy.h.

Referenced by draw().

std::vector<double> casa::FlagPlotServerProxy::yvals
private

Definition at line 132 of file FlagPlotServerProxy.h.

Referenced by draw().


The documentation for this class was generated from the following file: