Classes | Defines
InternalFunction.h File Reference
#include <iostream>
#include <map>
#include <yaml-cpp/yaml.h>
#include <boost/shared_ptr.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/foreach.hpp>
#include <scriptable_monitor/Parameters.h>
Include dependency graph for InternalFunction.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  InternalFunction
class  InternalFunctionRegistrar
class  InternalFunctionsManager

Defines

#define DEFINE_INTERNAL_FUNCTION(FunctionClassName)
#define REGISTER_INTERNAL_FUNCTION(FunctionClassName)   static InternalFunctionRegistrar FunctionClassName##registrar(new FunctionClassName());

Define Documentation

#define DEFINE_INTERNAL_FUNCTION (   FunctionClassName)
Value:
class FunctionClassName:public InternalFunction {\
public:\
FunctionClassName() { }\
        virtual ~FunctionClassName() { }\
        virtual string functionName(){ return #FunctionClassName; };\
\
protected:\
        virtual void process(Parameters& input, Parameters& output);\
};\
REGISTER_INTERNAL_FUNCTION(FunctionClassName)\
void NAME::process(Parameters& input, Parameters& output)

Definition at line 22 of file InternalFunction.h.

#define REGISTER_INTERNAL_FUNCTION (   FunctionClassName)    static InternalFunctionRegistrar FunctionClassName##registrar(new FunctionClassName());

Definition at line 35 of file InternalFunction.h.



scriptable_monitor
Author(s):
autogenerated on Wed Aug 26 2015 16:21:30