Tasks #1822

Feature #44: Implement basic introspection support

Add method classes

Added by J. Moringen over 7 years ago. Updated over 7 years ago.

Status:ResolvedStart date:03/24/2014
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:C++
Target version:rsb-0.11

Related issues

Related to Robotics Service Bus - Feature #1741: Implement introspection event sender Resolved 03/24/2014 03/24/2014

Associated revisions

Revision 8ebb24d3
Added by J. Moringen over 7 years ago

Added method classes in src/rsb/patterns/*Server.{h,cpp}

fixes #1822

  • src/rsb/patterns/Server.{h,cpp}: new files; contain base classes for
    method classes
  • src/rsb/patterns/LocalServer.{h,cpp} (LocalServer::LocalMethod): new
    class; derived from Method; handles request events, delegates to
    callback and sends back replies
    (LocalServer::registerMethod): create LocalMethod instances
  • src/rsb/patterns/RemoteServer.{h,cpp} (RemoteServer::RemoteMethod):
    new class; derived from Method; send request events, tracks
    in-progress calls and dispatches results to Future instances
    (RemoteServer::getMethod): create RemoteMethod instances
    (RemoteServer::callAsync): retrieve RemoteMethod instance and delegate
    to it
    (RemoteServer::call): likewise
  • src/CMakeLists.txt: added files src/rsb/patterns/Server.{h,cpp}

History

#1 Updated by J. Moringen over 7 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset rsb-cpp|commit:8ebb24d3df6032bb39e14c1ac191d54ba4dff74d.

Also available in: Atom PDF