Public Member Functions | Private Types | Private Attributes

cmtk::ProtocolCallback Class Reference
[cmtkRegistration Library]

Callback object with protocol functionality. More...

#include <cmtkProtocolCallback.h>

Inheritance diagram for cmtk::ProtocolCallback:
Inheritance graph
[legend]
Collaboration diagram for cmtk::ProtocolCallback:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Callback object with protocol functionality.

Definition at line 47 of file cmtkProtocolCallback.h.


Member Typedef Documentation

Convenience type definition.

Definition at line 73 of file cmtkProtocolCallback.h.


Member Data Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines