-
Notifications
You must be signed in to change notification settings - Fork 29
/
manmodule.h
45 lines (35 loc) · 1.28 KB
/
manmodule.h
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
45
/**
* @author NorthernBites
*
* Version : $
*
* This file was generated by Aldebaran Robotics ModuleGenerator
*/
#ifndef MANMODULE_H
#define MANMODULE_H
// ..::: Headers ::
// Add it here to be sure every file includes it
#include "alxplatform.h"
#include "manconfig.h"
#include <fstream>
#include <sstream>
#include <albroker.h>
#include <almodule.h>
#include <altools.h>
// ..::: Version Information ::
/** Major release version */
#define MANMODULE_VERSION_MAJOR "0"
/** Minor release version */
#define MANMODULE_VERSION_MINOR "1"
/** Revision release version */
#define MANMODULE_VERSION_REVISION MANMODULE_REVISION
/** Full string version: (ex. 0.1-r2) */
#define MANMODULE_VERSION MANMODULE_VERSION_MAJOR"."MANMODULE_VERSION_MINOR"-r"MANMODULE_VERSION_REVISION
/** Internal version name */
#define MANMODULE_VERSION_CODENAME "internal"
/** Release date */
//#define MANMODULE_VERSION_DATE "20071113"
#define ALVALUE_STRING( val ) ((val.getType() == ALValue::TypeString) ? std::string(val) : std::string("") )
#define ALVALUE_DOUBLE( val ) ((val.getType() == ALValue::TypeDouble || val.getType() == ALValue::TypeInt) ? double(val) : 0.0 )
#define ALVALUE_INT( val ) ((val.getType() == ALValue::TypeInt || val.getType() == ALValue::TypeDouble) ? int(val) : 0)
#endif // MANMODULE_H