src/test_actionscheduler.cpp File Reference

#include <iostream>
#include "SenseHandler.h"
#include "ActionScheduler.h"
#include "WorldModel.h"

Include dependency graph for test_actionscheduler.cpp:

Go to the source code of this file.

Functions

void action_callback1 (WorldModel *wm, ServerSettings *ss, PlayerSettings *ps, void *params, int params_size)
void cleanup_callback1 (void *params, int params_size)
void setup ()
void cleanup ()
int testScheduleAction ()
int testCleanupAction ()
int test1 ()
int main (int argc, char *argv[])

Variables

ActionScheduleras
int a1_dispatched
int a1_cleanedup


Function Documentation

void action_callback1 ( WorldModel wm,
ServerSettings ss,
PlayerSettings ps,
void *  params,
int  params_size 
)

Definition at line 20 of file test_actionscheduler.cpp.

References a1_dispatched, LOG_DEBUG, and LOG_PRINT.

Referenced by test1(), testCleanupAction(), and testScheduleAction().

void cleanup (  ) 

Definition at line 36 of file test_actionscheduler.cpp.

References as.

Referenced by main().

void cleanup_callback1 ( void *  params,
int  params_size 
)

Definition at line 25 of file test_actionscheduler.cpp.

References a1_cleanedup, LOG_DEBUG, and LOG_PRINT.

Referenced by test1(), testCleanupAction(), and testScheduleAction().

int main ( int  argc,
char *  argv[] 
)

Definition at line 73 of file test_actionscheduler.cpp.

References Logger::addLogRange(), cleanup(), Log, setup(), testCleanupAction(), and testScheduleAction().

void setup (  ) 

Definition at line 30 of file test_actionscheduler.cpp.

References a1_cleanedup, a1_dispatched, and as.

Referenced by main().

int test1 (  ) 

Definition at line 69 of file test_actionscheduler.cpp.

References action_callback1(), as, cleanup_callback1(), and ActionScheduler::scheduleAction().

int testCleanupAction (  ) 

Definition at line 55 of file test_actionscheduler.cpp.

References a1_cleanedup, action_callback1(), as, cleanup_callback1(), ActionScheduler::dispatchAction(), and ActionScheduler::scheduleAction().

Referenced by main().

int testScheduleAction (  ) 

Definition at line 41 of file test_actionscheduler.cpp.

References a1_dispatched, action_callback1(), as, cleanup_callback1(), ActionScheduler::dispatchAction(), and ActionScheduler::scheduleAction().

Referenced by main().


Variable Documentation

int a1_cleanedup

Definition at line 18 of file test_actionscheduler.cpp.

Referenced by cleanup_callback1(), setup(), and testCleanupAction().

int a1_dispatched

Definition at line 17 of file test_actionscheduler.cpp.

Referenced by action_callback1(), setup(), and testScheduleAction().

ActionScheduler* as

Definition at line 16 of file test_actionscheduler.cpp.

Referenced by cleanup(), main(), SenseHandler::SenseHandler(), setup(), test1(), testCleanupAction(), and testScheduleAction().


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