Public Member Functions | Private Attributes | List of all members
PathEngine::Configuration Class Reference

#include <Configuration.h>

Public Member Functions

 Configuration (unsigned int i_size)
 constructor More...
 
bool operator!= (const Configuration &cfg)
 compare configurations More...
 
bool operator== (const Configuration &cfg)
 compare configurations More...
 
const double operator[] (unsigned int i_rank) const
 
double & operator[] (unsigned int i_rank)
 
unsigned int size () const
 get the number of degrees of freedom More...
 
const double value (unsigned int i_rank) const
 
double & value (unsigned int i_rank)
 

Private Attributes

std::vector< double > m_values
 

Detailed Description

Definition at line 10 of file Configuration.h.

Constructor & Destructor Documentation

Configuration::Configuration ( unsigned int  i_size)

constructor

Definition at line 19 of file Configuration.cpp.

Member Function Documentation

bool Configuration::operator!= ( const Configuration cfg)

compare configurations

Returns
true if not equal, false otherwise

Definition at line 39 of file Configuration.cpp.

bool Configuration::operator== ( const Configuration cfg)

compare configurations

Returns
true if equal, false otherwise

Definition at line 48 of file Configuration.cpp.

const double PathEngine::Configuration::operator[] ( unsigned int  i_rank) const
inline

Definition at line 24 of file Configuration.h.

double& PathEngine::Configuration::operator[] ( unsigned int  i_rank)
inline

Definition at line 32 of file Configuration.h.

unsigned int Configuration::size ( void  ) const

get the number of degrees of freedom

Returns
the number of degrees of freedom

Definition at line 34 of file Configuration.cpp.

const double Configuration::value ( unsigned int  i_rank) const

get value of i_rank th dof

Parameters
i_rankrank of dof
Returns
value of i_rank th dof

Definition at line 24 of file Configuration.cpp.

double & Configuration::value ( unsigned int  i_rank)

set value of i_rank th dof

Parameters
i_rankrank of dof
i_valuevalue of dof

Definition at line 29 of file Configuration.cpp.

Member Data Documentation

std::vector<double> PathEngine::Configuration::m_values
private

Definition at line 53 of file Configuration.h.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:45