ttg::ConstraintBase< Key > Struct Template Reference
Inheritance diagram for ttg::ConstraintBase< Key >:
Documentation
template<typename Key>
struct ttg::ConstraintBase< Key >
Definition at line 21 of file constraint.h.
Public Types | |
using | key_type = Key |
using | listener_t = std::function< void(const ttg::span< key_type > &)> |
Public Member Functions | |
ConstraintBase () | |
ConstraintBase (ConstraintBase &&cb) | |
ConstraintBase (const ConstraintBase &cb) | |
ConstraintBase & | operator= (ConstraintBase &&cb) |
ConstraintBase & | operator= (const ConstraintBase &cb) |
virtual | ~ConstraintBase ()=default |
void | add_listener (listener_t l, ttg::TTBase *tt) |
void | notify_listener (const ttg::span< key_type > &keys, ttg::TTBase *tt) |
Protected Member Functions | |
auto | lock_guard () |
Member Typedef Documentation
◆ key_type
template<typename Key >
using ttg::ConstraintBase< Key >::key_type = Key |
Definition at line 22 of file constraint.h.
◆ listener_t
template<typename Key >
using ttg::ConstraintBase< Key >::listener_t = std::function<void(const ttg::span<key_type>&)> |
Definition at line 23 of file constraint.h.
Constructor & Destructor Documentation
◆ ConstraintBase() [1/3]
template<typename Key >
|
inline |
Definition at line 25 of file constraint.h.
◆ ConstraintBase() [2/3]
template<typename Key >
|
inline |
Definition at line 28 of file constraint.h.
◆ ConstraintBase() [3/3]
template<typename Key >
|
inline |
Definition at line 32 of file constraint.h.
◆ ~ConstraintBase()
template<typename Key >
|
virtualdefault |
Member Function Documentation
◆ add_listener()
template<typename Key >
|
inline |
Definition at line 45 of file constraint.h.
◆ lock_guard()
template<typename Key >
|
inlineprotected |
Definition at line 57 of file constraint.h.
◆ notify_listener()
template<typename Key >
|
inline |
Definition at line 50 of file constraint.h.
◆ operator=() [1/2]
template<typename Key >
|
inline |
Definition at line 39 of file constraint.h.
◆ operator=() [2/2]
template<typename Key >
|
inline |
Definition at line 36 of file constraint.h.
The documentation for this struct was generated from the following file:
- ttg/ttg/constraint.h