mermaid::support::communication::CommunicationGateway Class Reference

CommunicationGateway class. More...

#include <CommunicationGateway.hpp>

Collaboration diagram for mermaid::support::communication::CommunicationGateway:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void addYarpDataFeedInputPort (shared_ptr< YarpDataFeedInputPort > inputPort)
void addYarpDataFeedOutputPort (shared_ptr< YarpDataFeedOutputPort > outputPort)
void connectToDataFeed (std::string producerEntityName, std::string producerServiceName, std::string datafeedName, shared_ptr< Service > consumerService)
shared_ptr< ServiceRequestgetServiceRequest (std::string requesterEntityName, std::string requesterServiceName, int requestId)
shared_ptr< YarpDataFeedInputPortgetYarpDataFeedInputPort (std::string consumerEntityName, std::string consumerServiceName, std::string producerEntityName, std::string producerServiceName, std::string dataFeedName)
shared_ptr
< YarpDataFeedOutputPort
getYarpDataFeedOutputPort (std::string entityName, std::string serviceName, std::string feedName)
shared_ptr
< YarpServiceAsynchOutputPort
getYarpServiceAsynchOutputPort (shared_ptr< Service > targetService, std::string requesterEntityName, std::string requesterServiceName)
shared_ptr
< YarpServiceAsynchReplyPort
getYarpServiceAsynchReplyPort (std::string targetEntityName, std::string targetServiceName, std::string requesterEntityName, std::string requesterServiceName)
shared_ptr
< YarpServiceAsynchRequestPort
getYarpServiceAsynchRequestPort (shared_ptr< Service > requesterService, shared_ptr< ServiceRequest > request)
void registerService (shared_ptr< Service > s)
void registerServiceRequest (shared_ptr< ServiceRequest > request)
void sendServiceReply (shared_ptr< Service > targetService, std::string requesterEntityName, std::string requesterServiceName, shared_ptr< ServiceReply > sr)
void sendServiceRequest (shared_ptr< Service > requesterService, shared_ptr< ServiceRequest > sr)
void sendToDataFeed (std::string entityName, std::string serviceName, std::string dataFeedName, shared_ptr< DataBox > dataBox)
void unregisterServiceRequest (std::string requesterEntityName, std::string requesterServiceName, int requestId)

Detailed Description

CommunicationGateway class.

Author:
Marco Barbosa

Definition at line 71 of file CommunicationGateway.hpp.


Member Function Documentation

shared_ptr< YarpServiceAsynchRequestPort > CommunicationGateway::getYarpServiceAsynchRequestPort ( shared_ptr< Service requesterService,
shared_ptr< ServiceRequest request 
)

Todo:
port map should depend on the targetEntityName also.

Definition at line 163 of file CommunicationGateway.cpp.

void CommunicationGateway::unregisterServiceRequest ( std::string  requesterEntityName,
std::string  requesterServiceName,
int  requestId 
)
Generated on Fri Mar 4 22:15:43 2011 for MeRMaID::support by  doxygen 1.6.3