A dummy Vehicle to have a null movement.
More...
A dummy Vehicle to have a null movement.
◆ plugin_init()
void plugin_init |
( |
void |
| ) |
|
◆ vehicle_null_destroy()
static void vehicle_null_destroy |
( |
struct vehicle_priv * |
priv | ) |
|
|
static |
Free the null_vehicle.
- Parameters
-
- Returns
- nothing
References dbg, and lvl_debug.
◆ vehicle_null_new_null()
◆ vehicle_null_position_attr_get()
Provide the outside with information.
- Parameters
-
priv | |
type | TODO: What can this be? |
attr | |
- Returns
- true/false
References attr_to_name(), attr::coord_geo, dbg, vehicle_priv::direction, vehicle_priv::fixiso8601, vehicle_priv::geo, vehicle_priv::have_coords, vehicle_priv::height, lvl_debug, attr::numd, vehicle_priv::radius, vehicle_priv::speed, attr::str, attr::type, type, and attr::u.
◆ vehicle_null_set_attr()
static int vehicle_null_set_attr |
( |
struct vehicle_priv * |
priv, |
|
|
struct attr * |
attr |
|
) |
| |
|
static |
◆ have_coords
int vehicle_priv::have_coords |
◆ vehicle_null_methods
Initial value:= {
}
static int vehicle_null_position_attr_get(struct vehicle_priv *priv, enum attr_type type, struct attr *attr)
Provide the outside with information.
Definition: vehicle_null.c:80
static void vehicle_null_destroy(struct vehicle_priv *priv)
Free the null_vehicle.
Definition: vehicle_null.c:67
static int vehicle_null_set_attr(struct vehicle_priv *priv, struct attr *attr)
Definition: vehicle_null.c:112
Referenced by vehicle_null_new_null().