wangrong
2025-03-19 291afb9c81aae1d15d9e3edcea618d0a2e1fc5a6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once
 
#include <memory>
#include "../objects/vp_meta.h"
 
namespace vp_nodes {
    class vp_meta_subscriber {
    private:
        /* data */
    public:
        vp_meta_subscriber(/* args */);
        ~vp_meta_subscriber();
 
        // non-copyable for all child class
        vp_meta_subscriber(const vp_meta_subscriber&) = delete;
        vp_meta_subscriber& operator=(const vp_meta_subscriber&) = delete;
 
        // receive meta from previous nodes
        virtual void meta_flow(std::shared_ptr<vp_objects::vp_meta> meta) = 0;
    };
 
}