image_preprocessing
Public Member Functions | Protected Attributes | Friends | List of all members
image_preprocessing::BaseTask Class Reference

#include <BaseTask.hpp>

Inheritance diagram for image_preprocessing::BaseTask:

Public Member Functions

 BaseTask (std::string const &name="image_preprocessing::BaseTask", TaskCore::TaskState initial_state=Stopped)
 
 BaseTask (std::string const &name, RTT::ExecutionEngine *engine, TaskCore::TaskState initial_state=Stopped)
 
 ~BaseTask ()
 
bool startHook ()
 The following lines are template definitions for the various state machine. More...
 

Protected Attributes

frame_helper::FrameHelper frame_helper
 
base::samples::frame::Frame temp_frame
 
double scale_x
 
double scale_y
 
bool calibrate
 
base::samples::frame::frame_mode_t frame_mode
 
int offset_x
 
int offset_y
 
frame_helper::ResizeAlgorithm resize_algorithm
 

Friends

class BaseTaskBase
 

Constructor & Destructor Documentation

BaseTask::BaseTask ( std::string const &  name = "image_preprocessing::BaseTask",
TaskCore::TaskState  initial_state = Stopped 
)
BaseTask::BaseTask ( std::string const &  name,
RTT::ExecutionEngine *  engine,
TaskCore::TaskState  initial_state = Stopped 
)
BaseTask::~BaseTask ( )

Member Function Documentation

bool BaseTask::startHook ( )

The following lines are template definitions for the various state machine.

This hook is called by Orocos when the state machine transitions from PreOperational to Stopped. If it returns false, then the component will stay in PreOperational. Otherwise, it goes into Stopped.

It is meaningful only if the #needs_configuration has been specified in the task context definition with (for example):

task_context "TaskName" do needs_configuration ... end This hook is called by Orocos when the state machine transitions from Stopped to Running. If it returns false, then the component will stay in Stopped. Otherwise, it goes into Running and updateHook() will be called.

Friends And Related Function Documentation

friend class BaseTaskBase
friend

Member Data Documentation

bool image_preprocessing::BaseTask::calibrate
protected
frame_helper::FrameHelper image_preprocessing::BaseTask::frame_helper
protected
base::samples::frame::frame_mode_t image_preprocessing::BaseTask::frame_mode
protected
int image_preprocessing::BaseTask::offset_x
protected
int image_preprocessing::BaseTask::offset_y
protected
frame_helper::ResizeAlgorithm image_preprocessing::BaseTask::resize_algorithm
protected
double image_preprocessing::BaseTask::scale_x
protected
double image_preprocessing::BaseTask::scale_y
protected
base::samples::frame::Frame image_preprocessing::BaseTask::temp_frame
protected

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