16 "implementation_id",
"ImageData2CameraImage",
17 "type_name",
"ImageData2CameraImage",
18 "description",
"imagedata2cameraimage component",
19 "version", HRPSYS_PACKAGE_VERSION,
21 "category",
"example",
22 "activity_type",
"DataFlowComponent",
25 "lang_type",
"compile",
36 m_dataOut(
"imageOut", m_data),
50 std::cout <<
m_profile.instance_name <<
": onInitialize()" << std::endl;
101 std::cout <<
m_profile.instance_name<<
": onActivated(" << ec_id <<
")" << std::endl;
107 std::cout <<
m_profile.instance_name<<
": onDeactivated(" << ec_id <<
")" << std::endl;
164 RTC::Create<ImageData2CameraImage>,
165 RTC::Delete<ImageData2CameraImage>);
ComponentProfile m_profile
png_infop png_charpp int png_charpp profile
virtual ~ImageData2CameraImage()
Destructor.
OutPort< Img::TimedCameraImage > m_dataOut
bool addOutPort(const char *name, OutPortBase &outport)
InPort< Img::ImageData > m_dataIn
ExecutionContextHandle_t UniqueId
virtual RTC::ReturnCode_t onExecute(RTC::UniqueId ec_id)
virtual RTC::ReturnCode_t onDeactivated(RTC::UniqueId ec_id)
void ImageData2CameraImageInit(RTC::Manager *manager)
virtual RTC::ReturnCode_t onInitialize()
virtual bool write(DataType &value)
virtual RTC::ReturnCode_t onActivated(RTC::UniqueId ec_id)
static const char * imagedata2cameraimage_spec[]
bool addInPort(const char *name, InPortBase &inport)
Img::TimedCameraImage m_data
bool registerFactory(coil::Properties &profile, RtcNewFunc new_func, RtcDeleteFunc delete_func)
ImageData2CameraImage(RTC::Manager *manager)
Constructor.