first commit

This commit is contained in:
陈赣
2026-06-03 12:43:14 +08:00
commit ba76cfae28
608 changed files with 120791 additions and 0 deletions

22
nodes/vp_meta_subscriber.h Executable file
View File

@@ -0,0 +1,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;
};
}