#include <time_map.h>
Inheritance diagram for TimeMapValue:


Public Member Functions | |
| virtual | ~TimeMapValue () |
| TimeMapValue () | |
| TimeMapValue (double position) | |
| TimeMapValue (double position, TimeMapValue *entry) | |
| void | SetValue (double value) |
| double | GetValue () |
| TimeMapValue * | Get (double position, TimeMapValue *ante) |
Protected Attributes | |
| double | value |
|
|
Definition at line 72 of file time_map.h. 00072 { }
|
|
|
Definition at line 73 of file time_map.h. References TimeEntry< TimeMapValue >::SetEditable(), and TimeEntry< TimeMapValue >::SetPosition(). Referenced by Get(). 00073 : value(0) { SetPosition( 0 ); SetEditable( false ); }
|
|
|
Definition at line 74 of file time_map.h. References TimeEntry< TimeMapValue >::SetEditable(), and TimeEntry< TimeMapValue >::SetPosition(). 00074 : value(0) { SetPosition( position ); SetEditable( false ); }
|
|
||||||||||||
|
Definition at line 75 of file time_map.h. References TimeEntry< TimeMapValue >::SetEditable(), TimeEntry< TimeMapValue >::SetPosition(), and value. 00075 { SetPosition( position ); SetEditable( false ); this->value = entry->value; }
|
|
||||||||||||
|
Implements TimeEntry< TimeMapValue >. Definition at line 78 of file time_map.h. References TimeEntry< Entry >::GetPosition(), TimeEntry< TimeMapValue >::GetPosition(), GetValue(), SetValue(), TimeMapValue(), and value. 00079 {
00080 TimeMapValue *entry = new TimeMapValue();
00081 double r = ( position - GetPosition( ) ) / ( ante->GetPosition() - GetPosition( ) );
00082 entry->SetValue( value + ( ante->GetValue() - value ) * r );
00083 return entry;
00084 }
|
|
|
Definition at line 77 of file time_map.h. References value. Referenced by Get(). 00077 { return value; }
|
|
|
Definition at line 76 of file time_map.h. Referenced by Get().
|
|
|
Definition at line 69 of file time_map.h. Referenced by Get(), GetValue(), and TimeMapValue(). |
1.4.2