Classes | Macros | Functions | Variables
rtt.cpp File Reference
#include "rtt.hpp"
Include dependency graph for rtt.cpp:

Go to the source code of this file.

Classes

class  EEHook
 
struct  OperationHandle
 

Macros

#define _DBG(fmt, ...)   printf("%s:%d\t" fmt "\n", __FUNCTION__, __LINE__, __VA_ARGS__)
 
#define CONVERT_TO_NUMBER(CTGT)
 
#define DEBUG
 
#define gen_opmet(name, op)
 
#define gen_opmet_bool(name, op)
 
#define gen_push_bxptr(name, MT, T)
 
#define luaM_checkudata(L, pos, T)   reinterpret_cast<T*>(luaL_checkudata((L), (pos), #T))
 
#define luaM_checkudata_bx(L, pos, T)   (T**) (luaL_checkudata((L), (pos), #T))
 
#define luaM_checkudata_mt(L, pos, MT, T)   reinterpret_cast<T*>(luaL_checkudata((L), (pos), MT))
 
#define luaM_checkudata_mt_bx(L, pos, MT, T)   (T**) (luaL_checkudata((L), (pos), MT))
 
#define luaM_pushobject(L, T)   new(L, #T) T
 
#define luaM_pushobject_mt(L, MT, T)   new(L, MT) T
 
#define luaM_testudata(L, pos, T)   (T*) (luaL_testudata((L), (pos), #T))
 
#define luaM_testudata_bx(L, pos, T)   (T**) (luaL_testudata((L), (pos), #T))
 
#define luaM_testudata_mt(L, pos, MT, T)   (T*) (luaL_testudata((L), (pos), MT))
 
#define luaM_testudata_mt_bx(L, pos, MT, T)   (T**) (luaL_testudata((L), (pos), MT))
 

Functions

static TaskContext__getTC (lua_State *)
 
static int __Operation_call (lua_State *L)
 
static int __Operation_send (lua_State *L)
 
static int __SendHandle_collect (lua_State *L, bool block)
 
static bool __typenames_cmp (lua_State *L, const types::TypeInfo *ti1, const char *type2)
 
static bool __Variable_isbasic (lua_State *L, DataSourceBase::shared_ptr &dsb)
 
static int __Variable_tolua (lua_State *L, DataSourceBase::shared_ptr dsb)
 
static int Attribute_del (lua_State *L)
 
static int Attribute_get (lua_State *L)
 
static int Attribute_getRaw (lua_State *L)
 
static int Attribute_index (lua_State *L)
 
static int Attribute_info (lua_State *L)
 
static int Attribute_newindex (lua_State *L)
 
static int Attribute_set (lua_State *L)
 
static void cache_clear (lua_State *L, DataSourceBase *varptr)
 
bool call_func (lua_State *L, const char *fname, TaskContext *tc, int require_function, int require_result)
 
static int EEHook_disable (lua_State *L)
 
static int EEHook_enable (lua_State *L)
 
static int EEHook_new (lua_State *L)
 
res evaluate ()
 
template<typename T >
int GCMethod (lua_State *L)
 
 gen_opmet (Variable_add,+) gen_opmet(Variable_sub
 
 gen_opmet (Variable_mul,*) gen_opmet(Variable_div
 
 gen_opmet (Variable_mod,%) gen_opmet(Variable_pow
 
 gen_opmet_bool (Variable_eq,==) gen_opmet_bool(Variable_lt
 
 gen_push_bxptr (Property_push,"Property", PropertyBase) static int Property_new(lua_State *L)
 
 gen_push_bxptr (Attribute_push,"Attribute", AttributeBase) static int Attribute_new(lua_State *L)
 
 gen_push_bxptr (InputPort_push,"InputPort", InputPortInterface) static int InputPort_new(lua_State *L)
 
 gen_push_bxptr (OutputPort_push,"OutputPort", OutputPortInterface) static int OutputPort_new(lua_State *L)
 
 gen_push_bxptr (ServiceRequester_push,"ServiceRequester", ServiceRequester) static int ServiceRequester_getRequestName(lua_State *L)
 
 gen_push_bxptr (TaskContext_push,"TaskContext", TaskContext) static int TaskContext_getName(lua_State *L)
 
static int getTC (lua_State *L)
 
static int getTime (lua_State *L)
 
static int globals_get (lua_State *L)
 
static int globals_getNames (lua_State *L)
 
static int globals_getProperties (lua_State *L)
 
 if (res==0) luaL_error(L
 
static int InputPort_del (lua_State *L)
 
static int InputPort_read (lua_State *L)
 
static int Logger_getLogLevel (lua_State *L)
 
static int Logger_log (lua_State *L)
 
static int Logger_logl (lua_State *L)
 
static int Logger_setLogLevel (lua_State *L)
 
static DataSourceBase::shared_ptr lookup_member (lua_State *L, DataSourceBase::shared_ptr parent, const char *mem)
 
void * luaL_testudata (lua_State *L, int ud, const char *tname)
 
 luaM_pushobject_mt (L,"Variable", DataSourceBase::shared_ptr)(res)
 
int luaopen_rtt (lua_State *L)
 
static int Operation_call (lua_State *L)
 
static int Operation_info (lua_State *L)
 
static int Operation_send (lua_State *L)
 
template<typename T >
int OperationGC (lua_State *L)
 
void * operator new (size_t size, lua_State *L, const char *mt)
 
static int OutputPort_del (lua_State *L)
 
static int OutputPort_write (lua_State *L)
 
static int Port_connect (lua_State *L)
 
static int Port_disconnect (lua_State *L)
 
static int Port_info (lua_State *L)
 
static int Property_del (lua_State *L)
 
static int Property_get (lua_State *L)
 
static int Property_getRaw (lua_State *L)
 
static int Property_index (lua_State *L)
 
static int Property_info (lua_State *L)
 
static int Property_newindex (lua_State *L)
 
static int Property_set (lua_State *L)
 
static int provides_global (lua_State *L)
 
void push_vect_str (lua_State *L, const std::vector< std::string > &v)
 
static int rtt_services (lua_State *L)
 
static int rtt_sleep (lua_State *L)
 
static int rtt_typekits (lua_State *L)
 
static int rtt_types (lua_State *L)
 
static int SendHandle_collect (lua_State *L)
 
static int SendHandle_collectIfDone (lua_State *L)
 
static void SendStatus_push (lua_State *L, SendStatus ss)
 
static int Service_doc (lua_State *L)
 
static int Service_getAttribute (lua_State *L)
 
static int Service_getAttributeNames (lua_State *L)
 
static int Service_getAttributes (lua_State *L)
 
static int Service_getName (lua_State *L)
 
static int Service_getOperation (lua_State *L)
 
static int Service_getOperationInfo (lua_State *L)
 
static int Service_getOperationNames (lua_State *L)
 
static int Service_getPort (lua_State *L)
 
static int Service_getPortNames (lua_State *L)
 
static int Service_getProperties (lua_State *L)
 
static int Service_getProperty (lua_State *L)
 
static int Service_getPropertyNames (lua_State *L)
 
static int Service_getProviderNames (lua_State *L)
 
static int Service_hasOperation (lua_State *L)
 
static int Service_provides (lua_State *L)
 
static int ServiceRequester_disconnect (lua_State *L)
 
static int ServiceRequester_getRequesterNames (lua_State *L)
 
static int ServiceRequester_ready (lua_State *L)
 
static int ServiceRequester_requires (lua_State *L)
 
int set_context_tc (TaskContext *tc, lua_State *L)
 
static int TaskContext_activate (lua_State *L)
 
static int TaskContext_addAttribute (lua_State *L)
 
static int TaskContext_addEventPort (lua_State *L)
 
static int TaskContext_addPeer (lua_State *L)
 
static int TaskContext_addPort (lua_State *L)
 
static int TaskContext_addProperty (lua_State *L)
 
static int TaskContext_cleanup (lua_State *L)
 
static int TaskContext_configure (lua_State *L)
 
static int TaskContext_connectPeers (lua_State *L)
 
static int TaskContext_connectServices (lua_State *L)
 
static int TaskContext_del (lua_State *L)
 
static int TaskContext_error (lua_State *L)
 
static int TaskContext_getAttribute (lua_State *L)
 
static int TaskContext_getAttributeNames (lua_State *L)
 
static int TaskContext_getAttributes (lua_State *L)
 
static int TaskContext_getOperation (lua_State *L)
 
static int TaskContext_getOperationInfo (lua_State *L)
 
static int TaskContext_getOps (lua_State *L)
 
static int TaskContext_getPeer (lua_State *L)
 
static int TaskContext_getPeers (lua_State *L)
 
static int TaskContext_getPort (lua_State *L)
 
static int TaskContext_getPortNames (lua_State *L)
 
static int TaskContext_getProperties (lua_State *L)
 
static int TaskContext_getProperty (lua_State *L)
 
static int TaskContext_getPropertyNames (lua_State *L)
 
static int TaskContext_getProviderNames (lua_State *L)
 
static int TaskContext_getState (lua_State *L)
 
static int TaskContext_hasOperation (lua_State *L)
 
static int TaskContext_provides (lua_State *L)
 
static int TaskContext_recover (lua_State *L)
 
static int TaskContext_removeAttribute (lua_State *L)
 
static int TaskContext_removePeer (lua_State *L)
 
static int TaskContext_removePort (lua_State *L)
 
static int TaskContext_removeProperty (lua_State *L)
 
static int TaskContext_requires (lua_State *L)
 
static int TaskContext_start (lua_State *L)
 
static int TaskContext_stop (lua_State *L)
 
static const TypeInfo * ti_lookup (lua_State *L, const char *name)
 
static void Variable_coerce (lua_State *L, DataSourceBase::shared_ptr dsb)
 
static int Variable_create (lua_State *L)
 
static int Variable_create_ival (lua_State *L, int typeind, int valind)
 
static void Variable_fromlua (lua_State *L, DataSourceBase::shared_ptr &dsb, int valind)
 
static DataSourceBase::shared_ptr Variable_fromlua (lua_State *L, const types::TypeInfo *ti, int valind)
 
static DataSourceBase::shared_ptr Variable_fromlua (lua_State *L, const char *type, int valind)
 
static int Variable_getMember (lua_State *L)
 
static int Variable_getMemberNames (lua_State *L)
 
static int Variable_getMemberRaw (lua_State *L)
 
static int Variable_getType (lua_State *L)
 
static int Variable_getTypeIdName (lua_State *L)
 
static int Variable_getTypeName (lua_State *L)
 
static int Variable_getTypes (lua_State *L)
 
static int Variable_index (lua_State *L)
 
static bool Variable_is_a (lua_State *L, const types::TypeInfo *ti1, const char *type)
 
static int Variable_isbasic (lua_State *L)
 
static int Variable_new (lua_State *L)
 
static int Variable_newindex (lua_State *L)
 
static void Variable_push_coerce (lua_State *L, DataSourceBase::shared_ptr dsb)
 
static int Variable_resize (lua_State *L)
 
static int Variable_tolightuserdata (lua_State *L)
 
static int Variable_tolua (lua_State *L)
 
static int Variable_toString (lua_State *L)
 
static int Variable_unm (lua_State *L)
 
static int Variable_update (lua_State *L)
 
template<typename T >
int VariableGC (lua_State *L)
 

Variables

<) gen_opmet_bool(Variable_le,<=) static int Variable_opBinary(lua_State *L){types::OperatorRepository::shared_ptr opreg=types::OperatorRepository::Instance();const char *op=luaL_checkstring(L, 1);DataSourceBase::shared_ptr arg1=*(luaM_checkudata_mt(L, 2,"Variable", DataSourceBase::shared_ptr));DataSourceBase::shared_ptr arg2=*(luaM_checkudata_mt(L, 3,"Variable", DataSourceBase::shared_ptr));DataSourceBase *res;res=opreg-> applyBinary (op, arg1.get(), arg2.get())
 
Variable opBinary s not applicable to args
 
static const struct luaL_Reg Attribute_f []
 
static const struct luaL_Reg Attribute_m []
 
static const struct luaL_Reg EEHook_f []
 
static const struct luaL_Reg EEHook_m []
 
static const struct luaL_Reg InputPort_f []
 
static const struct luaL_Reg InputPort_m []
 
static const char *const loglevels []
 
Variable opBinary s not applicable to op
 
static const struct luaL_Reg Operation_f []
 
static const struct luaL_Reg Operation_m []
 
static const struct luaL_Reg OutputPort_f []
 
static const struct luaL_Reg OutputPort_m []
 
static const struct luaL_Reg Property_f []
 
static const struct luaL_Reg Property_m []
 
 return
 
static const struct luaL_Reg rtt_f []
 
static const struct luaL_Reg SendHandle_f []
 
static const struct luaL_Reg SendHandle_m []
 
static const struct luaL_Reg Service_f []
 
static const struct luaL_Reg Service_m []
 
static const struct luaL_Reg ServiceRequester_f []
 
static const struct luaL_Reg ServiceRequester_m []
 
static const struct luaL_Reg TaskContext_f []
 
static const struct luaL_Reg TaskContext_m []
 
static const struct luaL_Reg Variable_f []
 
static const struct luaL_Reg Variable_m []
 

Macro Definition Documentation

#define _DBG (   fmt,
  ... 
)    printf("%s:%d\t" fmt "\n", __FUNCTION__, __LINE__, __VA_ARGS__)

Definition at line 48 of file rtt.cpp.

#define CONVERT_TO_NUMBER (   CTGT)
Value:
if (luatype == LUA_TNUMBER) x = lua_tonumber(L, valind); \
else goto out_conv_err; \
AssignableDataSource<CTGT> *ads = ValueDataSource<CTGT>::narrow(dsb.get()); \
if (ads == NULL) luaL_error(L, "Variable_fromlua: failed to narrow target dsb to %s.", #CTGT ); \
ads->set((CTGT) x)\
static void Variable_fromlua(lua_State *L, DataSourceBase::shared_ptr &dsb, int valind)
Definition: rtt.cpp:546
LUA_NUMBER lua_Number
Definition: lua-repl.h:101
#define LUA_TNUMBER
Definition: lua-repl.h:81
if(res==0) luaL_error(L
LUA_API lua_Number() lua_tonumber(lua_State *L, int idx)

Definition at line 536 of file rtt.cpp.

#define DEBUG

Definition at line 45 of file rtt.cpp.

#define gen_opmet (   name,
  op 
)
Value:
static int name(lua_State *L) \
{ \
DataSourceBase::shared_ptr arg1 = *(luaM_checkudata_mt(L, 1, "Variable", DataSourceBase::shared_ptr)); \
DataSourceBase::shared_ptr arg2 = *(luaM_checkudata_mt(L, 2, "Variable", DataSourceBase::shared_ptr)); \
types::OperatorRepository::shared_ptr opreg = types::OperatorRepository::Instance(); \
DataSourceBase *res = opreg->applyBinary(#op, arg1.get(), arg2.get()); \
if(res == 0) \
luaL_error(L , "%s (operator %s) failed", #name, #op); \
res->evaluate(); \
return 1; \
} \
Variable opBinary s not applicable to op
Definition: rtt.cpp:757
struct lua_State lua_State
Definition: lua-repl.h:54
#define luaM_checkudata_mt(L, pos, MT, T)
Definition: rtt.cpp:78
return
Definition: rtt.cpp:762
#define luaM_pushobject_mt(L, MT, T)
Definition: rtt.cpp:74
if(res==0) luaL_error(L
boost::intrusive_ptr< DataSourceBase > shared_ptr

Definition at line 708 of file rtt.cpp.

#define gen_opmet_bool (   name,
  op 
)
Value:
static int name(lua_State *L) \
{ \
DataSourceBase::shared_ptr arg1 = *(luaM_checkudata_mt(L, 1, "Variable", DataSourceBase::shared_ptr)); \
DataSourceBase::shared_ptr arg2 = *(luaM_checkudata_mt(L, 2, "Variable", DataSourceBase::shared_ptr)); \
types::OperatorRepository::shared_ptr opreg = types::OperatorRepository::Instance(); \
DataSourceBase *res = opreg->applyBinary(#op, arg1.get(), arg2.get()); \
if(res == 0) \
luaL_error(L , "%s (operator %s) failed", #name, #op); \
res->evaluate(); \
} \
Variable opBinary s not applicable to op
Definition: rtt.cpp:757
static int __Variable_tolua(lua_State *L, DataSourceBase::shared_ptr dsb)
Definition: rtt.cpp:264
struct lua_State lua_State
Definition: lua-repl.h:54
#define luaM_checkudata_mt(L, pos, MT, T)
Definition: rtt.cpp:78
return
Definition: rtt.cpp:762
if(res==0) luaL_error(L
boost::intrusive_ptr< DataSourceBase > shared_ptr

Definition at line 730 of file rtt.cpp.

#define gen_push_bxptr (   name,
  MT,
 
)
Value:
static void name(lua_State *L, T* ptr) \
{ \
T** ptrptr = (T**) lua_newuserdata(L, sizeof(T*)); \
*ptrptr = ptr; \
luaL_getmetatable(L, MT); \
} \
LUA_API void *() lua_newuserdata(lua_State *L, size_t sz)
LUA_API int() lua_setmetatable(lua_State *L, int objindex)
struct lua_State lua_State
Definition: lua-repl.h:54

Definition at line 97 of file rtt.cpp.

#define luaM_checkudata (   L,
  pos,
 
)    reinterpret_cast<T*>(luaL_checkudata((L), (pos), #T))

Definition at line 77 of file rtt.cpp.

#define luaM_checkudata_bx (   L,
  pos,
 
)    (T**) (luaL_checkudata((L), (pos), #T))

Definition at line 89 of file rtt.cpp.

#define luaM_checkudata_mt (   L,
  pos,
  MT,
 
)    reinterpret_cast<T*>(luaL_checkudata((L), (pos), MT))

Definition at line 78 of file rtt.cpp.

#define luaM_checkudata_mt_bx (   L,
  pos,
  MT,
 
)    (T**) (luaL_checkudata((L), (pos), MT))

Definition at line 90 of file rtt.cpp.

#define luaM_pushobject (   L,
 
)    new(L, #T) T

Definition at line 73 of file rtt.cpp.

#define luaM_pushobject_mt (   L,
  MT,
 
)    new(L, MT) T

Definition at line 74 of file rtt.cpp.

#define luaM_testudata (   L,
  pos,
 
)    (T*) (luaL_testudata((L), (pos), #T))

Definition at line 81 of file rtt.cpp.

#define luaM_testudata_bx (   L,
  pos,
 
)    (T**) (luaL_testudata((L), (pos), #T))

Definition at line 93 of file rtt.cpp.

#define luaM_testudata_mt (   L,
  pos,
  MT,
 
)    (T*) (luaL_testudata((L), (pos), MT))

Definition at line 82 of file rtt.cpp.

#define luaM_testudata_mt_bx (   L,
  pos,
  MT,
 
)    (T**) (luaL_testudata((L), (pos), MT))

Definition at line 94 of file rtt.cpp.

Function Documentation

static TaskContext * __getTC ( lua_State L)
static

Definition at line 2957 of file rtt.cpp.

static int __Operation_call ( lua_State L)
static

Definition at line 1553 of file rtt.cpp.

static int __Operation_send ( lua_State L)
static

Definition at line 1597 of file rtt.cpp.

static int __SendHandle_collect ( lua_State L,
bool  block 
)
static

Definition at line 2630 of file rtt.cpp.

static bool __typenames_cmp ( lua_State L,
const types::TypeInfo ti1,
const char *  type2 
)
static

Definition at line 215 of file rtt.cpp.

static bool __Variable_isbasic ( lua_State L,
DataSourceBase::shared_ptr dsb 
)
static

Definition at line 230 of file rtt.cpp.

static int __Variable_tolua ( lua_State L,
DataSourceBase::shared_ptr  dsb 
)
static

Definition at line 264 of file rtt.cpp.

static int Attribute_del ( lua_State L)
static

Definition at line 1128 of file rtt.cpp.

static int Attribute_get ( lua_State L)
static

Definition at line 1069 of file rtt.cpp.

static int Attribute_getRaw ( lua_State L)
static

Definition at line 1076 of file rtt.cpp.

static int Attribute_index ( lua_State L)
static

Definition at line 1145 of file rtt.cpp.

static int Attribute_info ( lua_State L)
static

Definition at line 1103 of file rtt.cpp.

static int Attribute_newindex ( lua_State L)
static

Definition at line 1162 of file rtt.cpp.

static int Attribute_set ( lua_State L)
static

Definition at line 1083 of file rtt.cpp.

static void cache_clear ( lua_State L,
DataSourceBase varptr 
)
static

Definition at line 465 of file rtt.cpp.

bool call_func ( lua_State L,
const char *  fname,
TaskContext tc,
int  require_function,
int  require_result 
)

Definition at line 3154 of file rtt.cpp.

static int EEHook_disable ( lua_State L)
static

Definition at line 2841 of file rtt.cpp.

static int EEHook_enable ( lua_State L)
static

Definition at line 2833 of file rtt.cpp.

static int EEHook_new ( lua_State L)
static

Definition at line 2825 of file rtt.cpp.

res evaluate ( )
template<typename T >
int GCMethod ( lua_State L)

Definition at line 108 of file rtt.cpp.

gen_opmet ( Variable_add  ,
 
)
gen_opmet ( Variable_mul  ,
 
)
gen_opmet ( Variable_mod  ,
 
)
gen_opmet_bool ( Variable_eq  )
gen_push_bxptr ( Property_push  ,
"Property"  ,
PropertyBase   
)

Definition at line 898 of file rtt.cpp.

gen_push_bxptr ( Attribute_push  ,
"Attribute"  ,
AttributeBase   
)

Definition at line 1047 of file rtt.cpp.

gen_push_bxptr ( InputPort_push  ,
"InputPort"  ,
InputPortInterface   
)

Definition at line 1309 of file rtt.cpp.

gen_push_bxptr ( OutputPort_push  ,
"OutputPort"  ,
OutputPortInterface   
)

Definition at line 1409 of file rtt.cpp.

gen_push_bxptr ( ServiceRequester_push  ,
"ServiceRequester"  ,
ServiceRequester   
)

Definition at line 2015 of file rtt.cpp.

gen_push_bxptr ( TaskContext_push  ,
"TaskContext"  ,
TaskContext   
)

Definition at line 2106 of file rtt.cpp.

static int getTC ( lua_State L)
static

Definition at line 2950 of file rtt.cpp.

static int getTime ( lua_State L)
static

Definition at line 2930 of file rtt.cpp.

static int globals_get ( lua_State L)
static

Definition at line 2981 of file rtt.cpp.

static int globals_getNames ( lua_State L)
static

Definition at line 2967 of file rtt.cpp.

static int globals_getProperties ( lua_State L)
static

Definition at line 2974 of file rtt.cpp.

if ( res  = = 0)
static int InputPort_del ( lua_State L)
static

Definition at line 1376 of file rtt.cpp.

static int InputPort_read ( lua_State L)
static

Definition at line 1337 of file rtt.cpp.

static int Logger_getLogLevel ( lua_State L)
static

Definition at line 2886 of file rtt.cpp.

static int Logger_log ( lua_State L)
static

Definition at line 2905 of file rtt.cpp.

static int Logger_logl ( lua_State L)
static

Definition at line 2916 of file rtt.cpp.

static int Logger_setLogLevel ( lua_State L)
static

Definition at line 2879 of file rtt.cpp.

static DataSourceBase::shared_ptr lookup_member ( lua_State L,
DataSourceBase::shared_ptr  parent,
const char *  mem 
)
static

Definition at line 411 of file rtt.cpp.

void* luaL_testudata ( lua_State L,
int  ud,
const char *  tname 
)

Definition at line 120 of file rtt.cpp.

luaM_pushobject_mt ( ,
"Variable"  ,
DataSourceBase::shared_ptr   
)
int luaopen_rtt ( lua_State L)

Definition at line 3051 of file rtt.cpp.

static int Operation_call ( lua_State L)
static

Definition at line 1627 of file rtt.cpp.

static int Operation_info ( lua_State L)
static

Definition at line 1528 of file rtt.cpp.

static int Operation_send ( lua_State L)
static

Definition at line 1640 of file rtt.cpp.

template<typename T >
int OperationGC ( lua_State L)

Definition at line 1520 of file rtt.cpp.

void* operator new ( size_t  size,
lua_State L,
const char *  mt 
)

Definition at line 58 of file rtt.cpp.

static int OutputPort_del ( lua_State L)
static

Definition at line 1467 of file rtt.cpp.

static int OutputPort_write ( lua_State L)
static

Definition at line 1439 of file rtt.cpp.

static int Port_connect ( lua_State L)
static

Definition at line 1227 of file rtt.cpp.

static int Port_disconnect ( lua_State L)
static

Definition at line 1271 of file rtt.cpp.

static int Port_info ( lua_State L)
static

Definition at line 1196 of file rtt.cpp.

static int Property_del ( lua_State L)
static

Definition at line 980 of file rtt.cpp.

static int Property_get ( lua_State L)
static

Definition at line 921 of file rtt.cpp.

static int Property_getRaw ( lua_State L)
static

Definition at line 928 of file rtt.cpp.

static int Property_index ( lua_State L)
static

Definition at line 997 of file rtt.cpp.

static int Property_info ( lua_State L)
static

Definition at line 955 of file rtt.cpp.

static int Property_newindex ( lua_State L)
static

Definition at line 1014 of file rtt.cpp.

static int Property_set ( lua_State L)
static

Definition at line 935 of file rtt.cpp.

static int provides_global ( lua_State L)
static

Definition at line 3006 of file rtt.cpp.

void push_vect_str ( lua_State L,
const std::vector< std::string > &  v 
)

Definition at line 145 of file rtt.cpp.

static int rtt_services ( lua_State L)
static

Definition at line 3013 of file rtt.cpp.

static int rtt_sleep ( lua_State L)
static

Definition at line 2941 of file rtt.cpp.

static int rtt_typekits ( lua_State L)
static

Definition at line 3019 of file rtt.cpp.

static int rtt_types ( lua_State L)
static

Definition at line 3025 of file rtt.cpp.

static int SendHandle_collect ( lua_State L)
static

Definition at line 2693 of file rtt.cpp.

static int SendHandle_collectIfDone ( lua_State L)
static

Definition at line 2694 of file rtt.cpp.

static void SendStatus_push ( lua_State L,
SendStatus  ss 
)
static

Definition at line 2620 of file rtt.cpp.

static int Service_doc ( lua_State L)
static

Definition at line 1681 of file rtt.cpp.

static int Service_getAttribute ( lua_State L)
static

Definition at line 1928 of file rtt.cpp.

static int Service_getAttributeNames ( lua_State L)
static

Definition at line 1945 of file rtt.cpp.

static int Service_getAttributes ( lua_State L)
static

Definition at line 1954 of file rtt.cpp.

static int Service_getName ( lua_State L)
static

Definition at line 1674 of file rtt.cpp.

static int Service_getOperation ( lua_State L)
static

Definition at line 1790 of file rtt.cpp.

static int Service_getOperationInfo ( lua_State L)
static

Definition at line 1761 of file rtt.cpp.

static int Service_getOperationNames ( lua_State L)
static

Definition at line 1705 of file rtt.cpp.

static int Service_getPort ( lua_State L)
static

Definition at line 1858 of file rtt.cpp.

static int Service_getPortNames ( lua_State L)
static

Definition at line 1723 of file rtt.cpp.

static int Service_getProperties ( lua_State L)
static

Definition at line 1912 of file rtt.cpp.

static int Service_getProperty ( lua_State L)
static

Definition at line 1886 of file rtt.cpp.

static int Service_getPropertyNames ( lua_State L)
static

Definition at line 1903 of file rtt.cpp.

static int Service_getProviderNames ( lua_State L)
static

Definition at line 1698 of file rtt.cpp.

static int Service_hasOperation ( lua_State L)
static

Definition at line 1713 of file rtt.cpp.

static int Service_provides ( lua_State L)
static

Definition at line 1730 of file rtt.cpp.

static int ServiceRequester_disconnect ( lua_State L)
static

Definition at line 2044 of file rtt.cpp.

static int ServiceRequester_getRequesterNames ( lua_State L)
static

Definition at line 2026 of file rtt.cpp.

static int ServiceRequester_ready ( lua_State L)
static

Definition at line 2034 of file rtt.cpp.

static int ServiceRequester_requires ( lua_State L)
static

Definition at line 2052 of file rtt.cpp.

int set_context_tc ( TaskContext tc,
lua_State L 
)

Definition at line 3139 of file rtt.cpp.

static int TaskContext_activate ( lua_State L)
static

Definition at line 2141 of file rtt.cpp.

static int TaskContext_addAttribute ( lua_State L)
static

Definition at line 2431 of file rtt.cpp.

static int TaskContext_addEventPort ( lua_State L)
static

Definition at line 2290 of file rtt.cpp.

static int TaskContext_addPeer ( lua_State L)
static

Definition at line 2202 of file rtt.cpp.

static int TaskContext_addPort ( lua_State L)
static

Definition at line 2260 of file rtt.cpp.

static int TaskContext_addProperty ( lua_State L)
static

Definition at line 2348 of file rtt.cpp.

static int TaskContext_cleanup ( lua_State L)
static

Definition at line 2149 of file rtt.cpp.

static int TaskContext_configure ( lua_State L)
static

Definition at line 2133 of file rtt.cpp.

static int TaskContext_connectPeers ( lua_State L)
static

Definition at line 2213 of file rtt.cpp.

static int TaskContext_connectServices ( lua_State L)
static

Definition at line 2577 of file rtt.cpp.

static int TaskContext_del ( lua_State L)
static

Definition at line 2710 of file rtt.cpp.

static int TaskContext_error ( lua_State L)
static

Definition at line 2157 of file rtt.cpp.

static int TaskContext_getAttribute ( lua_State L)
static

Definition at line 2449 of file rtt.cpp.

static int TaskContext_getAttributeNames ( lua_State L)
static

Definition at line 2467 of file rtt.cpp.

static int TaskContext_getAttributes ( lua_State L)
static

Definition at line 2475 of file rtt.cpp.

static int TaskContext_getOperation ( lua_State L)
static

Definition at line 2602 of file rtt.cpp.

static int TaskContext_getOperationInfo ( lua_State L)
static

Definition at line 2512 of file rtt.cpp.

static int TaskContext_getOps ( lua_State L)
static

Definition at line 2503 of file rtt.cpp.

static int TaskContext_getPeer ( lua_State L)
static

Definition at line 2234 of file rtt.cpp.

static int TaskContext_getPeers ( lua_State L)
static

Definition at line 2193 of file rtt.cpp.

static int TaskContext_getPort ( lua_State L)
static

Definition at line 2314 of file rtt.cpp.

static int TaskContext_getPortNames ( lua_State L)
static

Definition at line 2252 of file rtt.cpp.

static int TaskContext_getProperties ( lua_State L)
static

Definition at line 2399 of file rtt.cpp.

static int TaskContext_getProperty ( lua_State L)
static

Definition at line 2373 of file rtt.cpp.

static int TaskContext_getPropertyNames ( lua_State L)
static

Definition at line 2391 of file rtt.cpp.

static int TaskContext_getProviderNames ( lua_State L)
static

Definition at line 2555 of file rtt.cpp.

static int TaskContext_getState ( lua_State L)
static

Definition at line 2172 of file rtt.cpp.

static int TaskContext_hasOperation ( lua_State L)
static

Definition at line 2587 of file rtt.cpp.

static int TaskContext_provides ( lua_State L)
static

Definition at line 2541 of file rtt.cpp.

static int TaskContext_recover ( lua_State L)
static

Definition at line 2164 of file rtt.cpp.

static int TaskContext_removeAttribute ( lua_State L)
static

Definition at line 2490 of file rtt.cpp.

static int TaskContext_removePeer ( lua_State L)
static

Definition at line 2224 of file rtt.cpp.

static int TaskContext_removePort ( lua_State L)
static

Definition at line 2340 of file rtt.cpp.

static int TaskContext_removeProperty ( lua_State L)
static

Definition at line 2414 of file rtt.cpp.

static int TaskContext_requires ( lua_State L)
static

Definition at line 2563 of file rtt.cpp.

static int TaskContext_start ( lua_State L)
static

Definition at line 2117 of file rtt.cpp.

static int TaskContext_stop ( lua_State L)
static

Definition at line 2125 of file rtt.cpp.

static const TypeInfo* ti_lookup ( lua_State L,
const char *  name 
)
static

Definition at line 165 of file rtt.cpp.

static void Variable_coerce ( lua_State L,
DataSourceBase::shared_ptr  dsb 
)
static

Definition at line 366 of file rtt.cpp.

static int Variable_create ( lua_State L)
static

Definition at line 519 of file rtt.cpp.

static int Variable_create_ival ( lua_State L,
int  typeind,
int  valind 
)
static

Definition at line 632 of file rtt.cpp.

static void Variable_fromlua ( lua_State L,
DataSourceBase::shared_ptr dsb,
int  valind 
)
static

Definition at line 546 of file rtt.cpp.

static DataSourceBase::shared_ptr Variable_fromlua ( lua_State L,
const types::TypeInfo ti,
int  valind 
)
static

Definition at line 613 of file rtt.cpp.

static DataSourceBase::shared_ptr Variable_fromlua ( lua_State L,
const char *  type,
int  valind 
)
static

Definition at line 624 of file rtt.cpp.

static int Variable_getMember ( lua_State L)
static

Definition at line 472 of file rtt.cpp.

static int Variable_getMemberNames ( lua_State L)
static

Definition at line 392 of file rtt.cpp.

static int Variable_getMemberRaw ( lua_State L)
static

Definition at line 486 of file rtt.cpp.

static int Variable_getType ( lua_State L)
static

Definition at line 662 of file rtt.cpp.

static int Variable_getTypeIdName ( lua_State L)
static

Definition at line 669 of file rtt.cpp.

static int Variable_getTypeName ( lua_State L)
static

Definition at line 676 of file rtt.cpp.

static int Variable_getTypes ( lua_State L)
static

Definition at line 386 of file rtt.cpp.

static int Variable_index ( lua_State L)
static

Definition at line 770 of file rtt.cpp.

static bool Variable_is_a ( lua_State L,
const types::TypeInfo ti1,
const char *  type 
)
static

Definition at line 223 of file rtt.cpp.

static int Variable_isbasic ( lua_State L)
static

Definition at line 252 of file rtt.cpp.

static int Variable_new ( lua_State L)
static

Definition at line 642 of file rtt.cpp.

static int Variable_newindex ( lua_State L)
static

Definition at line 786 of file rtt.cpp.

static void Variable_push_coerce ( lua_State L,
DataSourceBase::shared_ptr  dsb 
)
static

Definition at line 377 of file rtt.cpp.

static int Variable_resize ( lua_State L)
static

Definition at line 683 of file rtt.cpp.

static int Variable_tolightuserdata ( lua_State L)
static

Definition at line 399 of file rtt.cpp.

static int Variable_tolua ( lua_State L)
static

Definition at line 355 of file rtt.cpp.

static int Variable_toString ( lua_State L)
static

Definition at line 655 of file rtt.cpp.

static int Variable_unm ( lua_State L)
static

Definition at line 697 of file rtt.cpp.

static int Variable_update ( lua_State L)
static

Definition at line 500 of file rtt.cpp.

template<typename T >
int VariableGC ( lua_State L)

Definition at line 823 of file rtt.cpp.

Variable Documentation

<) gen_opmet_bool(Variable_le, <=) static int Variable_opBinary(lua_State *L) { types::OperatorRepository::shared_ptr opreg = types::OperatorRepository::Instance(); const char *op = luaL_checkstring(L, 1); DataSourceBase::shared_ptr arg1 = *(luaM_checkudata_mt(L, 2, "Variable", DataSourceBase::shared_ptr)); DataSourceBase::shared_ptr arg2 = *(luaM_checkudata_mt(L, 3, "Variable", DataSourceBase::shared_ptr)); DataSourceBase *res; res = opreg-> applyBinary(op, arg1.get(), arg2.get())

Definition at line 755 of file rtt.cpp.

Variable opBinary s not applicable to args

Definition at line 757 of file rtt.cpp.

const struct luaL_Reg Attribute_f[]
static
Initial value:
= {
{"new", Attribute_new },
{"get", Attribute_get },
{"getRaw", Attribute_getRaw },
{"set", Attribute_set },
{"info", Attribute_info },
{"delete", Attribute_del },
{NULL, NULL}
}
static int Attribute_getRaw(lua_State *L)
Definition: rtt.cpp:1076
static int Attribute_del(lua_State *L)
Definition: rtt.cpp:1128
static int Attribute_info(lua_State *L)
Definition: rtt.cpp:1103
static int Attribute_set(lua_State *L)
Definition: rtt.cpp:1083
static int Attribute_get(lua_State *L)
Definition: rtt.cpp:1069

Definition at line 1169 of file rtt.cpp.

const struct luaL_Reg Attribute_m[]
static
Initial value:
= {
{"get", Attribute_get },
{"getRaw", Attribute_getRaw },
{"set", Attribute_set },
{"info", Attribute_info },
{"delete", Attribute_del },
{"__index", Attribute_index },
{"__newindex", Attribute_newindex },
{NULL, NULL}
}
static int Attribute_getRaw(lua_State *L)
Definition: rtt.cpp:1076
static int Attribute_index(lua_State *L)
Definition: rtt.cpp:1145
static int Attribute_del(lua_State *L)
Definition: rtt.cpp:1128
static int Attribute_newindex(lua_State *L)
Definition: rtt.cpp:1162
static int Attribute_info(lua_State *L)
Definition: rtt.cpp:1103
static int Attribute_set(lua_State *L)
Definition: rtt.cpp:1083
static int Attribute_get(lua_State *L)
Definition: rtt.cpp:1069

Definition at line 1179 of file rtt.cpp.

const struct luaL_Reg EEHook_f[]
static
Initial value:
= {
{ "new", EEHook_new },
{ "enable", EEHook_enable },
{ "disable", EEHook_disable },
}
static int EEHook_enable(lua_State *L)
Definition: rtt.cpp:2833
static int EEHook_new(lua_State *L)
Definition: rtt.cpp:2825
static int EEHook_disable(lua_State *L)
Definition: rtt.cpp:2841

Definition at line 2858 of file rtt.cpp.

const struct luaL_Reg EEHook_m[]
static
Initial value:
= {
{ "enable", EEHook_enable },
{ "disable", EEHook_disable },
}
static int EEHook_enable(lua_State *L)
Definition: rtt.cpp:2833
static int EEHook_disable(lua_State *L)
Definition: rtt.cpp:2841

Definition at line 2865 of file rtt.cpp.

const struct luaL_Reg InputPort_f[]
static
Initial value:
= {
{"new", InputPort_new },
{"read", InputPort_read },
{"info", Port_info },
{"connect", Port_connect },
{"disconnect", Port_disconnect },
{"delete", InputPort_del },
{NULL, NULL}
}
static int Port_info(lua_State *L)
Definition: rtt.cpp:1196
static int Port_disconnect(lua_State *L)
Definition: rtt.cpp:1271
static int InputPort_read(lua_State *L)
Definition: rtt.cpp:1337
static int Port_connect(lua_State *L)
Definition: rtt.cpp:1227
static int InputPort_del(lua_State *L)
Definition: rtt.cpp:1376

Definition at line 1387 of file rtt.cpp.

const struct luaL_Reg InputPort_m[]
static
Initial value:
= {
{"read", InputPort_read },
{"info", Port_info },
{"delete", InputPort_del },
{"connect", Port_connect },
{"disconnect", Port_disconnect },
{NULL, NULL}
}
static int Port_info(lua_State *L)
Definition: rtt.cpp:1196
static int Port_disconnect(lua_State *L)
Definition: rtt.cpp:1271
static int InputPort_read(lua_State *L)
Definition: rtt.cpp:1337
static int Port_connect(lua_State *L)
Definition: rtt.cpp:1227
static int InputPort_del(lua_State *L)
Definition: rtt.cpp:1376

Definition at line 1397 of file rtt.cpp.

const char* const loglevels[]
static
Initial value:
= {
"Never", "Fatal", "Critical", "Error", "Warning", "Info", "Debug", "RealTime", NULL
}

Definition at line 2875 of file rtt.cpp.

Variable opBinary s not applicable to op

Definition at line 757 of file rtt.cpp.

const struct luaL_Reg Operation_f[]
static
Initial value:
= {
{ "info", Operation_info },
{ "call", Operation_call },
{ "send", Operation_send },
{ NULL, NULL }
}
static int Operation_send(lua_State *L)
Definition: rtt.cpp:1640
static int Operation_info(lua_State *L)
Definition: rtt.cpp:1528
static int Operation_call(lua_State *L)
Definition: rtt.cpp:1627

Definition at line 1654 of file rtt.cpp.

const struct luaL_Reg Operation_m[]
static
Initial value:
= {
{ "info", Operation_info },
{ "send", Operation_send },
{ "__call", Operation_call },
{ "__gc", OperationGC<OperationHandle> },
{ NULL, NULL }
}
static int Operation_send(lua_State *L)
Definition: rtt.cpp:1640
static int Operation_info(lua_State *L)
Definition: rtt.cpp:1528
static int Operation_call(lua_State *L)
Definition: rtt.cpp:1627

Definition at line 1662 of file rtt.cpp.

const struct luaL_Reg OutputPort_f[]
static
Initial value:
= {
{"new", OutputPort_new },
{"write", OutputPort_write },
{"info", Port_info },
{"connect", Port_connect },
{"disconnect", Port_disconnect },
{"delete", OutputPort_del },
{NULL, NULL}
}
static int Port_info(lua_State *L)
Definition: rtt.cpp:1196
static int Port_disconnect(lua_State *L)
Definition: rtt.cpp:1271
static int OutputPort_write(lua_State *L)
Definition: rtt.cpp:1439
static int OutputPort_del(lua_State *L)
Definition: rtt.cpp:1467
static int Port_connect(lua_State *L)
Definition: rtt.cpp:1227

Definition at line 1478 of file rtt.cpp.

const struct luaL_Reg OutputPort_m[]
static
Initial value:
= {
{"write", OutputPort_write },
{"info", Port_info },
{"connect", Port_connect },
{"disconnect", Port_disconnect },
{"delete", OutputPort_del },
{NULL, NULL}
}
static int Port_info(lua_State *L)
Definition: rtt.cpp:1196
static int Port_disconnect(lua_State *L)
Definition: rtt.cpp:1271
static int OutputPort_write(lua_State *L)
Definition: rtt.cpp:1439
static int OutputPort_del(lua_State *L)
Definition: rtt.cpp:1467
static int Port_connect(lua_State *L)
Definition: rtt.cpp:1227

Definition at line 1488 of file rtt.cpp.

const struct luaL_Reg Property_f[]
static
Initial value:
= {
{"new", Property_new },
{"get", Property_get },
{"getRaw", Property_getRaw },
{"set", Property_set },
{"info", Property_info },
{"delete", Property_del },
{NULL, NULL}
}
static int Property_getRaw(lua_State *L)
Definition: rtt.cpp:928
static int Property_set(lua_State *L)
Definition: rtt.cpp:935
static int Property_info(lua_State *L)
Definition: rtt.cpp:955
static int Property_del(lua_State *L)
Definition: rtt.cpp:980
static int Property_get(lua_State *L)
Definition: rtt.cpp:921

Definition at line 1021 of file rtt.cpp.

const struct luaL_Reg Property_m[]
static
Initial value:
= {
{"get", Property_get },
{"getRaw", Property_getRaw },
{"set", Property_set },
{"info", Property_info },
{"delete", Property_del },
{"__index", Property_index },
{"__newindex", Property_newindex },
{NULL, NULL}
}
static int Property_getRaw(lua_State *L)
Definition: rtt.cpp:928
static int Property_newindex(lua_State *L)
Definition: rtt.cpp:1014
static int Property_set(lua_State *L)
Definition: rtt.cpp:935
static int Property_info(lua_State *L)
Definition: rtt.cpp:955
static int Property_del(lua_State *L)
Definition: rtt.cpp:980
static int Property_get(lua_State *L)
Definition: rtt.cpp:921
static int Property_index(lua_State *L)
Definition: rtt.cpp:997

Definition at line 1031 of file rtt.cpp.

return

Definition at line 762 of file rtt.cpp.

const struct luaL_Reg rtt_f[]
static
Initial value:
= {
{"getTime", getTime },
{"sleep", rtt_sleep },
{"getTC", getTC },
{"globals_getNames", globals_getNames },
{"globals_getProperties", globals_getProperties },
{"globals_get", globals_get },
{"provides", provides_global },
{"services", rtt_services },
{"typekits", rtt_typekits },
{"types", rtt_types },
{"setLogLevel", Logger_setLogLevel },
{"getLogLevel", Logger_getLogLevel },
{"log", Logger_log },
{"logl", Logger_logl },
{NULL, NULL}
}
static int Logger_logl(lua_State *L)
Definition: rtt.cpp:2916
static int globals_getProperties(lua_State *L)
Definition: rtt.cpp:2974
static int rtt_types(lua_State *L)
Definition: rtt.cpp:3025
static int Logger_log(lua_State *L)
Definition: rtt.cpp:2905
static int rtt_services(lua_State *L)
Definition: rtt.cpp:3013
static int globals_getNames(lua_State *L)
Definition: rtt.cpp:2967
static int Logger_getLogLevel(lua_State *L)
Definition: rtt.cpp:2886
static int Logger_setLogLevel(lua_State *L)
Definition: rtt.cpp:2879
static int getTC(lua_State *L)
Definition: rtt.cpp:2950
static int provides_global(lua_State *L)
Definition: rtt.cpp:3006
static int getTime(lua_State *L)
Definition: rtt.cpp:2930
static int rtt_sleep(lua_State *L)
Definition: rtt.cpp:2941
static int rtt_typekits(lua_State *L)
Definition: rtt.cpp:3019
static int globals_get(lua_State *L)
Definition: rtt.cpp:2981

Definition at line 3031 of file rtt.cpp.

const struct luaL_Reg SendHandle_f[]
static
Initial value:
= {
{ "collect", SendHandle_collect },
{ "collectIfDone", SendHandle_collectIfDone },
{ NULL, NULL }
}
static int SendHandle_collect(lua_State *L)
Definition: rtt.cpp:2693
static int SendHandle_collectIfDone(lua_State *L)
Definition: rtt.cpp:2694

Definition at line 2696 of file rtt.cpp.

const struct luaL_Reg SendHandle_m[]
static
Initial value:
= {
{ "collect", SendHandle_collect },
{ "collectIfDone", SendHandle_collectIfDone },
{ "__gc", GCMethod<SendHandleC> },
{ NULL, NULL }
}
static int SendHandle_collect(lua_State *L)
Definition: rtt.cpp:2693
static int SendHandle_collectIfDone(lua_State *L)
Definition: rtt.cpp:2694

Definition at line 2702 of file rtt.cpp.

const struct luaL_Reg Service_f[]
static
Initial value:
= {
{ "getName", Service_getName },
{ "doc", Service_doc },
{ "getProviderNames", Service_getProviderNames },
{ "getOperationNames", Service_getOperationNames },
{ "hasOperation", Service_hasOperation },
{ "getOperationInfo", Service_getOperationInfo },
{ "getPortNames", Service_getPortNames },
{ "provides", Service_provides },
{ "getOperation", Service_getOperation },
{ "getPort", Service_getPort },
{ "getProperty", Service_getProperty },
{ "getProperties", Service_getProperties },
{ "getPropertyNames", Service_getPropertyNames },
{ "getAttribute", Service_getAttribute },
{ "getAttributes", Service_getAttributes },
{ "getAttributeNames", Service_getAttributeNames },
{ NULL, NULL }
}
static int Service_doc(lua_State *L)
Definition: rtt.cpp:1681
static int Service_getOperationInfo(lua_State *L)
Definition: rtt.cpp:1761
static int Service_getPort(lua_State *L)
Definition: rtt.cpp:1858
static int Service_getPropertyNames(lua_State *L)
Definition: rtt.cpp:1903
static int Service_getPortNames(lua_State *L)
Definition: rtt.cpp:1723
static int Service_provides(lua_State *L)
Definition: rtt.cpp:1730
static int Service_getAttributes(lua_State *L)
Definition: rtt.cpp:1954
static int Service_getOperation(lua_State *L)
Definition: rtt.cpp:1790
static int Service_getName(lua_State *L)
Definition: rtt.cpp:1674
static int Service_getProperty(lua_State *L)
Definition: rtt.cpp:1886
static int Service_getOperationNames(lua_State *L)
Definition: rtt.cpp:1705
static int Service_getProviderNames(lua_State *L)
Definition: rtt.cpp:1698
static int Service_getAttribute(lua_State *L)
Definition: rtt.cpp:1928
static int Service_getProperties(lua_State *L)
Definition: rtt.cpp:1912
static int Service_getAttributeNames(lua_State *L)
Definition: rtt.cpp:1945
static int Service_hasOperation(lua_State *L)
Definition: rtt.cpp:1713

Definition at line 1970 of file rtt.cpp.

const struct luaL_Reg Service_m[]
static
Initial value:
= {
{ "getName", Service_getName },
{ "doc", Service_doc },
{ "getProviderNames", Service_getProviderNames },
{ "getOperationNames", Service_getOperationNames },
{ "hasOperation", Service_hasOperation },
{ "getOperationInfo", Service_getOperationInfo },
{ "getPortNames", Service_getPortNames },
{ "provides", Service_provides },
{ "getOperation", Service_getOperation },
{ "getPort", Service_getPort },
{ "getProperty", Service_getProperty },
{ "getProperties", Service_getProperties },
{ "getPropertyNames", Service_getPropertyNames },
{ "getAttribute", Service_getAttribute },
{ "getAttributes", Service_getAttributes },
{ "getAttributeNames", Service_getAttributeNames },
{ "__gc", GCMethod<Service::shared_ptr> },
{ NULL, NULL }
}
static int Service_doc(lua_State *L)
Definition: rtt.cpp:1681
static int Service_getOperationInfo(lua_State *L)
Definition: rtt.cpp:1761
static int Service_getPort(lua_State *L)
Definition: rtt.cpp:1858
static int Service_getPropertyNames(lua_State *L)
Definition: rtt.cpp:1903
static int Service_getPortNames(lua_State *L)
Definition: rtt.cpp:1723
static int Service_provides(lua_State *L)
Definition: rtt.cpp:1730
static int Service_getAttributes(lua_State *L)
Definition: rtt.cpp:1954
static int Service_getOperation(lua_State *L)
Definition: rtt.cpp:1790
static int Service_getName(lua_State *L)
Definition: rtt.cpp:1674
static int Service_getProperty(lua_State *L)
Definition: rtt.cpp:1886
static int Service_getOperationNames(lua_State *L)
Definition: rtt.cpp:1705
static int Service_getProviderNames(lua_State *L)
Definition: rtt.cpp:1698
static int Service_getAttribute(lua_State *L)
Definition: rtt.cpp:1928
static int Service_getProperties(lua_State *L)
Definition: rtt.cpp:1912
static int Service_getAttributeNames(lua_State *L)
Definition: rtt.cpp:1945
static int Service_hasOperation(lua_State *L)
Definition: rtt.cpp:1713

Definition at line 1990 of file rtt.cpp.

const struct luaL_Reg ServiceRequester_f[]
static
Initial value:
= {
{ "getRequestName", ServiceRequester_getRequestName },
{ "getRequesterNames", ServiceRequester_getRequesterNames },
{ "ready", ServiceRequester_ready },
{ "disconnect", ServiceRequester_disconnect },
{ "requires", ServiceRequester_requires },
{ NULL, NULL }
}
static int ServiceRequester_ready(lua_State *L)
Definition: rtt.cpp:2034
static int ServiceRequester_disconnect(lua_State *L)
Definition: rtt.cpp:2044
static int ServiceRequester_requires(lua_State *L)
Definition: rtt.cpp:2052
static int ServiceRequester_getRequesterNames(lua_State *L)
Definition: rtt.cpp:2026

Definition at line 2083 of file rtt.cpp.

const struct luaL_Reg ServiceRequester_m[]
static
Initial value:
= {
{ "getRequestName", ServiceRequester_getRequestName },
{ "getRequesterNames", ServiceRequester_getRequesterNames },
{ "ready", ServiceRequester_ready },
{ "disconnect", ServiceRequester_disconnect },
{ "requires", ServiceRequester_requires },
{ NULL, NULL }
}
static int ServiceRequester_ready(lua_State *L)
Definition: rtt.cpp:2034
static int ServiceRequester_disconnect(lua_State *L)
Definition: rtt.cpp:2044
static int ServiceRequester_requires(lua_State *L)
Definition: rtt.cpp:2052
static int ServiceRequester_getRequesterNames(lua_State *L)
Definition: rtt.cpp:2026

Definition at line 2092 of file rtt.cpp.

const struct luaL_Reg TaskContext_f[]
static

Definition at line 2721 of file rtt.cpp.

const struct luaL_Reg TaskContext_m[]
static

Definition at line 2762 of file rtt.cpp.

const struct luaL_Reg Variable_f[]
static
Initial value:
= {
{ "new", Variable_new },
{ "tolua", Variable_tolua },
{ "isbasic", Variable_isbasic },
{ "toString", Variable_toString },
{ "getTypes", Variable_getTypes },
{ "getType", Variable_getType },
{ "getTypeName", Variable_getTypeName },
{ "getTypeIdName", Variable_getTypeIdName },
{ "getMemberNames", Variable_getMemberNames },
{ "getMember", Variable_getMember },
{ "getMemberRaw", Variable_getMemberRaw },
{ "resize", Variable_resize },
{ "opBinary", Variable_opBinary },
{ "assign", Variable_update },
{ "unm", Variable_unm },
{ "add", Variable_add },
{ "sub", Variable_sub },
{ "mul", Variable_mul },
{ "div", Variable_div },
{ "mod", Variable_mod },
{ "pow", Variable_pow },
{ "eq", Variable_eq },
{ "lt", Variable_lt },
{ "le", Variable_le },
{ NULL, NULL}
}
static int Variable_resize(lua_State *L)
Definition: rtt.cpp:683
static int Variable_getTypeName(lua_State *L)
Definition: rtt.cpp:676
static int Variable_tolua(lua_State *L)
Definition: rtt.cpp:355
static int Variable_unm(lua_State *L)
Definition: rtt.cpp:697
static int Variable_getType(lua_State *L)
Definition: rtt.cpp:662
static int Variable_tolightuserdata(lua_State *L)
Definition: rtt.cpp:399
static int Variable_getMemberRaw(lua_State *L)
Definition: rtt.cpp:486
static int Variable_update(lua_State *L)
Definition: rtt.cpp:500
static int Variable_toString(lua_State *L)
Definition: rtt.cpp:655
static int Variable_isbasic(lua_State *L)
Definition: rtt.cpp:252
static int Variable_getMemberNames(lua_State *L)
Definition: rtt.cpp:392
static int Variable_getTypes(lua_State *L)
Definition: rtt.cpp:386
static int Variable_new(lua_State *L)
Definition: rtt.cpp:642
static int Variable_getTypeIdName(lua_State *L)
Definition: rtt.cpp:669
static int Variable_getMember(lua_State *L)
Definition: rtt.cpp:472

Definition at line 832 of file rtt.cpp.

const struct luaL_Reg Variable_m[]
static

Definition at line 861 of file rtt.cpp.



ocl
Author(s): OCL Development Team
autogenerated on Wed Jun 26 2019 19:26:27