Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (35 sloc) 1.28 KB
/**
* @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