Inital commit. Meisten features sind implementiert und müssen getestet werden
This commit is contained in:
35
src/thrawn_api.h
Normal file
35
src/thrawn_api.h
Normal file
@@ -0,0 +1,35 @@
|
||||
#if !defined(THRAWN_API_H)
|
||||
#define THRAWN_API_H
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#include <lua.h>
|
||||
#include <lualib.h>
|
||||
#include <lauxlib.h>
|
||||
}
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include "Service.h"
|
||||
|
||||
//Functions for LUA
|
||||
int thrawn_log(lua_State* lua);
|
||||
|
||||
int thrawn_register_service(lua_State* lua);
|
||||
|
||||
int thrawn_subscribe(lua_State* lua);
|
||||
|
||||
int thrawn_publish(lua_State* lua);
|
||||
|
||||
int thrawn_create_topic_state(lua_State* lua);
|
||||
|
||||
int thrawn_topic_state_str(lua_State* lua);
|
||||
|
||||
int thrawn_topic_cache(lua_State* lua);
|
||||
|
||||
// Function in LUA
|
||||
void call_thrawn_on_start(LuaService& service);
|
||||
|
||||
void call_thrawn_on_update(LuaService& service, TopicState state);
|
||||
|
||||
#endif // THRAWN_API_H
|
||||
Reference in New Issue
Block a user