decompiler  1.0.0
Public Member Functions | Static Public Member Functions | Protected Attributes | Static Private Attributes | List of all members
ghidra::IfaceCapability Class Referenceabstract

Groups of console commands that are discovered by the loader. More...

#include <interface.hh>

Inheritance diagram for ghidra::IfaceCapability:
ghidra::CapabilityPoint ghidra::IfaceDecompCapability

Public Member Functions

const string & getName (void) const
 Get the name of the capability.
 
virtual void initialize (void)
 Complete initialization of an extension point. More...
 
virtual void registerCommands (IfaceStatus *status)=0
 Register commands for this grouping.
 
- Public Member Functions inherited from ghidra::CapabilityPoint
virtual ~CapabilityPoint (void)
 Destructor.
 

Static Public Member Functions

static void registerAllCommands (IfaceStatus *status)
 Register all discovered commands with the interface. More...
 
- Static Public Member Functions inherited from ghidra::CapabilityPoint
static void initializeAll (void)
 Finish initialization for all extension points. More...
 

Protected Attributes

string name
 Identifying name for the capability.
 

Static Private Attributes

static vector< IfaceCapability * > thelist
 The global list of discovered command groupings.
 

Additional Inherited Members

- Protected Member Functions inherited from ghidra::CapabilityPoint
 CapabilityPoint (void)
 Construct extension capability exactly once. More...
 

Detailed Description

Groups of console commands that are discovered by the loader.

Any IfaceCommand that is registered with a grouping derived from this class is automatically made available to any IfaceStatus object just by calling the static registerAllCommands()

Member Function Documentation

◆ initialize()

void ghidra::IfaceCapability::initialize ( void  )
virtual

Complete initialization of an extension point.

This method is implemented by each extension so it can do specialized integration

Implements ghidra::CapabilityPoint.

References thelist.

◆ registerAllCommands()

void ghidra::IfaceCapability::registerAllCommands ( IfaceStatus status)
static

Register all discovered commands with the interface.

Allow each capability to register its own commands

Parameters
statusis the command line interface to register commands with

References registerCommands(), and thelist.

Referenced by ghidra::ConsoleCommands::ConsoleCommands().


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