22 template <
class Archive>
23 void serialize(Archive &ar,
const unsigned int version)
25 ar &boost::serialization::base_object<ModuleProps>(*
this);
ModuleProps()
Definition Module.h:40
virtual size_t getSerializeSize()
Definition Module.h:101
Module(Kind nature, string name, ModuleProps _props)
Definition Module.cpp:144
Definition WebCamSource.h:6
void serialize(Archive &ar, const unsigned int version)
Definition WebCamSource.h:23
int fps
Definition WebCamSource.h:12
uint32_t width
Definition WebCamSource.h:9
WebCamSourceProps(int _cameraId=-1, uint32_t _width=640, uint32_t _height=480, int _fps=30)
Definition WebCamSource.h:8
size_t getSerializeSize()
Definition WebCamSource.h:14
friend class boost::serialization::access
Definition WebCamSource.h:20
int cameraId
Definition WebCamSource.h:11
uint32_t height
Definition WebCamSource.h:10
Definition WebCamSource.cpp:7
void setProps(WebCamSourceProps &props)
Definition WebCamSource.cpp:105
bool term()
Definition WebCamSource.cpp:81
bool validateOutputPins()
Definition WebCamSource.cpp:61
bool produce()
Definition WebCamSource.cpp:86
bool init()
Definition WebCamSource.cpp:71
virtual ~WebCamSource()
Definition WebCamSource.cpp:59
WebCamSourceProps getProps()
Definition WebCamSource.cpp:97
std::shared_ptr< Detail > mDetail
Definition WebCamSource.h:48
bool handlePropsChange(frame_sp &frame)
Definition WebCamSource.cpp:110
WebCamSource(WebCamSourceProps props)
Definition WebCamSource.cpp:51