#include <boost/bind.hpp>
#include <boost/make_shared.hpp>
#include <iostream>
#include <cmath>
#include <ctime>
#include <assert.h>
#include "create/create.h"
Go to the source code of this file.
|
#define | BOUND(val, min, max) (val = BOUND_CONST(val,min,max)) |
|
#define | BOUND_CONST(val, min, max) (val<min?min:(val>max?max:val)) |
|
#define | GET_DATA(id) (data->getPacket(id)->getData()) |
|
#define BOUND |
( |
|
val, |
|
|
|
min, |
|
|
|
max |
|
) |
| (val = BOUND_CONST(val,min,max)) |
#define BOUND_CONST |
( |
|
val, |
|
|
|
min, |
|
|
|
max |
|
) |
| (val<min?min:(val>max?max:val)) |
#define GET_DATA |
( |
|
id | ) |
(data->getPacket(id)->getData()) |