12 PROPERTY(std::string, label,
"");
13 PROPERTY(
double, start, 0.0);
14 PROPERTY(
double, duration, 1.0);
15 PROPERTY(std::vector<std::shared_ptr<AnnotationBase>>, annotations, {});
20 PROPERTY(std::string, name);
21 PROPERTY(std::vector<std::shared_ptr<AnnotationSpan>>, spans, {},
27 PROPERTY(std::vector<std::shared_ptr<AnnotationBranch>>, branches, {},
29 std::shared_ptr<AnnotationBranch> branch(
const std::shared_ptr<Workspace> &ws,
37 std::shared_ptr<const Message> message;
39 std::shared_ptr<Data> _data = std::make_shared<Data>();
50 [data](
const std::shared_ptr<const Message> &message) {
51 std::lock_guard<std::mutex> lock(data->mutex);
52 data->message = message;
54 query().message([data]() {
55 std::lock_guard<std::mutex> lock(data->mutex);