LILAC
|
This is the base class for the control type classes. More...
#include <controller.h>
Public Member Functions | |
virtual std::vector< std::string > | dependencies () const |
virtual void | postprocess (input &inval) |
virtual void | addvar (std::weak_ptr< variable > v)=0 |
virtual std::string | type () const =0 |
virtual void | control (comp *u, objective *obj)=0 |
virtual char | is_good ()=0 |
virtual int | pre_set ()=0 |
![]() | |
size_t | get_dimension () const |
![]() | |
item () | |
virtual | ~item () |
virtual void | print () const |
Standard print function. | |
virtual void | update () |
void | setname (const std::string n) |
void | set_write_name (std::string wname) |
const std::string & | name () const |
const std::string & | write_name () const |
Public Attributes | |
int | index |
size_t | num_cont |
Protected Attributes | |
std::vector< std::weak_ptr < variable > > | vars |
int | act_index |
![]() | |
mempool | memp |
std::set< item_dim * > | children |
item_dim * | parent |
size_t | dimension |
![]() | |
std::string | _name |
std::string | _write_name |
char | has_write_name |
Additional Inherited Members | |
![]() | |
static std::shared_ptr< item > | create (std::string name, engineimp *rval) |
![]() | |
void | print_upstream () |
virtual void | _do_mem_update (size_t dim_old) |
void | add_as_parent (item_dim *p) |
void | add_as_parent (std::shared_ptr< item_dim > p) |
void | update_dim (size_t dim_new) |
This is the base class for the control type classes.
This class provides the base for classes that execute control algorithms It stores the variables in memory and executes control on them
Definition at line 27 of file controller.h.
|
pure virtual |
Implemented in toroidal.
|
virtual |
This function returns the dependencies of the controller class
- string names: The names of the variables to be controlled
Implements item_dim.
Reimplemented in toroidal.
Definition at line 32 of file controller.cpp.
|
pure virtual |
Implemented in toroidal.
|
virtual |
Reimplemented from item_dim.
Reimplemented in toroidal.
Definition at line 37 of file controller.cpp.
|
pure virtual |
Implemented in toroidal.
|
pure virtual |
|
protected |
Definition at line 30 of file controller.h.
int controller::index |
Definition at line 32 of file controller.h.
size_t controller::num_cont |
Definition at line 33 of file controller.h.
|
protected |
Definition at line 29 of file controller.h.