All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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.
 
virtual ~NumericKeyFrame ()
 Destructor.
 
const double & GetValue () const
 Get the value of the keyframe.
 
void SetValue (const double &_value)
 Set the value of the keyframe.
 
- Public Member Functions inherited from gazebo::common::KeyFrame
 KeyFrame (double _time)
 Constructor.
 
virtual ~KeyFrame ()
 Destructor.
 
double GetTime () const
 Get the time of the keyframe.
 

Protected Attributes

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

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: