casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::FlagPlotServerProxy Class Reference

#include <LFPlotServerProxy.h>

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

List of all members.

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)
 signals...
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 ()

Private Attributes

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

Detailed Description

Definition at line 39 of file LFPlotServerProxy.h.


Constructor & Destructor Documentation

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

Definition at line 41 of file LFPlotServerProxy.h.


Member Function Documentation

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

signals...

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

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

Reimplemented from casa::PlotServerProxy.

Definition at line 92 of file LFPlotServerProxy.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;

Reimplemented from casa::PlotServerProxy.

Definition at line 99 of file LFPlotServerProxy.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;

Reimplemented from casa::PlotServerProxy.

Definition at line 46 of file LFPlotServerProxy.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]
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]

Reimplemented from casa::PlotServerProxy.

Definition at line 111 of file LFPlotServerProxy.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]

Reimplemented from casa::PlotServerProxy.

Definition at line 52 of file LFPlotServerProxy.h.

References casa::dbus::variant::getInt(), casa::dbus::variant::INT, p, and casa::dbus::variant::type().

Referenced by line(), and raster().

void casa::FlagPlotServerProxy::radio ( const int32_t &  panel,
const std::string &  name,
const bool &  state 
) [inline]

Reimplemented from casa::PlotServerProxy.

Definition at line 107 of file LFPlotServerProxy.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]

Reimplemented from casa::PlotServerProxy.

Definition at line 115 of file LFPlotServerProxy.h.


Member Data Documentation

Definition at line 129 of file LFPlotServerProxy.h.

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

Definition at line 128 of file LFPlotServerProxy.h.

Referenced by draw(), and panel().

Definition at line 133 of file LFPlotServerProxy.h.

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

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

Definition at line 130 of file LFPlotServerProxy.h.

Referenced by draw().

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

Definition at line 131 of file LFPlotServerProxy.h.

Referenced by draw().


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