The Robot Application Programming Interface Delegate Project
|
Event Collector class. More...
Public Member Functions | |
void | registerForMessages (Agent srcAgent, MessageType type, IRapidEventListener listener) throws RapidEventCollectorException |
void | registerForMessages (Agent[] srcAgents, MessageType type, IRapidEventListener listener) throws RapidEventCollectorException |
void | registerForMessages (Agent srcAgent, MessageType[] types, IRapidEventListener listener) throws RapidEventCollectorException |
void | registerForMessages (MessageType[] types, IRapidEventListener listener) throws RapidEventCollectorException |
Register for messages from all known Agent partitions. | |
void | registerForMessages (MessageType type, IRapidEventListener listener) throws RapidEventCollectorException |
Register for messages from all known Agent partitions. | |
void | registerForMessages (Agent[] srcAgents, MessageType[] types, IRapidEventListener listener) throws RapidEventCollectorException |
void | unsubscribeForMessages (Agent agent, MessageType type, IRapidEventListener l) throws RapidEventCollectorException |
void | unsubscribeForMessages (Agent[] srcAgents, MessageType[] types, IRapidEventListener listener) throws RapidEventCollectorException |
void | unsubscribeForMessages (MessageType type, IRapidEventListener listener) throws RapidEventCollectorException |
Static Public Member Functions | |
static RapidEventCollector | getInstance () |
static void | registerForMessagesAtDDSPipe (Agent srcAgent, MessageType type, DataReaderListener dataReaderListener) throws RapidEventCollectorException |
Give the ability for message to directly register with DDS figure out some way for IRapidEventListener to have DDS registration component. | |
static void | registerForMessagesAtDDSPipe (Agent[] srcAgents, MessageType type, DataReaderListener dataReaderListener) throws RapidEventCollectorException |
Protected Member Functions | |
AgentEventCollector | getAgentEventCollector (Agent agent) |
Protected Attributes | |
final HashMap< Agent, AgentEventCollector > | m_collectors = new HashMap<Agent,AgentEventCollector>() |
Provides a hash map of RapidEventCollector instances which are associated with Agent types.
The RapidEventCollector will take RapidEventListener objects and will be the interface between Rapid and DDS.
AgentEventCollector getAgentEventCollector | ( | Agent | agent | ) | [protected] |
static RapidEventCollector getInstance | ( | ) | [static] |
void registerForMessages | ( | Agent[] | srcAgents, |
MessageType | type, | ||
IRapidEventListener | listener | ||
) | throws RapidEventCollectorException |
srcAgents | |
type | |
listener |
RapidEventCollectorException |
void registerForMessages | ( | Agent[] | srcAgents, |
MessageType[] | types, | ||
IRapidEventListener | listener | ||
) | throws RapidEventCollectorException |
srcAgents | |
types | |
listener |
Exception |
void registerForMessages | ( | Agent | srcAgent, |
MessageType[] | types, | ||
IRapidEventListener | listener | ||
) | throws RapidEventCollectorException |
srcAgent | |
types | |
listener |
RapidEventCollectorException |
void registerForMessages | ( | Agent | srcAgent, |
MessageType | type, | ||
IRapidEventListener | listener | ||
) | throws RapidEventCollectorException |
srcAgent | |
type | |
listener |
RapidEventCollectorException |
void registerForMessages | ( | MessageType[] | types, |
IRapidEventListener | listener | ||
) | throws RapidEventCollectorException |
void registerForMessages | ( | MessageType | type, |
IRapidEventListener | listener | ||
) | throws RapidEventCollectorException |
static void registerForMessagesAtDDSPipe | ( | Agent | srcAgent, |
MessageType | type, | ||
DataReaderListener | dataReaderListener | ||
) | throws RapidEventCollectorException [static] |
if this works better, just refactor name to registerForMessages( )
srcAgent | |
type | |
dataReaderListener |
Exception |
static void registerForMessagesAtDDSPipe | ( | Agent[] | srcAgents, |
MessageType | type, | ||
DataReaderListener | dataReaderListener | ||
) | throws RapidEventCollectorException [static] |
void unsubscribeForMessages | ( | Agent | agent, |
MessageType | type, | ||
IRapidEventListener | l | ||
) | throws RapidEventCollectorException |
void unsubscribeForMessages | ( | Agent[] | srcAgents, |
MessageType[] | types, | ||
IRapidEventListener | listener | ||
) | throws RapidEventCollectorException |
void unsubscribeForMessages | ( | MessageType | type, |
IRapidEventListener | listener | ||
) | throws RapidEventCollectorException |
final HashMap<Agent,AgentEventCollector> m_collectors = new HashMap<Agent,AgentEventCollector>() [protected] |