*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
import org.eclipse.tracecompass.statesystem.core.exceptions.StateValueTypeException;
import org.eclipse.tracecompass.statesystem.core.exceptions.TimeRangeException;
import org.eclipse.tracecompass.statesystem.core.statevalue.ITmfStateValue;
import org.eclipse.tracecompass.statesystem.core.exceptions.StateValueTypeException;
import org.eclipse.tracecompass.statesystem.core.exceptions.TimeRangeException;
import org.eclipse.tracecompass.statesystem.core.statevalue.ITmfStateValue;
* @param subPath
* "Rest" of the path to get to the final attribute
* @return The matching quark, either if it's new of just got created.
* @param subPath
* "Rest" of the path to get to the final attribute
* @return The matching quark, either if it's new of just got created.
* @throws StateValueTypeException
* If the inserted state value's type does not match what is
* already assigned to this attribute.
*/
void modifyAttribute(long t, ITmfStateValue value, int attributeQuark)
* @throws StateValueTypeException
* If the inserted state value's type does not match what is
* already assigned to this attribute.
*/
void modifyAttribute(long t, ITmfStateValue value, int attributeQuark)
* If the attribute already exists but is not of type Integer
* @throws TimeRangeException
* If the given timestamp is invalid
* If the attribute already exists but is not of type Integer
* @throws TimeRangeException
* If the given timestamp is invalid
* @deprecated Use
* {@link StateSystemBuilderUtils#incrementAttributeInt(ITmfStateSystemBuilder, long, int, int)}
* instead
*/
@Deprecated
void incrementAttribute(long t, int attributeQuark)
* @deprecated Use
* {@link StateSystemBuilderUtils#incrementAttributeInt(ITmfStateSystemBuilder, long, int, int)}
* instead
*/
@Deprecated
void incrementAttribute(long t, int attributeQuark)
* will be created (with depth = 1)
* @throws TimeRangeException
* If the requested timestamp is invalid
* will be created (with depth = 1)
* @throws TimeRangeException
* If the requested timestamp is invalid
* @throws StateValueTypeException
* If the attribute 'attributeQuark' already exists, but is not
* of integer type.
*/
void pushAttribute(long t, ITmfStateValue value, int attributeQuark)
* @throws StateValueTypeException
* If the attribute 'attributeQuark' already exists, but is not
* of integer type.
*/
void pushAttribute(long t, ITmfStateValue value, int attributeQuark)
* Quark of the stack-attribute to pop
* @return The state value that was popped, or 'null' if nothing was
* actually removed from the stack.
* Quark of the stack-attribute to pop
* @return The state value that was popped, or 'null' if nothing was
* actually removed from the stack.
* @throws TimeRangeException
* If the timestamp is invalid
* @throws StateValueTypeException
* @throws TimeRangeException
* If the timestamp is invalid
* @throws StateValueTypeException
* type is invalid (not an integer)
*/
ITmfStateValue popAttribute(long t, int attributeQuark)
* type is invalid (not an integer)
*/
ITmfStateValue popAttribute(long t, int attributeQuark)