VPTissue Reference Manual
Modes::ModeManager< executable_type > Class Template Reference

Factory produces functions that start the different modes of the various executables. More...

#include <mode_manager.h>

Inheritance diagram for Modes::ModeManager< executable_type >:
Inheritance graph
Collaboration diagram for Modes::ModeManager< executable_type >:
Collaboration graph

Public Types

using MapType = SimPT_Sim::Util::FunctionMap< Function()>
 Map type that stores the factories for each of the individual classes.
 

Static Public Member Functions

static Function Create (const std::string &application)
 Create a function.
 
static std::string DefaultApplication ()
 Returns the default application.
 
static bool IsValid (const std::string &selection)
 Check whether selection is valid i.e. More...
 
static std::vector< std::string > List ()
 Lists all the registered applications.
 
static int main (int argc, char **argv)
 

Detailed Description

template<typename executable_type>
class Modes::ModeManager< executable_type >

Factory produces functions that start the different modes of the various executables.

Definition at line 47 of file mode_manager.h.

Member Function Documentation

template<typename executable_type>
static bool Modes::ModeManager< executable_type >::IsValid ( const std::string &  selection)
inlinestatic

Check whether selection is valid i.e.

is known to Factory.

Definition at line 65 of file mode_manager.h.

Referenced by Modes::ModeManager< sim >::Create().

Here is the caller graph for this function:


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