HAN-FUN API  1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
apps/common.h File Reference

This file contains the definitions for the common functionality in the HAN-FUN example applications. More...

#include <map>
#include "hanfun.h"
+ Include dependency graph for apps/common.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ICommand
 Example application menu entry API. More...
 
class  Command
 Parent class for the commands API implementations. More...
 

Macros

#define COMMAND(_name, _key, _help)
 Helper macro to define new commands.
 
#define COMMAND_ADD(_name)
 Helper macro to add a new command to the registry.
 
#define STRTOL(X)   strtol(X.c_str(), NULL, 10);
 Helper macro to convert a std::string into a number (base 10).
 
#define STRTOL_HEX(X)   strtol(X.c_str(), NULL, 16);
 Helper macro to convert a std::string into a number (base 16).
 

Detailed Description

This file contains the definitions for the common functionality in the HAN-FUN example applications.

Version
1.5.3

For licensing information, please see the file 'LICENSE' in the root folder.

Initial development by Bithium S.A. [http://www.bithium.com]

Definition in file apps/common.h.