|
UniSet @VERSION@
|
#include <ProcessTemplate.h>
Открытые члены | |
| const ProcessTemplate * | findByType (const std::string &type) const |
| const ProcessTemplate * | findByPrefix (const std::string &name) const |
| std::string | detectType (const std::string &name) const |
| void | registerTemplate (const ProcessTemplate &tmpl) |
| const std::vector< ProcessTemplate > & | templates () const |
Открытые статические члены | |
| static std::string | expandPattern (const std::string &pattern, const std::string &name) |
Registry of built-in process templates.
| std::string uniset::ProcessTemplateRegistry::detectType | ( | const std::string & | name | ) | const |
Detect process type by name.
| name | Process name |
|
static |
Expand pattern by replacing ${name} with actual name.
| pattern | Pattern string with ${name} placeholder |
| name | Process name to substitute |
| const ProcessTemplate * uniset::ProcessTemplateRegistry::findByPrefix | ( | const std::string & | name | ) | const |
Find template by process name using prefix matching.
| name | Process name (e.g. "SharedMemory1", "UNetExchange1") |
| const ProcessTemplate * uniset::ProcessTemplateRegistry::findByType | ( | const std::string & | type | ) | const |
Find template by type name.
| type | Type name (e.g. "SharedMemory", "UNetExchange") |
| void uniset::ProcessTemplateRegistry::registerTemplate | ( | const ProcessTemplate & | tmpl | ) |
Register custom template.
| tmpl | Template to register |
|
inline |
Get all registered templates.