Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

OSCAR::PCInertia Class Reference
[PerformanceCriteria]

PCInertia is an abstract class for criteria which are based on the inertia matrix. PCInertia is derived from PerformanceCriteria. It is an intermediate abstract class that contains the functionality to compute the inertia matrix necessary for certain criteria. More...

#include <PCInertia.h>

Inheritance diagram for OSCAR::PCInertia:

Inheritance graph
[legend]
List of all members.

Public Methods

 PCInertia (IDStandAlone *idObject)
 PCInertia (const PCInertia &crit)
PCInertia & operator= (const PCInertia &crit)
virtual ~PCInertia ()

Protected Methods

bool update (RepositoryList &repoList)

Protected Attributes

MatrixRepositoryiStarPtr
IDStandAloneidObject

Detailed Description

Author:
Mark Tisius and Chetan Kapoor


Constructor & Destructor Documentation

OSCAR::PCInertia::PCInertia IDStandAlone   idObject
 

Constructor for PCInertia This constructor creates an abstract object PCInertia that contains the computational ability to compute criteria based on the inertia matrix for the manipulator.

Parameters:
idObject A pointer to the IDStandAlone object which is used to calculate the Inertia matrix. Note: No FK object is needed because IDStandAlone does it internally.

OSCAR::PCInertia::PCInertia const PCInertia &    crit
 

Copy Constructor for PCInertia Use this to create a PCInertia object whose defaults are set via the constructor argument. Note: The idObject and IStar repository pointers are copied so changes to them will be seen by both criteria. A different repository will not be used to store the inertia matrices unless a different RepositoryList is sent to update().

Parameters:
crit: A PCInertia object that is used to create the new object

virtual OSCAR::PCInertia::~PCInertia   [virtual]
 

Destructor for PCInertia.


Member Function Documentation

PCInertia& OSCAR::PCInertia::operator= const PCInertia &    crit
 

Copy operator for PCInertia Use this to copy one PCInertia object into another. Note: The idObject and IStar repository pointers are copied so changes to them will be seen by both criteria. A different repository will not be used to store the inertia matrices unless a different RepositoryList is sent to update().

Returns:
A reference to itself
Parameters:
crit A PCInertia object that is copied into the calling object.

bool OSCAR::PCInertia::update RepositoryList   repoList [protected]
 

Reimplemented in OSCAR::PCEEFInertia, and OSCAR::PCInertiaEigenValues.


Member Data Documentation

IDStandAlone* OSCAR::PCInertia::idObject [protected]
 

MatrixRepository* OSCAR::PCInertia::iStarPtr [protected]
 


The documentation for this class was generated from the following file:
RRG Homepage OSCAR Overview OSCAR Tutorials Simulations