Public Member Functions | Protected Attributes | Private Attributes
USBCameraMonitor Class Reference

#include <USBCameraMonitor.h>

Inheritance diagram for USBCameraMonitor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual RTC::ReturnCode_t onActivated (RTC::UniqueId ec_id)
 Callback function to activate.
virtual RTC::ReturnCode_t onDeactivated (RTC::UniqueId ec_id)
 Callback function to deactivate.
virtual RTC::ReturnCode_t onExecute (RTC::UniqueId ec_id)
 Callback function to execute periodically.
virtual RTC::ReturnCode_t onInitialize ()
 Callback function to initialize.
 USBCameraMonitor (RTC::Manager *manager)
 ~USBCameraMonitor ()

Protected Attributes

TimedOctetSeq m_in
InPort< TimedOctetSeq > m_inIn

Private Attributes

int dummy
IplImage * m_img
int m_img_height
int m_img_width

Detailed Description

Definition at line 39 of file USBCameraMonitor.h.


Constructor & Destructor Documentation

Definition at line 35 of file USBCameraMonitor.cpp.

Definition at line 64 of file USBCameraMonitor.cpp.


Member Function Documentation

RTC::ReturnCode_t USBCameraMonitor::onActivated ( RTC::UniqueId  exec_handle) [virtual]

Callback function to activate.

This is a callback function that is executed when ComponentAction::on_activated was invoked.
As for actual activation of each component, since this function is dummy-implemented to return RTC::RTC_OK unconditionally, you need to implement this function by overriding it.

Parameters:
exec_handleID of the participant ExecutionContext
Returns:
The return code of ReturnCode_t type

Reimplemented from RTC::RTObject_impl.

Definition at line 101 of file USBCameraMonitor.cpp.

RTC::ReturnCode_t USBCameraMonitor::onDeactivated ( RTC::UniqueId  exec_handle) [virtual]

Callback function to deactivate.

This is a callback function that is executed when ComponentAction::on_deactivated was invoked.
As for actual deactivation of each component, since this function is dummy-implemented to return RTC::RTC_OK unconditionally, you need to implement this function by overriding it.

Parameters:
exec_handleID of the participant ExecutionContext
Returns:
The return code of ReturnCode_t type

Reimplemented from RTC::RTObject_impl.

Definition at line 117 of file USBCameraMonitor.cpp.

RTC::ReturnCode_t USBCameraMonitor::onExecute ( RTC::UniqueId  exec_handle) [virtual]

Callback function to execute periodically.

This is a callback function that is executed when DataFlowComponentAction::on_execute is invoked.
As for actual periodic execution of each component, since this function is dummy-implemented to return RTC::RTC_OK unconditionally, you need to implement this function by overriding it. This function is invoked periodically as the first execution pass of Two-Pass Execution in Periodic Sampled Data Processing.

Parameters:
exec_handleID of the participant ExecutionContext
Returns:
The return code of ReturnCode_t type

Reimplemented from RTC::RTObject_impl.

Definition at line 127 of file USBCameraMonitor.cpp.

RTC::ReturnCode_t USBCameraMonitor::onInitialize ( void  ) [virtual]

Callback function to initialize.

This is a callback function that is executed when ComponentAction::on_initialize was invoked.
As for actual initialization of each component, since this function is dummy-implemented to return RTC::RTC_OK unconditionally, you need to implement this function by overriding it.

Returns:
The return code of ReturnCode_t type

Reimplemented from RTC::RTObject_impl.

Definition at line 69 of file USBCameraMonitor.cpp.


Member Data Documentation

int USBCameraMonitor::dummy [private]

Definition at line 124 of file USBCameraMonitor.h.

IplImage* USBCameraMonitor::m_img [private]

Definition at line 125 of file USBCameraMonitor.h.

Definition at line 126 of file USBCameraMonitor.h.

Definition at line 127 of file USBCameraMonitor.h.

TimedOctetSeq USBCameraMonitor::m_in [protected]

Definition at line 98 of file USBCameraMonitor.h.

InPort<TimedOctetSeq> USBCameraMonitor::m_inIn [protected]

Definition at line 99 of file USBCameraMonitor.h.


The documentation for this class was generated from the following files:


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Aug 27 2015 14:16:40