RcsPySim
A robot control and simulation library
Rcs::ControlPolicyRegistration< Policy > Class Template Reference

#include <ControlPolicy.h>

Public Member Functions

 ControlPolicyRegistration (const char *name)
 

Static Public Member Functions

static ControlPolicycreate (const char *dataFile)
 

Detailed Description

template<class Policy>
class Rcs::ControlPolicyRegistration< Policy >

Create a static field of this type to register a control policy type.

Definition at line 98 of file ControlPolicy.h.

Constructor & Destructor Documentation

◆ ControlPolicyRegistration()

template<class Policy>
Rcs::ControlPolicyRegistration< Policy >::ControlPolicyRegistration ( const char *  name)
inlineexplicit

Register the template type under the given name.

Parameters
nameexperiment name

Definition at line 105 of file ControlPolicy.h.

Member Function Documentation

◆ create()

template<class Policy>
static ControlPolicy* Rcs::ControlPolicyRegistration< Policy >::create ( const char *  dataFile)
inlinestatic

Creator function passed to ExperimentConfig::registerType.

Definition at line 113 of file ControlPolicy.h.


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