Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
com.generalrobotix.ui.GrxTimeSeriesItem Class Reference
Inheritance diagram for com.generalrobotix.ui.GrxTimeSeriesItem:
Inheritance graph
[legend]

List of all members.

Classes

class  TValue

Public Member Functions

void addValue (Double t, Object val)
void clearLog ()
int getChangePosition ()
final int getLogSize ()
int getPosition ()
int getPositionAt (Double t)
Double getTime ()
Double getTime (int pos)
Object getValue ()
Object getValue (int pos)
 GrxTimeSeriesItem (String name, GrxPluginManager manager)
final void setMaximumLogSize (int maxLogSize)
void setTimeAt (int pos, Double t)

Protected Member Functions

TValue getObject (int index)
boolean isRemoved ()
boolean setPosition (int pos)

Protected Attributes

int changePos_ = -1
int overPos_ = 0

Private Attributes

boolean bRemoved = false
int currentPos_ = -1
ArrayList< TValuelog_ = new ArrayList<TValue>()
int maxLogSize_ = 1000000

Detailed Description

series of timed objects

Definition at line 27 of file GrxTimeSeriesItem.java.


Constructor & Destructor Documentation

constructor

Parameters:
namename of this item
managerplugin manager

Definition at line 55 of file GrxTimeSeriesItem.java.


Member Function Documentation

void com.generalrobotix.ui.GrxTimeSeriesItem.addValue ( Double  t,
Object  val 
) [inline]

add timed object to this series

Parameters:
ttime
valobject

Reimplemented in com.generalrobotix.ui.item.GrxWorldStateItem.

Definition at line 134 of file GrxTimeSeriesItem.java.

clear this series

Reimplemented in com.generalrobotix.ui.item.GrxWorldStateItem.

Definition at line 184 of file GrxTimeSeriesItem.java.

get position of pointer switched the method of momory to the method of disk

Returns:

Definition at line 79 of file GrxTimeSeriesItem.java.

get length of this series

Returns:
length

Definition at line 177 of file GrxTimeSeriesItem.java.

get TValue

Definition at line 203 of file GrxTimeSeriesItem.java.

get current position of pointer

Returns:
position

Definition at line 63 of file GrxTimeSeriesItem.java.

get position of timed object which is nearest to the specified time. If there is no object in this series -1 is returned.

Definition at line 86 of file GrxTimeSeriesItem.java.

get time of current object

Returns:
time

Definition at line 114 of file GrxTimeSeriesItem.java.

get time of object at specified position

Parameters:
posposition of the object
Returns:
time

Reimplemented in com.generalrobotix.ui.item.GrxWorldStateItem.

Definition at line 123 of file GrxTimeSeriesItem.java.

get current object

Returns:
current object

Reimplemented from com.generalrobotix.ui.GrxBaseItem.

Reimplemented in com.generalrobotix.ui.item.GrxWorldStateItem.

Definition at line 147 of file GrxTimeSeriesItem.java.

get an object at specified position

Parameters:
posposition
Returns:
object

Reimplemented in com.generalrobotix.ui.item.GrxWorldStateItem.

Definition at line 157 of file GrxTimeSeriesItem.java.

get remoded top value in log_ or not

Definition at line 196 of file GrxTimeSeriesItem.java.

set maximum length of this series

Parameters:
maxLogSizemaximum length

Definition at line 167 of file GrxTimeSeriesItem.java.

Definition at line 67 of file GrxTimeSeriesItem.java.

set time to current object

Parameters:
posposition
ttime

Definition at line 105 of file GrxTimeSeriesItem.java.


Member Data Documentation

Definition at line 31 of file GrxTimeSeriesItem.java.

Definition at line 33 of file GrxTimeSeriesItem.java.

Definition at line 30 of file GrxTimeSeriesItem.java.

ArrayList<TValue> com.generalrobotix.ui.GrxTimeSeriesItem.log_ = new ArrayList<TValue>() [private]

Definition at line 28 of file GrxTimeSeriesItem.java.

Definition at line 29 of file GrxTimeSeriesItem.java.

Definition at line 32 of file GrxTimeSeriesItem.java.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:21