Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ImageSaver Class Reference

#include <ImageSaver.h>

Inheritance diagram for ImageSaver:

Inheritance graph
[legend]
Collaboration diagram for ImageSaver:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ImageSaver (SensorBehaviorControlInterfaces &interfaces)
 Constructor.

void init ()
virtual void execute ()
 the "main" module where all the magic is happening

virtual bool handleMessage (InMessage &message)
 calibrate the psd (while standing still) to the minimum currently no debug messages are handled


Private Member Functions

 DECLARE_DEBUG_IMAGE (classificationY)

Private Attributes

HeadControlMode hcm
unsigned long lastSavingTime

Constructor & Destructor Documentation

ImageSaver::ImageSaver SensorBehaviorControlInterfaces interfaces  ) 
 

Constructor.

Parameters:
interfaces The paramters of the SensorBehaviorControl module.

Definition at line 13 of file ImageSaver.cpp.

References LEDRequest::backFrontBlueLED, LEDRequest::backFrontWhiteLED, LEDRequest::backMiddleOrangeLED, LEDRequest::backMiddleWhiteLED, LEDRequest::backRearRedLED, LEDRequest::backRearWhiteLED, LEDRequest::faceLED, SystemCall::getCurrentSystemTime(), hcm, HeadControlMode::headControlMode, LEDRequest::headOrangeLED, LEDRequest::headWhiteLED, and lastSavingTime.

Here is the call graph for this function:


Member Function Documentation

void ImageSaver::init  ) 
 

Definition at line 33 of file ImageSaver.cpp.

void ImageSaver::execute  )  [virtual]
 

the "main" module where all the magic is happening

Implements Module.

Definition at line 37 of file ImageSaver.cpp.

References LEDRequest::backFrontWhiteLED, LEDRequest::backMiddleWhiteLED, LEDRequest::backRearWhiteLED, RobotState::getButtonPressed(), RobotState::getButtonPressedTime(), RobotState::getButtonTime(), SystemCall::getCurrentSystemTime(), SystemCall::getTimeSince(), hcm, HeadControlMode::headControlMode, idJPEGImage, lastSavingTime, MotionRequest::motionType, and OUTPUT.

Here is the call graph for this function:

bool ImageSaver::handleMessage InMessage message  )  [virtual]
 

calibrate the psd (while standing still) to the minimum currently no debug messages are handled

Reimplemented from Module.

Definition at line 78 of file ImageSaver.cpp.

ImageSaver::DECLARE_DEBUG_IMAGE classificationY   )  [private]
 


Member Data Documentation

HeadControlMode ImageSaver::hcm [private]
 

Definition at line 35 of file ImageSaver.h.

Referenced by execute(), and ImageSaver().

unsigned long ImageSaver::lastSavingTime [private]
 

Definition at line 37 of file ImageSaver.h.

Referenced by execute(), and ImageSaver().


The documentation for this class was generated from the following files:
Generated on Thu Sep 23 20:08:29 2004 for GT2004 by doxygen 1.3.6