23 lines
572 B
C++
Executable File
23 lines
572 B
C++
Executable File
#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;
|
|
};
|
|
|
|
}
|