MADARA  3.2.3
madara::knowledge::AggregateFilter Class Reference

This class stores a function definition. More...

#include <AggregateFilter.h>

Public Types

enum  Types {
  UNINITIALIZED = 0, EXTERN_UNNAMED = 1, EXTERN_NAMED = 2, PYTHON_CALLABLE = 3,
  JAVA_CALLABLE = 4, FUNCTOR = 5
}
 Types of functions supported. More...
 

Public Member Functions

 AggregateFilter ()
 Default constructor. More...
 
 AggregateFilter (void(*extern_func)(KnowledgeMap &, const transport::TransportContext &, Variables &))
 Constructor for function pointer. More...
 
 AggregateFilter (filters::AggregateFilter *filter)
 Constructor for functor. More...
 
 AggregateFilter (jobject &object)
 Constructor for java. More...
 
 AggregateFilter (boost::python::object &func)
 Constructor for function pointer. More...
 
bool is_extern_named (void) const
 
bool is_extern_unnamed (void) const
 
bool is_functor (void) const
 
bool is_java_callable (void) const
 
bool is_python_callable (void) const
 
bool is_uninitialized (void) const
 

Public Attributes

filters::AggregateFilterfunctor
 mapped functor for aggregate filtering More...
 
jobject java_object
 
void(* named_filter )(const char *, KnowledgeMap &, const transport::TransportContext &, Variables &)
 mapped function call for aggregate filter More...
 
boost::python::object python_function
 
int type
 
void(* unnamed_filter )(KnowledgeMap &, const transport::TransportContext &, Variables &)
 mapped function call for aggregate filter More...
 

Detailed Description

This class stores a function definition.

Definition at line 38 of file AggregateFilter.h.

Member Enumeration Documentation

Types of functions supported.

Enumerator
UNINITIALIZED 
EXTERN_UNNAMED 
EXTERN_NAMED 
PYTHON_CALLABLE 
JAVA_CALLABLE 
FUNCTOR 

Definition at line 44 of file AggregateFilter.h.

Constructor & Destructor Documentation

madara::knowledge::AggregateFilter::AggregateFilter ( )
inline

Default constructor.

Definition at line 57 of file AggregateFilter.h.

madara::knowledge::AggregateFilter::AggregateFilter ( void(*)(KnowledgeMap &, const transport::TransportContext &, Variables &)  extern_func)
inline

Constructor for function pointer.

Definition at line 65 of file AggregateFilter.h.

madara::knowledge::AggregateFilter::AggregateFilter ( filters::AggregateFilter filter)
inline

Constructor for functor.

Definition at line 75 of file AggregateFilter.h.

madara::knowledge::AggregateFilter::AggregateFilter ( jobject &  object)
inline

Constructor for java.

Definition at line 86 of file AggregateFilter.h.

madara::knowledge::AggregateFilter::AggregateFilter ( boost::python::object &  func)
inline

Constructor for function pointer.

Definition at line 109 of file AggregateFilter.h.

Member Function Documentation

bool madara::knowledge::AggregateFilter::is_extern_named ( void  ) const
inline

Definition at line 137 of file AggregateFilter.h.

bool madara::knowledge::AggregateFilter::is_extern_unnamed ( void  ) const
inline

Definition at line 132 of file AggregateFilter.h.

bool madara::knowledge::AggregateFilter::is_functor ( void  ) const
inline

Definition at line 142 of file AggregateFilter.h.

bool madara::knowledge::AggregateFilter::is_java_callable ( void  ) const
inline

Definition at line 94 of file AggregateFilter.h.

bool madara::knowledge::AggregateFilter::is_python_callable ( void  ) const
inline

Definition at line 124 of file AggregateFilter.h.

bool madara::knowledge::AggregateFilter::is_uninitialized ( void  ) const
inline

Definition at line 147 of file AggregateFilter.h.

Member Data Documentation

filters::AggregateFilter* madara::knowledge::AggregateFilter::functor

mapped functor for aggregate filtering

Definition at line 164 of file AggregateFilter.h.

jobject madara::knowledge::AggregateFilter::java_object

Definition at line 81 of file AggregateFilter.h.

void(* madara::knowledge::AggregateFilter::named_filter) (const char *, KnowledgeMap &, const transport::TransportContext &, Variables &)

mapped function call for aggregate filter

Definition at line 158 of file AggregateFilter.h.

boost::python::object madara::knowledge::AggregateFilter::python_function

Definition at line 129 of file AggregateFilter.h.

int madara::knowledge::AggregateFilter::type

Definition at line 167 of file AggregateFilter.h.

void(* madara::knowledge::AggregateFilter::unnamed_filter) (KnowledgeMap &, const transport::TransportContext &, Variables &)

mapped function call for aggregate filter

Definition at line 153 of file AggregateFilter.h.


The documentation for this class was generated from the following file: