|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISerializableType
Interface for Sunrise serializable types.
| Method Summary | |
|---|---|
ISerializableType |
clone()
Creates a copy of this serializable type. |
void |
fromByteBuffer(FastByteBuffer buffer,
int startIndex)
Deserializes a type from a byte buffer. |
void |
fromString(String value)
Deserializes the type from a String representation. |
int[] |
getDimensions()
Gets the 4-dimensional integer array describing the order of this type in each of the four possible dimensions. |
int |
getLength()
Gets the length in bytes of this type. |
String |
getParameterName()
Gets the name of this serializable type object if it is used as named message parameter. |
MessageParameterType |
getParameterType()
Gets the message type identifier of the type. |
TypeIdentifier |
getTypeIdentifier()
Gets the Sunrise type identifier of the type. |
Object |
getValue()
Gets the raw value of the serializable type. |
void |
setParameterName(String name)
Sets the name of this serializable type object if it is used as named message parameter. |
void |
setValue(Object value)
Sets the value for this type. |
int |
toByteBuffer(FastByteBuffer buffer,
int startIndex)
Serializes the type in a byte buffer. |
| Methods inherited from interface com.kuka.common.IDataEquatable |
|---|
hasSameDataAs |
| Method Detail |
|---|
int toByteBuffer(FastByteBuffer buffer,
int startIndex)
buffer - The byte buffer to which the value should be serialized.startIndex - The start index for the serialization.
void fromByteBuffer(FastByteBuffer buffer,
int startIndex)
buffer - The byte buffe from which the value should be deserialized.startIndex - The start index of the deserialization.Object getValue()
void setValue(Object value)
value - The value for this type. Must be compatible with the type. The
value should never be null. Each subclass must
check this.MessageParameterType getParameterType()
String getParameterName()
void setParameterName(String name)
name - parameter name to set.TypeIdentifier getTypeIdentifier()
int getLength()
int[] getDimensions()
void fromString(String value)
value - The string representation for the type.
ISerializableType clone()
throws CloneNotSupportedException
CloneNotSupportedException - Cloning not supported.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||