Arena Class Reference

#include <arena.h>

Inheritance diagram for Arena:

Inheritance graph
[legend]
Collaboration diagram for Arena:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 33 of file arena.h.


Public Slots

void animate ()
void setShrinkPathEnabled (bool)
void setDrawSurfaceEnabled (bool)
void zoom (qreal)

Signals

void preferredPosChanged (QPoint)
void coreInfoChanged ()

Public Member Functions

 Arena (CoreSync *, QWidget *parent=0)
 ~Arena ()
QSize envSize () const
int botSize () const
const CoreInfocoreInfo () const

Protected Member Functions

virtual void paintEvent (QPaintEvent *)

Private Slots

void botPosChanged ()

Private Attributes

Privated

Classes

struct  Private

Constructor & Destructor Documentation

Arena ( CoreSync cs,
QWidget *  parent = 0 
)

Definition at line 69 of file arena.cc.

References BotPath::addPos(), animate(), Arena::Private::arena, Arena::Private::botLastPosition, Arena::Private::botPath, Arena::Private::botPosF(), Arena::Private::botPosition, Arena::Private::botSize, Arena::Private::coreInfo, Arena::Private::cs, d, Arena::Private::drawSurface, dtRepaint, Arena::Private::envSize, readCoreInfo(), Arena::Private::ticks, Arena::Private::timer, Point::x, Point::y, and zoom().

Here is the call graph for this function:

~Arena (  ) 

Definition at line 104 of file arena.cc.

References d, and Arena::Private::timer.


Member Function Documentation

QSize envSize (  )  const

Definition at line 108 of file arena.cc.

References d, and Arena::Private::envSize.

Referenced by VisWnd::showMainWindow().

Here is the caller graph for this function:

int botSize (  )  const

Definition at line 115 of file arena.cc.

References Arena::Private::botSize, d, and Arena::Private::zoomRatio.

Referenced by VisWnd::scrollToView().

const CoreInfo & coreInfo (  )  const [virtual]

Implements ICoreInfoSource.

Definition at line 118 of file arena.cc.

References Arena::Private::coreInfo, and d.

void preferredPosChanged ( QPoint   )  [signal]

Referenced by botPosChanged(), and zoom().

void coreInfoChanged (  )  [signal]

Referenced by botPosChanged().

void animate (  )  [slot]

Definition at line 121 of file arena.cc.

References d, and Arena::Private::ticks.

Referenced by Arena().

void setShrinkPathEnabled ( bool  enabled  )  [slot]

Definition at line 145 of file arena.cc.

References Arena::Private::botPath, d, and BotPath::setShrinkEnabled().

void setDrawSurfaceEnabled ( bool  enabled  )  [slot]

Definition at line 149 of file arena.cc.

References d, and Arena::Private::drawSurface.

void zoom ( qreal  ratio  )  [slot]

Definition at line 125 of file arena.cc.

References Arena::Private::botPosPx(), d, envPenWidth, Arena::Private::envSize, preferredPosChanged(), and Arena::Private::zoomRatio.

Referenced by Arena(), and VisWnd::VisWnd().

void paintEvent ( QPaintEvent *   )  [protected, virtual]

Definition at line 153 of file arena.cc.

References Arena::Private::botLastPosition, botPosChanged(), Arena::Private::botPosF(), Arena::Private::botPosition, Arena::Private::coreInfo, Arena::Private::cs, d, readCoreInfo(), Arena::Private::render(), and Arena::Private::zoomRatio.

Here is the call graph for this function:

void botPosChanged (  )  [private, slot]

Definition at line 186 of file arena.cc.

References BotPath::addPos(), Arena::Private::botLastPosition, Arena::Private::botPath, Arena::Private::botPosPx(), coreInfoChanged(), d, and preferredPosChanged().

Referenced by paintEvent().


Member Data Documentation

Private* d [private]

Definition at line 54 of file arena.h.

Referenced by animate(), Arena(), botPosChanged(), botSize(), coreInfo(), envSize(), paintEvent(), setDrawSurfaceEnabled(), setShrinkPathEnabled(), zoom(), and ~Arena().


The documentation for this class was generated from the following files:
Generated on Fri Jul 10 22:42:07 2009 for rob08 by  doxygen 1.5.4