#include <iostream>#include <boost/thread.hpp>#include <deque>#include <vector>#include <boost/thread/mutex.hpp>#include <boost/thread/condition.hpp>#include <boost/shared_ptr.hpp>#include "SynchCout.h"#include "EventSystem.h"#include "BT.h"#include <DecisionMaking.h>
Go to the source code of this file.
Defines | |
| #define | CALL_REMOTE(NAME, CALLS, EVENTS) boost::bind(&test_callTask, #NAME, CALLS, EVENTS) |
| #define | PAUSE boost::this_thread::sleep(boost::posix_time::seconds(1.3)); |
| #define | TIMES(N) for(size_t times=0;times<N;times++) |
| #define | X(x) x |
Functions | |
| TaskResult | BT_run_ () |
| void | EVENTS_GENERATOR () |
| int | main () |
| TaskResult | test_callTask (std::string task_address, const CallContext &call_ctx, EventQueue &queue) |
Variables | |
| EventQueue | mainEventQueue |
| #define CALL_REMOTE | ( | NAME, | |
| CALLS, | |||
| EVENTS | |||
| ) | boost::bind(&test_callTask, #NAME, CALLS, EVENTS) |
Definition at line 123 of file BTExample.cpp.
| #define PAUSE boost::this_thread::sleep(boost::posix_time::seconds(1.3)); |
Definition at line 87 of file BTExample.cpp.
| #define TIMES | ( | N | ) | for(size_t times=0;times<N;times++) |
Definition at line 88 of file BTExample.cpp.
| #define X | ( | x | ) | x |
Definition at line 86 of file BTExample.cpp.
| TaskResult BT_run_ | ( | ) |
Definition at line 153 of file BTExample.cpp.
| void EVENTS_GENERATOR | ( | ) |
Definition at line 51 of file BTExample.cpp.
| int main | ( | ) |
Definition at line 403 of file BTExample.cpp.
| TaskResult test_callTask | ( | std::string | task_address, |
| const CallContext & | call_ctx, | ||
| EventQueue & | queue | ||
| ) |
Definition at line 96 of file BTExample.cpp.
Definition at line 17 of file BTExample.cpp.