ngscopeclient 0.1-dev+51fbda87c
|
Abstract base for objects (usually filters) which provide a series of actions a user can perform. More...
#include <ActionProvider.h>
Public Member Functions | |
virtual std::vector< std::string > | EnumActions ()=0 |
Return a list of all actions which may be performed on the object. More... | |
virtual bool | PerformAction (const std::string &id)=0 |
Perform a specific action. More... | |
Abstract base for objects (usually filters) which provide a series of actions a user can perform.
Actions are identified by ASCII text names, which must be unique within a given object.
Most objects provide only one or two actions, so a reasonable user interface is one button per action.
|
pure virtual |
Return a list of all actions which may be performed on the object.
Implemented in PausableFilter, ConstellationFilter, ExportFilter, MemoryFilter, PAMEdgeDetectorFilter, and ScalarStairstepFilter.
|
pure virtual |
Perform a specific action.
Implemented in PausableFilter, ConstellationFilter, ExportFilter, MemoryFilter, PAMEdgeDetectorFilter, and ScalarStairstepFilter.