#include <Repository.h>
Inheritance diagram for OSCAR::Repository:

Public Methods | |
| Repository (unsigned int maxNoSolutions, const String &objectName=String("")) | |
| bool | GetUpdatedStatus (unsigned int solutionNum) const |
| void | SetUpdatedStatus (bool newStatus) |
| void | SetUpdatedStatus (unsigned int solutionNum, bool newStatus) |
| Repository (const Repository &repo) | |
| Repository & | operator= (const Repository &repo) |
| virtual | ~Repository () |
Protected Attributes | |
| unsigned int | maxNoSolutions |
| BoolArray * | updateStatus |
|
||||||||||||
|
Constructor for Repository This constructor creates a repository object Repository that holds manipulator specific data needed to calculate certain criteria. This is a storage class only all computational ability is relegated to the criteria.
|
|
|
Copy Constructor for Repository Use this to create a Repository object whose defaults are set via the constructor argument.
|
|
|
Destructor for Repository();.
|
|
|
Use this method to return if the individual repository member has been updated. Criteria will test this to avoid using old data. It should be set to false after new a new set of joint solutions has been entered and set to true after a criteria updates the data based on the new solutions set.
|
|
|
Copy operator for Repository Use this to copy one Repository object into another. If the maxNoSolutions are different then an error will be given and then the original will be resized.
|
|
||||||||||||
|
Use this method to reset individual repository members. When the configuration of the manipulator changes the previously computed data is no longer valid so criteria will call reset. Reset will change updated to false.
|
|
|
Use this method to reset the repositories. When the configuration of the manipulator changes the previously computed data is no longer valid so criteria will call reset. Reset will change updated to false.
|
|
|
|
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |