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

#include <USBCameraAcquire.h>

Inheritance diagram for USBCameraAcquire:
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 onFinalize ()
 Callback function to finalize.
 USBCameraAcquire (RTC::Manager *manager)
 ~USBCameraAcquire ()

Protected Attributes

TimedOctetSeq m_out
OutPort< TimedOctetSeq > m_outOut

Private Attributes

int dummy
CvCapture * m_capture

Detailed Description

Definition at line 36 of file USBCameraAcquire.h.


Constructor & Destructor Documentation

Definition at line 32 of file USBCameraAcquire.cpp.

Definition at line 57 of file USBCameraAcquire.cpp.


Member Function Documentation

RTC::ReturnCode_t USBCameraAcquire::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 87 of file USBCameraAcquire.cpp.

RTC::ReturnCode_t USBCameraAcquire::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 99 of file USBCameraAcquire.cpp.

RTC::ReturnCode_t USBCameraAcquire::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 108 of file USBCameraAcquire.cpp.

RTC::ReturnCode_t USBCameraAcquire::onFinalize ( void  ) [virtual]

Callback function to finalize.

This is a callback function that is executed when ComponentAction::on_finalize was invoked.
As for actual finalization 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 68 of file USBCameraAcquire.cpp.


Member Data Documentation

int USBCameraAcquire::dummy [private]

Definition at line 125 of file USBCameraAcquire.h.

CvCapture* USBCameraAcquire::m_capture [private]

Definition at line 127 of file USBCameraAcquire.h.

TimedOctetSeq USBCameraAcquire::m_out [protected]

Definition at line 101 of file USBCameraAcquire.h.

OutPort<TimedOctetSeq> USBCameraAcquire::m_outOut [protected]

Definition at line 102 of file USBCameraAcquire.h.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sun Mar 26 2017 03:37:18