Aqt.Cassowary
Public Types | Public Member Functions | Public Attributes | List of all members
aqt::cassowary::Context Class Reference
Inheritance diagram for aqt::cassowary::Context:

Public Types

using Id = std::size_t
 
using Callback = std::function< void()>
 

Public Member Functions

 Context (Callback cb)
 
rhea::simplex_solver & solver ()
 
void add (rhea::constraint c)
 
void remove (rhea::constraint c)
 
void suggest (rhea::constraint e, double x)
 
void edit (rhea::variable v, double x)
 
void notify (rhea::variable v, Callback cb)
 
void defer (Callback cb)
 
void commit ()
 
void requestSolve ()
 
template<typename... Args>
void log (Args &&...args)
 

Public Attributes

bool debug = false
 

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