bmv2
Designing your own switch target with bmv2
|
Go to the source code of this file.
Classes | |
class | bm::TargetParserIface |
Interface for target-specific command-line options parsers. More... | |
class | bm::TargetParserBasic |
class | bm::TargetParserBasicWithDynModules |
This file defines the bm::TargetParserIface interface and the bm::TargetParserBasic class, which implements this interface. Target developpers can write their own parser class, implementing bm::TargetParserIface, and pass an instance of it to bm::SwitchWContexts::init_from_command_line_options, which will be used to parse target-specific options. bm::TargetParserBasic is a simple example of a parser class, which should be enough for many targets.