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

Public Methods | |
| RepositoryList (unsigned int maxNoSolutions, unsigned int DOF, unsigned int noOutputs=6, const String &objectName=String("")) | |
| ~RepositoryList () | |
| Repository * | Find (const String &repoName) |
| Repository * | Insert (const String &repoName, Repository *repo) |
| bool | SetJointOptions (VectorArray &solutions) |
| bool | GetJointOptions (VectorArray &solutions) const |
| VectorArray | GetJointOptions (void) const |
| bool | GetJointOption (unsigned int solutionNum, Vector &solution) const |
| Vector | GetJointOption (unsigned int solutionNum) const |
| bool | SetEEFOptions (Array< HandPose > &eefSolutions) |
| bool | GetEEFOptions (Array< HandPose > &eefSolutions) const |
| Array< HandPose > | GetEEFOptions (void) const |
| bool | GetEEFOption (unsigned int solutionNum, HandPose &solution) const |
| HandPose | GetEEFOption (unsigned int solutionNum) const |
Public Attributes | |
| unsigned int | maxNoSolutions |
| unsigned int | DOF |
| unsigned int | noOutputs |
Protected Attributes | |
| RepositoryMap | repositoryList |
| RepositoryMap::iterator | repositoryIterator |
| VectorRepository * | solutionsPtr |
| HandPoseRepository * | eefSolutionsPtr |
|
||||||||||||||||||||
|
Constructor for RepositoryList This constructor creates a dynamic list of Repository objects. A dynamic list is necessary so Repository objects can be read, set, or added as necessary during run-time. The only Repositories automatically inserted are VectorRepositories to hold the joint and EEF solutions which criteria will run on, all others are inserted by the criteria which require them.
|
|
|
Destructor for Repository It deletes all repositories which are members of the list.
|
|
|
Method to find a Repository in the list This method finds the specified repository in the list and returns a pointer to that repository. It only returns a Repository pointer so in order to have access to the Get/Set methods in TypeRepository you must static cast the pointer to a TypeRepository or higher pointer.
|
|
|
Method to get an EEFOption This method returns the EEF option specified.
|
|
||||||||||||
|
Method to get an EEFOption This method gets the EEF option specified.
|
|
|
Method to get the EEFOptions This method returns the HandPose options for which criteria will or have been computed on.
|
|
|
Method to get the EEFOptions This method gets the HandPose options for which criteria will or have been computed on.
|
|
|
Method to get a JointOption This method returns the joint option specified.
|
|
||||||||||||
|
Method to get a JointOption This method gets the joint option specified.
|
|
|
Method to get the JointOptions This method returns the joint options for which criteria will or have been computed on.
|
|
|
Method to get the JointOptions This method gets the joint options for which criteria will or have been computed on.
|
|
||||||||||||
|
Method to insert a Repository in the list. This method inserts a pointer to the specified repository and stores it under the string name specified. If a repository is already in the list under the specified name an error will be given and a null pointer returned.
|
|
|
Method to set the EEFOptions This method sets the HandPose options so criteria can compute the EEF criteria values.
|
|
|
Method to set the JointOptions This method sets the joint options so criteria can compute the criteria values. Note::This resets all the repository updated flags to false.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |