File: simcb.h

package info (click to toggle)
searchandrescue 0.8.2-10
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,656 kB
  • ctags: 6,111
  • sloc: ansic: 89,072; cpp: 7,691; sh: 90; makefile: 80
file content (44 lines) | stat: -rw-r--r-- 1,042 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef SIMCB_H
#define SIMCB_H

#include <sys/types.h>
#include "sfm.h"
#include "obj.h"
#include "sar.h"


extern void SARSimInitModelCB(
	void *realm_ptr, SFMModelStruct *model,
	void *client_data
);
extern void SARSimDestroyModelCB(
	void *realm_ptr, SFMModelStruct *model,
	void *client_data                     
);

extern void SARSimAirborneCB(
	void *realm_ptr, SFMModelStruct *model,
	void *client_data
);
extern void SARSimTouchDownCB(
	void *realm_ptr, SFMModelStruct *model,
	void *client_data, double impact_coeff
);
extern void SARSimOverspeedCB(
	void *realm_ptr, SFMModelStruct *model,
	void *client_data, double cur_speed,
	double overspeed_expected,
	double overspeed
);
extern void SARSimCollisionCB(
	void *realm_ptr, SFMModelStruct *model, SFMModelStruct *obstruction,
	void *client_data, double impact_coeff 
);
extern void SARSimObjectCollisionCB(
	void *client_data,              /* Core structure. */
	sar_object_struct *obj_ptr, sar_object_struct *obstruction_obj_ptr,
	double impact_coeff
);


#endif	/* SIMCB_H */