ScanEvent Class Reference

#include <scan_event.h>

List of all members.

Public Member Functions

 ScanEvent (double xPos, double yPos, double Val=0.)
 ~ScanEvent ()
void add_event (EventEntry *ee)
double get_position (double &x, double &y)
double distance (double *xy)
double distance2 (double *xy)
guint get_event_count ()
void print ()
 ScanEvent (double xPos, double yPos, double Val=0.)
 ~ScanEvent ()
void add_event (EventEntry *ee)
double get_position (double &x, double &y)
double distance (double *xy)
double distance2 (double *xy)
guint get_event_count ()
void print ()

Static Public Member Functions

static void eeremove (EventEntry *entry, gpointer from)
static void eeprint (EventEntry *entry, int *w)
static void eeremove (EventEntry *entry, gpointer from)
static void eeprint (EventEntry *entry, int *w)

Public Attributes

GSList * event_list
gint flag
GSList * event_list

Private Attributes

double xpos
double ypos
double val


Detailed Description

Definition at line 126 of file scan_event.h.


Constructor & Destructor Documentation

ScanEvent::ScanEvent double  xPos,
double  yPos,
double  Val = 0.
 

Definition at line 367 of file scan_event.C.

References DBG_L6, event_list, FALSE, flag, val, xpos, XSM_DEBUG, and ypos.

ScanEvent::~ScanEvent  ) 
 

Definition at line 377 of file scan_event.C.

References DBG_L6, eeremove(), event_list, and XSM_DEBUG.

ScanEvent::ScanEvent double  xPos,
double  yPos,
double  Val = 0.
 

ScanEvent::~ScanEvent  ) 
 


Member Function Documentation

void ScanEvent::add_event EventEntry ee  ) 
 

void ScanEvent::add_event EventEntry ee  ) 
 

Definition at line 383 of file scan_event.C.

References event_list.

Referenced by DSPControl::add_user_event_now().

double ScanEvent::distance double *  xy  )  [inline]
 

Definition at line 135 of file scan_event.h.

References sqrt(), xpos, and ypos.

double ScanEvent::distance double *  xy  )  [inline]
 

Definition at line 135 of file scan_event.h.

References sqrt(), xpos, and ypos.

Referenced by compare_events_distance().

double ScanEvent::distance2 double *  xy  )  [inline]
 

Definition at line 136 of file scan_event.h.

References xpos, and ypos.

double ScanEvent::distance2 double *  xy  )  [inline]
 

Definition at line 136 of file scan_event.h.

References xpos, and ypos.

Referenced by compare_events_distance().

static void ScanEvent::eeprint EventEntry entry,
int *  w
[static]
 

void ScanEvent::eeprint EventEntry entry,
int *  w
[static]
 

Definition at line 363 of file scan_event.C.

References EventEntry::print().

Referenced by print().

static void ScanEvent::eeremove EventEntry entry,
gpointer  from
[static]
 

void ScanEvent::eeremove EventEntry entry,
gpointer  from
[static]
 

Definition at line 359 of file scan_event.C.

Referenced by ~ScanEvent().

guint ScanEvent::get_event_count  )  [inline]
 

Definition at line 137 of file scan_event.h.

References event_list.

guint ScanEvent::get_event_count  )  [inline]
 

Definition at line 137 of file scan_event.h.

References event_list.

Referenced by ViewControl::update_event_panel().

double ScanEvent::get_position double &  x,
double &  y
[inline]
 

Definition at line 134 of file scan_event.h.

References val, xpos, and ypos.

double ScanEvent::get_position double &  x,
double &  y
[inline]
 

Definition at line 134 of file scan_event.h.

References val, xpos, and ypos.

Referenced by ViewControl::add_event_obj(), UserEntry::store_event_to_nc(), and ProbeEntry::write_nc_data().

void ScanEvent::print  )  [inline]
 

Definition at line 139 of file scan_event.h.

References eeprint(), event_list, xpos, and ypos.

void ScanEvent::print  )  [inline]
 

Definition at line 139 of file scan_event.h.

References eeprint(), event_list, xpos, and ypos.


Member Data Documentation

GSList* ScanEvent::event_list
 

Definition at line 142 of file scan_event.h.

GSList* ScanEvent::event_list
 

Definition at line 142 of file scan_event.h.

Referenced by add_event(), ViewControl::add_event_obj(), get_event_count(), ViewControl::obj_event_plot_callback(), print(), probe_image_extract_run(), ScanEvent(), ViewControl::update_event_panel(), Mem2d::WriteScanEvents(), and ~ScanEvent().

gint ScanEvent::flag
 

Definition at line 145 of file scan_event.h.

Referenced by ViewControl::add_event_obj(), and ScanEvent().

double ScanEvent::val [private]
 

Definition at line 147 of file scan_event.h.

Referenced by get_position(), and ScanEvent().

double ScanEvent::xpos [private]
 

Definition at line 147 of file scan_event.h.

Referenced by distance(), distance2(), get_position(), print(), and ScanEvent().

double ScanEvent::ypos [private]
 

Definition at line 147 of file scan_event.h.

Referenced by distance(), distance2(), get_position(), print(), and ScanEvent().


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 09:06:15 2006 for GXSM by  doxygen 1.4.6