The Robot Application Programming Interface Delegate Project
RAPID Logo

RapidClient Class Reference

This class allows for client classes to switch which Agent they are listening to. More...

Inheritance diagram for RapidClient:
Collaboration diagram for RapidClient:

List of all members.

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)

Detailed Description

This needs to be modified such that it knows how to handle different partitions.

This has to listen to the selection in the UI.


Constructor & Destructor Documentation

RapidClient ( Agent  agent,
String  clientName 
)

Here is the call graph for this function:

RapidClient ( Agent  agent,
DomainParticipant  participant 
)
RapidClient ( Agent  agent,
String  clientName,
int  domainId 
)

Here is the call graph for this function:


Member Function Documentation

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 
)
Parameters:
type
message
domainName

Reimplemented from RapidAgent.

synchronized void writeMessage ( MessageType  type,
IRapidMessage  message,
List< String >  dstAgents 
)

Reimplemented from RapidAgent.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines