![]() |
BotNavSim
v0.4.3
Mobile Robot Simulation
|
Used to find and load INavigation implementations from .dll files. More...
Static Public Member Functions | |
static void | SearchForPlugins () |
Searchs for plugins in the INavigation directory (Strings.navigationPluginDirectory) Results are stored in pluginsFound. More... | |
static INavigation | LoadPlugin (string name) |
Instantiate the INavigation assembly from a given filename (not filepath). More... | |
static INavigation | RandomPlugin () |
Instantiates a random INavigation plugin from any plugin in the INavigation directory. More... | |
static string | RandomPluginName () |
Returns a random filename from the pluginsFound list. More... | |
Static Public Attributes | |
static List< string > | pluginsFound = new List<string>() |
List of .dll files that implement INavigation. More... | |
Static Private Attributes | |
static PluginFactory< INavigation > | _loader = new PluginFactory<INavigation>() |
Used to find and load INavigation implementations from .dll files.
Definition at line 10 of file NavLoader.cs.
|
static |
Instantiate the INavigation assembly from a given filename (not filepath).
name | Name. |
Definition at line 35 of file NavLoader.cs.
|
static |
Instantiates a random INavigation plugin from any plugin in the INavigation directory.
Definition at line 44 of file NavLoader.cs.
|
static |
Returns a random filename from the pluginsFound list.
Definition at line 54 of file NavLoader.cs.
|
static |
Searchs for plugins in the INavigation directory (Strings.navigationPluginDirectory) Results are stored in pluginsFound.
Definition at line 22 of file NavLoader.cs.
|
staticprivate |
Definition at line 16 of file NavLoader.cs.
|
static |
List of .dll files that implement INavigation.
Definition at line 15 of file NavLoader.cs.