The Robot Application Programming Interface Delegate Project
|
![]() |
This class allows for client classes to switch which Agent they are listening to. More...
Public Member Functions | |
RapidClient (Agent agent, String clientName) | |
RapidClient (Agent agent, DomainParticipant participant) | |
RapidClient (Agent agent, String clientName, int domainId) | |
Agent | getAgent () |
void | setName (String name) |
String | getName () |
void | setListeners (HashMap< IRapidEventListener, String > listeners) |
HashMap< IRapidEventListener, String > | getListeners () |
synchronized void | writeMessage (DomainParticipant participant, Copyable copyable, String dstAgentName, String topicName, DomainParticipantListener dpListener, PublisherListener publisherListener, DataWriterQos writerQos, int sampleCount) |
synchronized void | writeMessage (MessageType type, IRapidMessage message, String dstAgentName) |
Calling a direct writeMessage will write the message directly to the RapidAgent as specified in the header. | |
synchronized void | writeMessage (MessageType type, IRapidMessage message, List< String > dstAgents) |
This needs to be modified such that it knows how to handle different partitions.
This has to listen to the selection in the UI.
RapidClient | ( | Agent | agent, |
String | clientName | ||
) |
RapidClient | ( | Agent | agent, |
DomainParticipant | participant | ||
) |
RapidClient | ( | Agent | agent, |
String | clientName, | ||
int | domainId | ||
) |
Agent getAgent | ( | ) |
Reimplemented from RapidAgent.
HashMap<IRapidEventListener, String> getListeners | ( | ) |
String getName | ( | ) |
void setListeners | ( | HashMap< IRapidEventListener, String > | listeners | ) |
void setName | ( | String | name | ) |
synchronized void writeMessage | ( | DomainParticipant | participant, |
Copyable | copyable, | ||
String | dstAgentName, | ||
String | topicName, | ||
DomainParticipantListener | dpListener, | ||
PublisherListener | publisherListener, | ||
DataWriterQos | writerQos, | ||
int | sampleCount | ||
) |
Reimplemented from RapidAgent.
synchronized void writeMessage | ( | MessageType | type, |
IRapidMessage | message, | ||
String | domainName | ||
) |
type | |
message | |
domainName |
Reimplemented from RapidAgent.
synchronized void writeMessage | ( | MessageType | type, |
IRapidMessage | message, | ||
List< String > | dstAgents | ||
) |
Reimplemented from RapidAgent.