Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
MyArea Class Reference

#include <MyArea.hh>

List of all members.

Public Member Functions

void addCross (int frame)
void addDot (int frame, int node, int color)
void addLeftCross (int frame)
void addMark (int frame)
void beginInsert ()
void clean_info ()
void clean_window ()
void compute_environment ()
void delete_older ()
void endInsert ()
int get_mouse_on_serial ()
long get_mouse_on_time ()
int get_offset_of_selected ()
int get_older_offset ()
int get_selected ()
int get_selected (int &from, int &to, int &col)
int get_selected_serial ()
long get_selected_time ()
int get_y_pos (int node_id)
void insert (int from, int to, long time, int col)
int insertOne (int from, int to, long time, int pos_in_file, int col, int nt)
int insertOne (int from, int to, unsigned long long time, int pos_in_file, unsigned long serial, int col, int nt)
 MyArea ()
void paint ()
void resetActive ()
void set_max_size (int _max_size)
int set_selected (int n)
void setActive (int i)
void setNumOfNodes (int n)

Protected Member Functions

virtual bool on_expose_event (GdkEventExpose *e)
virtual bool on_MyArea_button_press_event (GdkEventButton *ev)
virtual bool on_MyArea_button_release_event (GdkEventButton *ev)
bool on_MyArea_motion_notify_event (GdkEventMotion *event)
virtual void on_realize ()
bool timer_callback ()

Private Member Functions

void draw_frame (int i)

Private Attributes

std::vector< bool > activeVec
int bytime
Gdk::Color cols [32]
std::vector< FrameframeVec
Glib::RefPtr< Gdk::GC > gc
unsigned int max
int max_size
unsigned int min
int mouse_on
int num_nodes
int selected
pthread_mutex_t sem
int step
Glib::RefPtr< Gdk::Window > window
int x0
double x_max
double x_min
int y0
double y_max
double y_min

Detailed Description

Definition at line 74 of file MyArea.hh.


Constructor & Destructor Documentation

Definition at line 49 of file MyArea.cc.


Member Function Documentation

void MyArea::addCross ( int  frame)

Definition at line 157 of file MyArea.cc.

void MyArea::addDot ( int  frame,
int  node,
int  color 
)

Definition at line 142 of file MyArea.cc.

void MyArea::addLeftCross ( int  frame)

Definition at line 163 of file MyArea.cc.

void MyArea::addMark ( int  frame)

Definition at line 151 of file MyArea.cc.

Definition at line 80 of file MyArea.cc.

Definition at line 409 of file MyArea.cc.

Definition at line 233 of file MyArea.cc.

Definition at line 84 of file MyArea.cc.

void MyArea::draw_frame ( int  i) [private]

Definition at line 297 of file MyArea.cc.

Definition at line 185 of file MyArea.cc.

Definition at line 399 of file MyArea.cc.

Definition at line 388 of file MyArea.cc.

Definition at line 425 of file MyArea.cc.

Definition at line 91 of file MyArea.cc.

Definition at line 421 of file MyArea.cc.

int MyArea::get_selected ( int &  from,
int &  to,
int &  col 
)

Definition at line 436 of file MyArea.cc.

Definition at line 368 of file MyArea.cc.

Definition at line 378 of file MyArea.cc.

int MyArea::get_y_pos ( int  node_id)

Definition at line 227 of file MyArea.cc.

void MyArea::insert ( int  from,
int  to,
long  time,
int  col 
)

Definition at line 170 of file MyArea.cc.

int MyArea::insertOne ( int  from,
int  to,
long  time,
int  pos_in_file,
int  col,
int  nt 
)

Definition at line 119 of file MyArea.cc.

int MyArea::insertOne ( int  from,
int  to,
unsigned long long  time,
int  pos_in_file,
unsigned long  serial,
int  col,
int  nt 
)

Definition at line 96 of file MyArea.cc.

bool MyArea::on_expose_event ( GdkEventExpose *  e) [protected, virtual]

Definition at line 415 of file MyArea.cc.

bool MyArea::on_MyArea_button_press_event ( GdkEventButton *  ev) [protected, virtual]

Definition at line 448 of file MyArea.cc.

bool MyArea::on_MyArea_button_release_event ( GdkEventButton *  ev) [protected, virtual]

Definition at line 460 of file MyArea.cc.

bool MyArea::on_MyArea_motion_notify_event ( GdkEventMotion *  event) [protected]

Definition at line 355 of file MyArea.cc.

void MyArea::on_realize ( ) [protected, virtual]

Definition at line 202 of file MyArea.cc.

void MyArea::paint ( )

Definition at line 246 of file MyArea.cc.

Definition at line 464 of file MyArea.cc.

void MyArea::set_max_size ( int  _max_size)

Definition at line 221 of file MyArea.cc.

int MyArea::set_selected ( int  n)

Definition at line 208 of file MyArea.cc.

void MyArea::setActive ( int  i)

Definition at line 471 of file MyArea.cc.

void MyArea::setNumOfNodes ( int  n)

Definition at line 191 of file MyArea.cc.

bool MyArea::timer_callback ( ) [protected]

Definition at line 198 of file MyArea.cc.


Member Data Documentation

std::vector<bool> MyArea::activeVec [private]

Definition at line 80 of file MyArea.hh.

int MyArea::bytime [private]

Definition at line 87 of file MyArea.hh.

Gdk::Color MyArea::cols[32] [private]

Definition at line 81 of file MyArea.hh.

std::vector<Frame> MyArea::frameVec [private]

Definition at line 79 of file MyArea.hh.

Glib::RefPtr<Gdk::GC> MyArea::gc [private]

Definition at line 83 of file MyArea.hh.

unsigned int MyArea::max [private]

Definition at line 86 of file MyArea.hh.

int MyArea::max_size [private]

Definition at line 88 of file MyArea.hh.

unsigned int MyArea::min [private]

Definition at line 86 of file MyArea.hh.

int MyArea::mouse_on [private]

Definition at line 89 of file MyArea.hh.

int MyArea::num_nodes [private]

Definition at line 77 of file MyArea.hh.

int MyArea::selected [private]

Definition at line 77 of file MyArea.hh.

pthread_mutex_t MyArea::sem [private]

Definition at line 76 of file MyArea.hh.

int MyArea::step [private]

Definition at line 85 of file MyArea.hh.

Glib::RefPtr<Gdk::Window> MyArea::window [private]

Definition at line 82 of file MyArea.hh.

int MyArea::x0 [private]

Definition at line 84 of file MyArea.hh.

double MyArea::x_max [private]

Definition at line 78 of file MyArea.hh.

double MyArea::x_min [private]

Definition at line 78 of file MyArea.hh.

int MyArea::y0 [private]

Definition at line 84 of file MyArea.hh.

double MyArea::y_max [private]

Definition at line 78 of file MyArea.hh.

double MyArea::y_min [private]

Definition at line 78 of file MyArea.hh.


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


ros_rt_wmp_sniffer
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Mon Oct 6 2014 08:27:58