src/ActHandler.cpp File Reference

#include "ActHandler.h"
#include <poll.h>
#include <sys/poll.h>
#include <signal.h>

Include dependency graph for ActHandler.cpp:

Go to the source code of this file.

Functions

void sigalarmHandler (int i)

Variables

ActHandlerACT


Detailed Description

File:          ActHandler.cpp
Project:       Robocup Soccer Simulation Team: UvA Trilearn
Authors:       Jelle Kok
Created:       28/11/2000
Last Revision: $ID$
Contents:      This file contains the class definitions for the
               ActHandler that handles the outgoing messages to the
               server.

Changes

Date             Author          Comment
28/11/2000       Jelle Kok       Initial version created

Definition in file ActHandler.cpp.


Function Documentation

void sigalarmHandler ( int  i  ) 

This function is executed when a SIGALARM singal arrives. The time this signal comes is defined by the SenseHandler (depending on incoming sense_body messages). When the signal arrives, the commands currently stored in the queue of the ActHandler are send to the server (using the method sendCommands).

Parameters:
i is ignored

Definition at line 67 of file ActHandler.cpp.

References ACT, Log, Logger::logFromSignal(), and ActHandler::sendCommands().

Referenced by SenseHandler::SenseHandler(), and SenseHandler::setTimeSignal().


Variable Documentation

ActHandler* ACT

Pointer to ActHandler class needed by signal handler

Definition at line 56 of file ActHandler.cpp.

Referenced by ActHandler::ActHandler(), and sigalarmHandler().


Generated on Thu Apr 26 22:45:29 2007 for GangOfSix(GOS)-RoboCupTeamProject by  doxygen 1.5.1-p1