Breakpoint interface class.
More...
#include <Breakpoint.hh>
|
| virtual void | callback (std::function< void(Event &)> callback)=0 |
| | Change the callback of the breakpoint.
|
| |
| virtual std::shared_ptr< void > | data ()=0 |
| | Get the arbitrary data associated with the breakpoint.
|
| |
| virtual std::shared_ptr< const void > | data () const =0 |
| |
| virtual void | data (const std::shared_ptr< void > &value)=0 |
| | Set the arbitrary data associated with the breakpoint.
|
| |
| virtual void | data (std::shared_ptr< void > &&value)=0 |
| |
| virtual | ~Breakpoint ()=default |
| |
Breakpoint interface class.
◆ ~Breakpoint()
| virtual introvirt::Breakpoint::~Breakpoint |
( |
| ) |
|
|
virtualdefault |
◆ callback()
| virtual void introvirt::Breakpoint::callback |
( |
std::function< void(Event &)> |
callback | ) |
|
|
pure virtual |
Change the callback of the breakpoint.
- Parameters
-
| callback | The new callback to run |
◆ data() [1/4]
| virtual std::shared_ptr< const void > introvirt::Breakpoint::data |
( |
| ) |
const |
|
pure virtual |
◆ data() [2/4]
| virtual std::shared_ptr< void > introvirt::Breakpoint::data |
( |
| ) |
|
|
pure virtual |
Get the arbitrary data associated with the breakpoint.
- Returns
- std::shared_ptr<void>
◆ data() [3/4]
| virtual void introvirt::Breakpoint::data |
( |
const std::shared_ptr< void > & |
value | ) |
|
|
pure virtual |
Set the arbitrary data associated with the breakpoint.
- Parameters
-
◆ data() [4/4]
| virtual void introvirt::Breakpoint::data |
( |
std::shared_ptr< void > && |
value | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file:
- /home/runner/work/IntroVirt/IntroVirt/include/introvirt/core/breakpoint/Breakpoint.hh