kbLogger 2.0.b1
The automotive ready test and logging program.
TranslatorSignalUserUint32 Class Reference

This class defines the API of the TranslatorSignalUserUint32.

#include <translatorsignaluseruint32.h>

Inheritance diagram for TranslatorSignalUserUint32:
TranslatorSignalUser TranslatorSignal

Public Slots

TranslatorSignal related functions.
virtual int translate ()
 Translate the TX message in a dry run. Returns the complete length of the resulting part of the message.
 
virtual TranslatorSignalcopyValue ()
 Copies the RX value to the TX value.
 
virtual ScriptValue getValue ()
 Returns the RX value.
 
virtual TranslatorSignalsetValue (ScriptValue svValue)
 Sets the TX value.
 
- Public Slots inherited from TranslatorSignalUser
virtual int translate ()
 Translate the TX message in a dry run. Returns the complete length of the resulting part of the message.
 
bool isHex ()
 Returns true in case of BigEndian.
 
bool isDecimal ()
 Returns true in case of LittleEndian.
 
TranslatorSignalUsersetHex ()
 Switches the signal to hexadecimal.
 
TranslatorSignalUsersetDecimal ()
 Switches the signal to decimal.
 
virtual TranslatorSignalcopyValue ()=0
 Copies the RX value to the TX value.
 
virtual ScriptValue getValue ()=0
 Returns the RX value.
 
virtual TranslatorSignalsetValue (ScriptValue svValue)=0
 Sets the TX value.
 
- Public Slots inherited from TranslatorSignal
QString getName ()
 Returns the name of the signal.
 
virtual int translate ()
 Translate the TX message in a dry run. Returns the complete length of the resulting part of the message.
 
bool isBigEndian ()
 Returns true in case of BigEndian.
 
bool isLittleEndian ()
 Returns true in case of LittleEndian.
 
TranslatorSignalsetBigEndian ()
 Switches the signal to BigEndian.
 
TranslatorSignalsetLittleEndian ()
 Switches the signal to LittleEndian.
 
bool valueHasChanged ()
 Returns true, if the RX value has been changed by the last message received.
 
virtual bool isValid ()
 Returns true in case the value is valid.
 
virtual bool isTxValid ()
 Returns true in case the value is valid.
 
virtual TranslatorSignalcopyValue ()=0
 Copies the RX value to the TX value.
 
virtual ScriptValue getValue ()=0
 Returns the RX value.
 
virtual TranslatorSignalsetValue (ScriptValue svValue)=0
 Sets the TX value.
 
virtual TranslatorSignalsuppress ()
 Suppress the output in the translated RX message. But the signal is read and written as normal.
 
virtual TranslatorSignalencourage ()
 Enables the output in the translated RX message. The opposite of the suppress function.
 

Additional Inherited Members

- Public Member Functions inherited from TranslatorSignalUser
- Public Member Functions inherited from TranslatorSignal
void setRxValid (bool bValid)
 Sets the RX value to valid.
 
void setTxValid (bool bValid)
 Sets the TX value to valid.
 
- Public Attributes inherited from TranslatorSignal
- Protected Attributes inherited from TranslatorSignal

Member Function Documentation

◆ setValue

TranslatorSignal * setValue ( ScriptValue svValue)
virtualslot
Parameters
svValueSets the TX value.