AuboCaps  0.5.0
payload_model.h
Go to the documentation of this file.
1 #ifndef AUBO_SCOPE_PAYLOAD_MODEL_H
2 #define AUBO_SCOPE_PAYLOAD_MODEL_H
3 
4 #include <vector>
6 
7 namespace arcs {
8 namespace aubo_scope {
9 ARCS_CLASS_FORWARD(PayloadModel);
10 ARCS_CLASS_FORWARD(Payload);
11 
13 {
14 public:
17  virtual ~PayloadModel();
18 
19  /**
20  * @return A collection of all the payloads from the current
21  * installation in PolyScope, including user-defined payloads and
22  * payloads added by AuboCaps.
23  */
24  std::vector<PayloadPtr> getPayloads() const;
25  PayloadPtr getDefaultPayload() const;
26 
27 private:
28  friend class DataSwitch;
29  PayloadModel();
30  void *d_{ nullptr };
31 };
32 } // namespace aubo_scope
33 } // namespace arcs
34 
35 #endif // PAYLOADMODEL_H
ARCS_CLASS_FORWARD(GripForceCapability)
#define ARCS_ABI_EXPORT
Definition: class_forward.h:16