#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>
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 DEFINE_INTERNAL_FUNCTION | ( | FunctionClassName | ) |
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.