ThreeB 1.1
Private Member Functions
NullUICallback Class Reference

User interface callback class which does nothing. More...

Inheritance diagram for NullUICallback:
UserInterfaceCallback

List of all members.

Private Member Functions

void per_spot (int, int, int, int)
void per_modification (int, int, int)
void per_pass (int, int, const std::vector< TooN::Vector< 4 > > &)
void perhaps_stop ()

Detailed Description

User interface callback class which does nothing.

Definition at line 52 of file multispot5.cc.


Member Function Documentation

void NullUICallback::per_spot ( int  iteration,
int  pass,
int  spot_num,
int  total_spots 
) [inline, private, virtual]

This function is called once per spot in each pass.

The idea is to provide a display along the lines of: Iteration #1 optimizing #2% complete

Parameters:
iterationIteration number
passPass number
spot_numSpot currently being optimized
total_spotsTotal number of spots to be optimized

Implements UserInterfaceCallback.

Definition at line 54 of file multispot5.cc.

{};
void NullUICallback::per_modification ( int  iteration,
int  spot_num,
int  total_spots 
) [inline, private, virtual]

This function is called once per spot in the modification phase.

The idea is to provide a display along the lines of: Iteration #1 modifying #2% complete

Parameters:
iterationIteration number
spot_numSpot currently being optimized
total_spotsTotal number of spots to be optimized

Implements UserInterfaceCallback.

Definition at line 55 of file multispot5.cc.

{};
void NullUICallback::per_pass ( int  iteration,
int  pass,
const std::vector< TooN::Vector< 4 > > &  spots 
) [inline, private, virtual]

This function is called once each time PASS data is outputted.

It will allow the GUI to build up a reconstruction.

Parameters:
iterationIteration number
passPass number
spotsData to be reconstructed

Implements UserInterfaceCallback.

Definition at line 56 of file multispot5.cc.

{};
void NullUICallback::perhaps_stop ( ) [inline, private, virtual]

The user wishes to issue a stop instruction to the program (perhaps done via an asynchronus call to an instance of of UserInterfaceCallback).

This function is called as often as possible and will throw UserIssuedStop when the condition is met.

Implements UserInterfaceCallback.

Definition at line 57 of file multispot5.cc.

{};

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