Google OR-Tools: operations_research::DelayedCallMethod0< T > Class Template Reference

Low-priority demon proxy to a method on the constraint with no arguments. More...

template<class T>
class operations_research::DelayedCallMethod0< T >

Low-priority demon proxy to a method on the constraint with no arguments.

These methods represents generic demons that will call back a method on the constraint during their Run method. This demon will have a priority DELAYED_PRIORITY.

Definition at line 670 of file constraint_solveri.h.

#include <constraint_solveri.h>

operations_research::Demon operations_research::BaseObject

Public Member Functions

 DelayedCallMethod0 (T *const ct, void(T::*method)(), const std::string &name)
 ~DelayedCallMethod0 () override
void Run (Solver *const) override
 This is the main callback of the demon.
Solver::DemonPriority priority () const override
std::string DebugString () const override
Public Member Functions inherited from operations_research::Demon
 Demon ()
 Demon (const Demon &)=delete
Demonoperator= (const Demon &)=delete
 ~Demon () override
std::string DebugString () const override
void inhibit (Solver *s)
void desinhibit (Solver *s)
 This method un-inhibits the demon that was previously inhibited.
Public Member Functions inherited from operations_research::BaseObject
 BaseObject ()
 BaseObject (const BaseObject &)=delete
BaseObjectoperator= (const BaseObject &)=delete
virtual ~BaseObject ()=default

◆ ~DelayedCallMethod0()

◆ DebugString()

◆ priority()

This method returns the priority of the demon. Usually a demon is fast, slow or normal. Immediate demons are reserved for internal use to maintain variables.

Reimplemented from operations_research::Demon.

Definition at line 679 of file constraint_solveri.h.

◆ Run()


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