Ghidra Decompiler Analysis Engine
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
IfaceCapability Class Referenceabstract

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

#include <interface.hh>

Inheritance diagram for IfaceCapability:
Inheritance graph
[legend]
Collaboration diagram for IfaceCapability:
Collaboration graph
[legend]

Public Member Functions

virtual void initialize (void)
 Complete initialization of an extension point. More...
 
virtual void registerCommands (IfaceStatus *status)=0
 Register commands for this grouping.
 

Static Public Member Functions

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

Protected Attributes

string name
 Identifying name for the capability.
 

Additional Inherited Members

- Protected Member Functions inherited from 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 IfaceCapability::initialize ( void  )
virtual

Complete initialization of an extension point.

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

Implements CapabilityPoint.

◆ registerAllCommands()

void 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

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