Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
hrplib
hrpPlanner
Configuration.h
Go to the documentation of this file.
1
// -*- mode: c++; indent-tabs-mode: nil; c-basic-offset: 4; tab-width: 4; -*-
2
#ifndef __CONFIGURATION_H__
3
#define __CONFIGURATION_H__
4
5
#include "
exportdef.h
"
6
#include <vector>
7
#include <iostream>
8
9
namespace
PathEngine
{
10
class
HRPPLANNER_API
Configuration
11
{
12
public
:
16
Configuration
(
unsigned
int
i_size);
17
23
const
double
value
(
unsigned
int
i_rank)
const
;
24
const
double
operator[]
(
unsigned
int
i_rank)
const
{
return
value
(i_rank); }
25
31
double
&
value
(
unsigned
int
i_rank);
32
double
&
operator[]
(
unsigned
int
i_rank) {
return
value
(i_rank); }
33
38
unsigned
int
size
()
const
;
39
44
bool
operator!=
(
const
Configuration
& cfg);
45
50
bool
operator==
(
const
Configuration
& cfg);
51
52
private
:
53
std::vector<double>
m_values
;
54
};
55
56
std::ostream&
operator<<
(std::ostream& out,
const
PathEngine::Configuration
& cfg);
57
};
58
59
60
#endif
PathEngine::Configuration
Definition:
Configuration.h:10
operator!=
bool operator!=(const EchoSample &, const EchoSample &)
size
png_uint_32 size
Definition:
png.h:1521
value
png_voidp int value
Definition:
png.h:2113
operator==
bool operator==(const EchoSample &, const EchoSample &)
PathEngine::Configuration::m_values
std::vector< double > m_values
Definition:
Configuration.h:53
PathEngine::Configuration::operator[]
double & operator[](unsigned int i_rank)
Definition:
Configuration.h:32
PathEngine::operator<<
std::ostream & operator<<(std::ostream &out, const Configuration &cfg)
Definition:
Configuration.cpp:8
PathEngine::Configuration::operator[]
const double operator[](unsigned int i_rank) const
Definition:
Configuration.h:24
HRPPLANNER_API
#define HRPPLANNER_API
Definition:
exportdef.h:22
exportdef.h
PathEngine
Definition:
Algorithm.h:13
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:37