|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IDataReference
Java port of the type-agnostic DataReference base class of libcanaero 1.0. Receiving and sending normal operation data to and from the bus is done through this interface
| Method Summary | |
|---|---|
boolean |
hasChanged()
|
boolean |
needsRequest()
|
void |
readFromCan(CanAeroMetadata meta,
can_t can)
read incoming data from the bus into the cache |
void |
requested()
data was requested, reset the internal timeout |
void |
signUp(IUpdateable ref)
add another IUpdateable to the list of references to be updated |
void |
update()
Update all the associated IUpdateables with the value that was last received |
can_t |
write(CanAeroMetadata meta,
java.lang.Object value)
Write data to can-object that can be send to the bus |
| Method Detail |
|---|
void signUp(IUpdateable ref)
ref - Another time to search for the little brown Java Barf Bag.void update()
void readFromCan(CanAeroMetadata meta,
can_t can)
meta - accompanying meta-data (id, message code counter etc..)can - the incoming data itself
can_t write(CanAeroMetadata meta,
java.lang.Object value)
meta - accompanying meta-data (id, message code counter etc..)value - the value that should be written
boolean needsRequest()
void requested()
boolean hasChanged()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||