PLearn 0.1
|
#include "RemoteMethodMap.h"
#include "RemoteMethodDoc.h"
#include "RemoteTrampoline.h"
#include <plearn/base/StaticInitializer.h>
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | PLearn |
< for swap | |
Defines | |
#define | METHOD_UNCONST(M) (typename Trampoline::MethodType)(M) |
#define | BEGIN_DECLARE_REMOTE_FUNCTIONS static void declareRemoteFunctions() { |
#define | END_DECLARE_REMOTE_FUNCTIONS } static StaticInitializer _remote_function_initializer_(&declareRemoteFunctions); |
Functions | |
RemoteMethodMap & | PLearn::getGlobalFunctionMap () |
This function returns the map in which all remote functions and static methods are to be registered (with declareFunction). | |
template<class R > | |
void | PLearn::declareFunction (const string &funcname, R(*func)(), const RemoteMethodDoc &doc, const RemoteTrampoline::flag_t &flgs=0) |
template<class R , class A1 > | |
void | PLearn::declareFunction (const string &funcname, R(*func)(A1), const RemoteMethodDoc &doc, const RemoteTrampoline::flag_t &flgs=0) |
template<class R , class A1 , class A2 > | |
void | PLearn::declareFunction (const string &funcname, R(*func)(A1, A2), const RemoteMethodDoc &doc, const RemoteTrampoline::flag_t &flgs=0) |
template<class R , class A1 , class A2 , class A3 > | |
void | PLearn::declareFunction (const string &funcname, R(*func)(A1, A2, A3), const RemoteMethodDoc &doc, const RemoteTrampoline::flag_t &flgs=0) |
template<class R , class A1 , class A2 , class A3 , class A4 > | |
void | PLearn::declareFunction (const string &funcname, R(*func)(A1, A2, A3, A4), const RemoteMethodDoc &doc, const RemoteTrampoline::flag_t &flgs=0) |
template<class R , class A1 , class A2 , class A3 , class A4 , class A5 > | |
void | PLearn::declareFunction (const string &funcname, R(*func)(A1, A2, A3, A4, A5), const RemoteMethodDoc &doc, const RemoteTrampoline::flag_t &flgs=0) |
template<class R , class A1 , class A2 , class A3 , class A4 , class A5 , class A6 > | |
void | PLearn::declareFunction (const string &funcname, R(*func)(A1, A2, A3, A4, A5, A6), const RemoteMethodDoc &doc, const RemoteTrampoline::flag_t &flgs=0) |
template<class T , class R > | |
void | PLearn::declareMethod (RemoteMethodMap &rmm, const string &methodname, R(T::*method)(), const RemoteMethodDoc &doc, const RemoteTrampoline::flag_t &flgs=0) |
template<class T , class R , class A1 > | |
void | PLearn::declareMethod (RemoteMethodMap &rmm, const string &methodname, R(T::*method)(A1), const RemoteMethodDoc &doc, const RemoteTrampoline::flag_t &flgs=0) |
template<class T , class R , class A1 , class A2 > | |
void | PLearn::declareMethod (RemoteMethodMap &rmm, const string &methodname, R(T::*method)(A1, A2), const RemoteMethodDoc &doc, const RemoteTrampoline::flag_t &flgs=0) |
template<class T , class R , class A1 , class A2 , class A3 > | |
void | PLearn::declareMethod (RemoteMethodMap &rmm, const string &methodname, R(T::*method)(A1, A2, A3), const RemoteMethodDoc &doc, const RemoteTrampoline::flag_t &flgs=0) |
template<class T , class R , class A1 , class A2 , class A3 , class A4 > | |
void | PLearn::declareMethod (RemoteMethodMap &rmm, const string &methodname, R(T::*method)(A1, A2, A3, A4), const RemoteMethodDoc &doc, const RemoteTrampoline::flag_t &flgs=0) |
template<class T , class R , class A1 , class A2 , class A3 , class A4 , class A5 > | |
void | PLearn::declareMethod (RemoteMethodMap &rmm, const string &methodname, R(T::*method)(A1, A2, A3, A4, A5), const RemoteMethodDoc &doc, const RemoteTrampoline::flag_t &flgs=0) |
template<class T , class R , class A1 , class A2 , class A3 , class A4 , class A5 , class A6 > | |
void | PLearn::declareMethod (RemoteMethodMap &rmm, const string &methodname, R(T::*method)(A1, A2, A3, A4, A5, A6), const RemoteMethodDoc &doc, const RemoteTrampoline::flag_t &flgs=0) |
Definition in file RemoteDeclareMethod.h.
#define BEGIN_DECLARE_REMOTE_FUNCTIONS static void declareRemoteFunctions() { |
Definition at line 62 of file RemoteDeclareMethod.h.
#define END_DECLARE_REMOTE_FUNCTIONS } static StaticInitializer _remote_function_initializer_(&declareRemoteFunctions); |
Definition at line 63 of file RemoteDeclareMethod.h.
#define METHOD_UNCONST | ( | M | ) | (typename Trampoline::MethodType)(M) |
Definition at line 55 of file RemoteDeclareMethod.h.
Referenced by PLearn::declareMethod().