16 "implementation_id",
"ExtractCameraImage",
17 "type_name",
"ExtractCameraImage",
18 "description",
"extractcameraimage component",
19 "version", HRPSYS_PACKAGE_VERSION,
21 "category",
"example",
22 "activity_type",
"DataFlowComponent",
25 "lang_type",
"compile",
27 "conf.default.index",
"0",
36 m_imagesIn(
"images", m_images),
37 m_imageOut(
"image", m_image),
52 std::cout <<
m_profile.instance_name <<
": onInitialize()" << std::endl;
103 std::cout <<
m_profile.instance_name<<
": onActivated(" << ec_id <<
")" << std::endl;
109 std::cout <<
m_profile.instance_name<<
": onDeactivated(" << ec_id <<
")" << std::endl;
123 std::cerr <<
m_profile.instance_name <<
": invalid index of image(" <<
m_index 124 <<
"), length of images = " <<
m_images.data.image_seq.length() << std::endl;
174 RTC::Create<ExtractCameraImage>,
175 RTC::Delete<ExtractCameraImage>);
ComponentProfile m_profile
png_infop png_charpp int png_charpp profile
bool addOutPort(const char *name, OutPortBase &outport)
ExecutionContextHandle_t UniqueId
bool bindParameter(const char *param_name, VarType &var, const char *def_val, bool(*trans)(VarType &, const char *)=coil::stringTo)
virtual bool write(DataType &value)
bool addInPort(const char *name, InPortBase &inport)
bool registerFactory(coil::Properties &profile, RtcNewFunc new_func, RtcDeleteFunc delete_func)