public abstract class TVParameter extends LLRPParameter
| Modifier and Type | Field and Description |
|---|---|
protected static int |
PARAMETERTYPELENGTH |
bitLength| Constructor and Description |
|---|
TVParameter() |
| Modifier and Type | Method and Description |
|---|---|
void |
decodeBinary(LLRPBitList bits)
decodeBinary should be called from Constructor Taking binary encoded
parameter as argument.
|
protected abstract void |
decodeBinarySpecific(LLRPBitList binary)
function to be implemented
|
LLRPBitList |
encodeBinary()
encode parameter
|
protected abstract LLRPBitList |
encodeBinarySpecific()
protected method to force subclasses to implement their specific encoding
|
decodeXML, encodeXML, getByteLength, getName, getTypeNumprotected static final int PARAMETERTYPELENGTH
public void decodeBinary(LLRPBitList bits)
decodeBinary in class LLRPParameterbits - to be decodedLLRPException - in case of any error or unexpected behaviourpublic LLRPBitList encodeBinary()
encodeBinary in class LLRPParameterprotected abstract void decodeBinarySpecific(LLRPBitList binary)
binary - binary representation of this parameterprotected abstract LLRPBitList encodeBinarySpecific()
Copyright © 2007 ETH Zurich.