Robot Raconteur Core C++ Library
Loading...
Searching...
No Matches
ServiceIndexer.h
Go to the documentation of this file.
1
23
24#include "RobotRaconteurServiceIndex_stubskel.h"
25
26#pragma once
27
28namespace RobotRaconteur
29{
30class ServiceIndexer : public virtual RobotRaconteurServiceIndex::ServiceIndex
31{
32 RR_WEAK_PTR<RobotRaconteurNode> node;
33
34 public:
35 ServiceIndexer(const RR_SHARED_PTR<RobotRaconteurNode>& node);
36
37 RR_SHARED_PTR<RobotRaconteurNode> GetNode();
38
39 RR_OVIRTUAL RR_INTRUSIVE_PTR<RobotRaconteur::RRMap<int32_t, RobotRaconteurServiceIndex::ServiceInfo> >
40 GetLocalNodeServices() RR_OVERRIDE;
41
42 RR_OVIRTUAL RR_INTRUSIVE_PTR<RobotRaconteur::RRMap<int32_t, RobotRaconteurServiceIndex::NodeInfo> > GetRoutedNodes()
43 RR_OVERRIDE;
44
45 RR_OVIRTUAL RR_INTRUSIVE_PTR<RobotRaconteur::RRMap<int32_t, RobotRaconteurServiceIndex::NodeInfo> >
46 GetDetectedNodes() RR_OVERRIDE;
47
48 RR_OVIRTUAL boost::signals2::signal<void()>& get_LocalNodeServicesChanged() RR_OVERRIDE;
49
50 private:
51 boost::signals2::signal<void()> ev;
52};
53} // namespace RobotRaconteur