MocoExtendProblem: Interface Between OpenSim and MATLAB for Rapidly Developing Direct Collocation Goals in Moco 1.1.0
add custom Moco goals to existing matlab scripts
OperationFactory Class Reference

Factory class for operations. More...

#include <dispatch.h>

Public Types

typedef std::map< OperationNameAdmitter *, OperationCreator * > RegistryMap
 

Static Public Member Functions

static Operationcreate (const std::string &name)
 Create a new instance of the registered operation.
 
static RegistryMapregistry ()
 Obtain a pointer to the registration table.
 

Static Private Member Functions

static RegistryMap::const_iterator find (const std::string &name)
 

Friends

void CreateOperation (OperationNameAdmitter *admitter, OperationCreator *creator)
 Register a new creator.
 

Detailed Description

Factory class for operations.

Member Typedef Documentation

◆ RegistryMap

Member Function Documentation

◆ create()

static Operation * create ( const std::string & name)
inlinestatic

Create a new instance of the registered operation.

Here is the call graph for this function:

◆ find()

static RegistryMap::const_iterator find ( const std::string & name)
inlinestaticprivate
Here is the call graph for this function:
Here is the caller graph for this function:

◆ registry()

static RegistryMap * registry ( )
inlinestatic

Obtain a pointer to the registration table.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ CreateOperation

void CreateOperation ( OperationNameAdmitter * admitter,
OperationCreator * creator )
friend

Register a new creator.


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