Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

RLC::CSignalFrame Class Reference

A class that represents signal frame. More...

#include <signalframe.hh>

List of all members.

Public Member Functions

 CSignalFrame ()
 ~CSignalFrame ()
void setSignal (CSignal *signal)
 Connect a frame with a signal.
void setCoords (Gdk::Point coords)
 Sets coords (pixel coords, not field coords).
void setSize (Gdk::Point size)
 Sets size of a frame in pixels.
void setParent (RLC::CNetworksArea *parent)
 Sets a NetworksArea where signal frame will be drawn.
void draw ()
 Draws signal frame.

Protected Member Functions

int xF (int x)
int yF (int y)
int xC (int x)
int yC (int y)
void resetChartCoords ()

Protected Attributes

CSignalm_signal
Gdk::Point m_coords
Gdk::Point m_size
Gdk::Point m_chartCoords
RLC::CNetworksAream_parent


Detailed Description

A class that represents signal frame.

This frame is what is drawn on the screen, it inludes signal chart.


Constructor & Destructor Documentation

CSignalFrame::CSignalFrame  ) 
 

RLC::CSignalFrame::~CSignalFrame  )  [inline]
 


Member Function Documentation

void CSignalFrame::draw  ) 
 

Draws signal frame.

void CSignalFrame::resetChartCoords  )  [protected]
 

void CSignalFrame::setCoords Gdk::Point  coords  ) 
 

Sets coords (pixel coords, not field coords).

void RLC::CSignalFrame::setParent RLC::CNetworksArea parent  )  [inline]
 

Sets a NetworksArea where signal frame will be drawn.

void RLC::CSignalFrame::setSignal CSignal signal  )  [inline]
 

Connect a frame with a signal.

void RLC::CSignalFrame::setSize Gdk::Point  size  )  [inline]
 

Sets size of a frame in pixels.

int CSignalFrame::xC int  x  )  [protected]
 

int CSignalFrame::xF int  x  )  [protected]
 

int CSignalFrame::yC int  y  )  [protected]
 

int CSignalFrame::yF int  y  )  [protected]
 


Member Data Documentation

Gdk::Point RLC::CSignalFrame::m_chartCoords [protected]
 

Gdk::Point RLC::CSignalFrame::m_coords [protected]
 

RLC::CNetworksArea* RLC::CSignalFrame::m_parent [protected]
 

CSignal* RLC::CSignalFrame::m_signal [protected]
 

Gdk::Point RLC::CSignalFrame::m_size [protected]
 


The documentation for this class was generated from the following files:
Generated on Sun Jan 16 11:06:00 2005 for RolLerCoaster by  doxygen 1.3.9.1