dejavu
Fast probabilistic symmetry detection.
Loading...
Searching...
No Matches
dejavu::hooks::multi_hook Class Reference

Calls several other hooks. More...

#include <dejavu.h>

+ Inheritance diagram for dejavu::hooks::multi_hook:
+ Collaboration diagram for dejavu::hooks::multi_hook:

Public Member Functions

void add_hook (dejavu_hook *hook)
 
void clear ()
 
dej_nodiscard size_t size () const
 
dejavu_hookget_hook () override
 
- Public Member Functions inherited from dejavu::hooks::hook_interface
virtual dejavu_hookget_hook ()=0
 
virtual ~hook_interface ()=default
 

Detailed Description

Calls several other hooks.

A hook that is used to call several other hooks.

Definition at line 55 of file dejavu.h.

Member Function Documentation

◆ add_hook()

void dejavu::hooks::multi_hook::add_hook ( dejavu_hook hook)
inline

Definition at line 65 of file dejavu.h.

◆ clear()

void dejavu::hooks::multi_hook::clear ( )
inline

Definition at line 69 of file dejavu.h.

◆ get_hook()

dejavu_hook * dejavu::hooks::multi_hook::get_hook ( )
inlineoverridevirtual

Implements dejavu::hooks::hook_interface.

Definition at line 77 of file dejavu.h.

◆ size()

dej_nodiscard size_t dejavu::hooks::multi_hook::size ( ) const
inline

Definition at line 73 of file dejavu.h.


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