iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nrt::BlackboardNetHandler Class Referenceabstract

#include <nrt/Core/Blackboard/Network/BlackboardNetHandler.H>

Blackboard network handler interface.

Definition at line 47 of file BlackboardNetHandler.H.

Inherited by nrt::BlackboardNetIce.

Public Member Functions

virtual ~BlackboardNetHandler ()
 Virtual destructor for safe inheritance.
 
virtual int startMaster (int const port)=0
 Start a blackboard master. More...
 
virtual void startClient (std::string const &masterIP, int const masterPort)=0
 Start a blackboard client.
 
virtual void stopClient ()=0
 Stop a blackboard client.
 
virtual void registerClientBlackboard (nrt::blackboard::BlackboardSummary const &bs)=0
 Let all blackboards on the network know about our posts/checks/subscriptions.
 
virtual std::string masterbbuid ()=0
 Get the UID (as a string) of the Blackboard federation master.
 
virtual
nrt::blackboard::MessageSubscriberRemotePostHandler 
getRemotePostHandler (std::string const &bbuid, std::string const &msgtype, std::string const &modulepportname)=0
 Get a remote post handler.
 
virtual
nrt::blackboard::MessageSubscriberRemoteCallback 
getRemoteCallback (std::string const &bbuid, std::string const &modulesportname)=0
 Get a remote callback.
 
virtual
nrt::blackboard::MessageCheckerRemoteCall 
getRemoteCheckCall (std::string const &bbuid, std::string const &msgtype, std::string const &modulecportname)=0
 Get a remote check function.
 
virtual void sendNotifyParamChanged (std::string const &rbbuid, std::string const &module, nrt::ParameterState const state, nrt::ParameterSummary const &ps)=0
 Send a notification of a local Parameter changed to a remote Blackboard.
 
virtual void setParam (std::string const &bbuid, std::string const &descriptor, std::string const &value)=0
 Set a parameter value on a remote blackboard.
 
virtual void setModuleParam (std::string const &bbuid, std::string const &module, std::string const &relativedescriptor, std::string const &value)=0
 Set a parameter value on a remote blackboard.
 
virtual void runRemoteCommand (std::string const &bbuid, nrt::blackboard::RemoteCommand &cmd)=0
 Run a command on a remote Blackboard and get results back. More...
 

Member Function Documentation

virtual int nrt::BlackboardNetHandler::startMaster ( int const  port)
pure virtual

Start a blackboard master.

If a port == 0 is given, then try to find an open port and return it.

virtual void nrt::BlackboardNetHandler::runRemoteCommand ( std::string const &  bbuid,
nrt::blackboard::RemoteCommand cmd 
)
pure virtual

Run a command on a remote Blackboard and get results back.

The results are placed back in the args of the outgoing command, after deleting the outgoing args. If bbuid is "ALL" then the command is dispatched to all known Blackboards at the time, one after the other serially (this is used, e.g., to start/stop a whole federation); note that in this case there are no results returned.


The documentation for this class was generated from the following file: