LLDB mainline
|
A class designed to wrap callback batons so they can cleanup any acquired resources. More...
#include "lldb/Core/Baton.h"
Public Member Functions | |
Baton ()=default | |
virtual | ~Baton ()=default |
virtual void * | data ()=0 |
virtual void | GetDescription (llvm::raw_ostream &s, lldb::DescriptionLevel level, unsigned indentation) const =0 |
A class designed to wrap callback batons so they can cleanup any acquired resources.
This class is designed to be used by any objects that have a callback function that takes a baton where the baton might need to free/delete/close itself.
The default behavior is to not free anything. Subclasses can free any needed resources in their destructors.
|
default |
|
virtualdefault |
|
pure virtual |
|
pure virtual |
Implemented in lldb_private::BreakpointOptions::CommandBaton, lldb_private::WatchpointOptions::CommandBaton, lldb_private::UntypedBaton, lldb_private::TypedBaton< T >, lldb_private::TypedBaton< CallbackData >, lldb_private::TypedBaton< CommandData >, and lldb_private::TypedBaton< WatchpointVariableContext >.
Referenced by CommandObjectBreakpointCommandList::DoExecute(), and CommandObjectWatchpointCommandList::DoExecute().