$search

shadowrobot::PartialMovement Class Reference

#include <partial_movement.hpp>

Inheritance diagram for shadowrobot::PartialMovement:
Inheritance graph
[legend]

List of all members.

Public Member Functions

double get_target (double percentage)
 PartialMovement ()
virtual ~PartialMovement ()

Protected Attributes

std::vector< double > steps

Detailed Description

Definition at line 35 of file partial_movement.hpp.


Constructor & Destructor Documentation

shadowrobot::PartialMovement::PartialMovement (  ) 

Definition at line 31 of file partial_movement.cpp.

shadowrobot::PartialMovement::~PartialMovement (  )  [virtual]

Definition at line 34 of file partial_movement.cpp.


Member Function Documentation

double shadowrobot::PartialMovement::get_target ( double  percentage  ) 

Returns a target for the given percentage.

Parameters:
percentage must be between 0 and 1
Returns:
target from this movement.

Definition at line 37 of file partial_movement.cpp.


Member Data Documentation

std::vector<double> shadowrobot::PartialMovement::steps [protected]

A vector containing the steps for this movement, in percentage of the range. Contains -1 if no target for this point.

Definition at line 55 of file partial_movement.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


sr_movements
Author(s): Ugo Cupcic / ugo@shadowrobot.com
autogenerated on Sat Mar 2 15:21:23 2013