Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

DfpnSolver::GuiFx Class Reference

Handles guifx output. More...

List of all members.

Public Member Functions

 GuiFx ()
void SetChildren (const DfpnChildren &children, const std::vector< DfpnData > &bounds)
void PlayMove (HexColor color, int index)
void UndoMove ()
void UpdateCurrentBounds (const DfpnBounds &bounds)
void Write ()
 Writes output only if last write was more than m_delay seconds ago or if the move is different.
void WriteForced ()
 Always writes output.

Private Member Functions

void DoWrite ()
 Writes progress indication.

Private Attributes

DfpnChildren m_children
std::vector< DfpnDatam_data
HexColor m_color
int m_index
double m_timeOfLastWrite
int m_indexAtLastWrite
double m_delay

Detailed Description

Handles guifx output.

Definition at line 489 of file DfpnSolver.hpp.


Constructor & Destructor Documentation

DfpnSolver::GuiFx::GuiFx (  ) 

Definition at line 81 of file DfpnSolver.cpp.


Member Function Documentation

void DfpnSolver::GuiFx::DoWrite (  )  [private]

Writes progress indication.

Definition at line 134 of file DfpnSolver.cpp.

References BLACK, DfpnChildren::FirstMove(), m_children, m_color, m_data, m_index, and DfpnChildren::Size().

Referenced by Write(), and WriteForced().

void DfpnSolver::GuiFx::PlayMove ( HexColor  color,
int  index 
)

Definition at line 95 of file DfpnSolver.cpp.

References m_color, and m_index.

Referenced by DfpnSolver::MID().

void DfpnSolver::GuiFx::SetChildren ( const DfpnChildren children,
const std::vector< DfpnData > &  bounds 
)

Definition at line 88 of file DfpnSolver.cpp.

References m_children, and m_data.

Referenced by DfpnSolver::MID().

void DfpnSolver::GuiFx::UndoMove (  ) 

Definition at line 101 of file DfpnSolver.cpp.

References m_index.

Referenced by DfpnSolver::MID().

void DfpnSolver::GuiFx::UpdateCurrentBounds ( const DfpnBounds bounds  ) 

Definition at line 106 of file DfpnSolver.cpp.

References HexAssert, m_data, and m_index.

Referenced by DfpnSolver::MID().

void DfpnSolver::GuiFx::Write (  ) 

Writes output only if last write was more than m_delay seconds ago or if the move is different.

Definition at line 120 of file DfpnSolver.cpp.

References DoWrite(), Get(), m_delay, m_index, m_indexAtLastWrite, and m_timeOfLastWrite.

Referenced by DfpnSolver::MID().

void DfpnSolver::GuiFx::WriteForced (  ) 

Always writes output.

Definition at line 113 of file DfpnSolver.cpp.

References DoWrite().

Referenced by DfpnSolver::MID().


Member Data Documentation

Definition at line 510 of file DfpnSolver.hpp.

Referenced by DoWrite(), and SetChildren().

Definition at line 514 of file DfpnSolver.hpp.

Referenced by DoWrite(), and PlayMove().

std::vector<DfpnData> DfpnSolver::GuiFx::m_data [private]

Definition at line 512 of file DfpnSolver.hpp.

Referenced by DoWrite(), SetChildren(), and UpdateCurrentBounds().

double DfpnSolver::GuiFx::m_delay [private]

Definition at line 522 of file DfpnSolver.hpp.

Referenced by Write().

Definition at line 516 of file DfpnSolver.hpp.

Referenced by DoWrite(), PlayMove(), UndoMove(), UpdateCurrentBounds(), and Write().

Definition at line 520 of file DfpnSolver.hpp.

Referenced by Write().

Definition at line 518 of file DfpnSolver.hpp.

Referenced by Write().


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


6 Jan 2011 Doxygen 1.6.3