Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set
// doxy/ or-tools/ src/ constraint_solver/

operations_research::CallMethod0< T > Class Template Reference

Demon proxy to a method on the constraint with no arguments. More...

#include <constraint_solveri.h>

Inheritance diagram for operations_research::CallMethod0< T >:

operations_research::Demon operations_research::BaseObject

List of all members.

Public Member Functions

 CallMethod0 (T *const ct, void(T::*method)(), const string &name)
virtual ~CallMethod0 ()
virtual void Run (Solver *const s)
 This is the main callback of the demon.
virtual string DebugString () const


Detailed Description

template<class T>
class operations_research::CallMethod0< T >

Demon proxy to a method on the constraint with no arguments.

These methods represent generic demons that will call back a method on the constraint during their Run method. This way, all propagation methods are members of the constraint class, and demons are just proxies with a priority of NORMAL_PRIORITY.

Definition at line 522 of file constraint_solveri.h.


Constructor & Destructor Documentation

template<class T>
operations_research::CallMethod0< T >::CallMethod0 ( T *const   ct,
void(T::*)()  method,
const string &  name 
) [inline]

Definition at line 524 of file constraint_solveri.h.

template<class T>
virtual operations_research::CallMethod0< T >::~CallMethod0 (  )  [inline, virtual]

Definition at line 527 of file constraint_solveri.h.


Member Function Documentation

template<class T>
virtual void operations_research::CallMethod0< T >::Run ( Solver *const   s  )  [inline, virtual]

This is the main callback of the demon.

Implements operations_research::Demon.

Definition at line 529 of file constraint_solveri.h.

template<class T>
virtual string operations_research::CallMethod0< T >::DebugString (  )  const [inline, virtual]

Reimplemented from operations_research::Demon.

Definition at line 533 of file constraint_solveri.h.


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