xmscore  1.0
MockMesher Class Reference

mock meshing class to show how the observer works More...

Public Member Functions

void SetObserver (BSHP< xms::Observer > a_)
 set the observer class More...
 
void WaitForNextTenthSecond (boost::timer::cpu_timer &a_timer, int &a_count)
 wait until next tenth second passed More...
 
void PretendMeshing ()
 mock meshing method
 

Public Attributes

BSHP< xms::Observerm_prog
 observer class to report progress
 

Detailed Description

mock meshing class to show how the observer works

Definition at line 268 of file Observer.cpp.

Member Function Documentation

◆ SetObserver()

void MockMesher::SetObserver ( BSHP< xms::Observer a_)
inline

set the observer class

Parameters
a_The observer

Definition at line 278 of file Observer.cpp.

Referenced by ObserverIntermediateTests::testMockObserver().

◆ WaitForNextTenthSecond()

void MockMesher::WaitForNextTenthSecond ( boost::timer::cpu_timer &  a_timer,
int &  a_count 
)
inline

wait until next tenth second passed

Parameters
a_timerTimer to track elapsed time
a_countNumber of tenths of a second that should have elapsed

Definition at line 284 of file Observer.cpp.


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