Callback object with protocol functionality. More...
#include <cmtkProtocolCallback.h>
Public Member Functions | |
ProtocolCallback (const char *filename=NULL, const bool debug=false) | |
Open protocol stream if filename is given. | |
virtual | ~ProtocolCallback () |
Destructor. | |
virtual CallbackResult | ExecuteWithData (const CoordinateVector &v, const double metric) |
Execute callback action. | |
virtual void | Comment (const char *comment=NULL) |
Write comment to protocol file. | |
Private Types | |
typedef RegistrationCallback | Superclass |
Convenience type definition. | |
Private Attributes | |
FILE * | fp |
Protocol stream. | |
bool | Debug |
Debug flag. |
Callback object with protocol functionality.
Definition at line 47 of file cmtkProtocolCallback.h.
typedef RegistrationCallback cmtk::ProtocolCallback::Superclass [private] |
Convenience type definition.
Definition at line 73 of file cmtkProtocolCallback.h.
bool cmtk::ProtocolCallback::Debug [private] |
Debug flag.
Definition at line 70 of file cmtkProtocolCallback.h.
FILE* cmtk::ProtocolCallback::fp [private] |
Protocol stream.
Definition at line 67 of file cmtkProtocolCallback.h.