first commit
This commit is contained in:
22
nodes/vp_meta_subscriber.h
Executable file
22
nodes/vp_meta_subscriber.h
Executable 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;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user