List of all members.
Classes |
class | RangeScanConfigHolder |
Public Member Functions |
void | addConfigImpl (RangeScanConfig config) |
void | rapidEventReceived (Agent agent, MessageType type, IRapidMessage msg) |
Static Public Member Functions |
static RangeScanConfigHolder | getSubscribedConfig (final Agent agent, final MessageType configType, RangeScanSample data) |
| Matches the serial number in JointSample to the latest JointConfig and returns it if true.
|
static RangeScanConfigHolder | getConfig (final Agent agent, final MessageType configType) |
static synchronized void | createCache (final Agent agent, MessageType configType) |
static void | addConfig (Agent agent, MessageType configType, RangeScanConfig config) |
| manually add Config to cache.
|
static void | addConfig (String agentName, MessageType configType, RangeScanConfig config) |
Protected Member Functions |
RangeScanConfigHolder | getLatestConfig () |
RangeScanConfigHolder | getLatestMatchingConfig (Header hdr) |
Package Attributes |
ArrayList< RangeScanConfigHolder > | history = new ArrayList<RangeScanConfigHolder>() |
Member Function Documentation
Used for client Configs
- Parameters:
-
static synchronized void createCache |
( |
final Agent |
agent, |
|
|
MessageType |
configType |
|
) |
| [static] |
If false, null is returned
TODO: match against history of JointConfig messages
If the client would like to subscribe to the Config message to receive the initial JointSample, the following should be done at the calling class:
JointConfig.getSubscribedConfig(agent, new JointSample());
This will return null, but the JointConfig has been registered to listen for events.
- Parameters:
-
- Returns:
- RangeScanConfigHolder
- Exceptions:
-
RapidEventCollectorException | |
Member Data Documentation
The documentation for this class was generated from the following file: