Public Member Functions | Protected Attributes | List of all members
gazebo::common::NumericKeyFrame Class Reference

A keyframe for a NumericAnimation. More...

#include <KeyFrame.hh>

Inheritance diagram for gazebo::common::NumericKeyFrame:
Inheritance graph
[legend]

Public Member Functions

 NumericKeyFrame (double _time)
 Constructor. More...
 
virtual ~NumericKeyFrame ()
 Destructor. More...
 
const double & GetValue () const
 Get the value of the keyframe. More...
 
void SetValue (const double &_value)
 Set the value of the keyframe. More...
 
- Public Member Functions inherited from gazebo::common::KeyFrame
 KeyFrame (double _time)
 Constructor. More...
 
virtual ~KeyFrame ()
 Destructor. More...
 
double GetTime () const
 Get the time of the keyframe. More...
 

Protected Attributes

double value
 numeric value More...
 
- Protected Attributes inherited from gazebo::common::KeyFrame
double time
 time of key frame More...
 

Detailed Description

A keyframe for a NumericAnimation.

Constructor & Destructor Documentation

gazebo::common::NumericKeyFrame::NumericKeyFrame ( double  _time)

Constructor.

Parameters
[in]_timeTime of the keyframe
virtual gazebo::common::NumericKeyFrame::~NumericKeyFrame ( )
virtual

Destructor.

Member Function Documentation

const double& gazebo::common::NumericKeyFrame::GetValue ( ) const

Get the value of the keyframe.

Returns
the value of the keyframe
void gazebo::common::NumericKeyFrame::SetValue ( const double &  _value)

Set the value of the keyframe.

Parameters
[in]_valueThe new value

Member Data Documentation

double gazebo::common::NumericKeyFrame::value
protected

numeric value


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