Savarese Software Research Corporation
renderer/service.cc File Reference
#include <ssrc/wispers/renderer/service.h>
#include <ssrc/wispers/renderer/util.h>
#include <ssrc/wispers/utility/Properties.h>
#include <boost/filesystem/operations.hpp>
Include dependency graph for renderer/service.cc:

Go to the source code of this file.

Defines

#define LTP_RENDER_FUNCTION_NAME   "render"
#define LTP_LOAD_ENVIRONMENT_FUNCTION_NAME   "load_environment"
#define LTP_UNCACHE_TEMPLATE_FUNCTION_NAME   "uncache_template"
#define LTP_UNCACHE_ENVIRONMENT_FUNCTION_NAME   "uncache_environment"
#define LTP_CLEAR_RENDERING_CACHE_FUNCTION_NAME   "clear_rendering_cache"
#define LTP_INIT_GLOBAL_ENVIRONMENT_FUNCTION_NAME   "init_global_environment"

Functions

std::invalid_argument super_service (caller)
std::invalid_argument _global_env_file (initializer.global_env)
std::invalid_argument _template_prefix ()
std::invalid_argument _template_dir ()
std::invalid_argument _get_path_pattern ()
std::invalid_argument _lua_state (luaL_newstate())
std::invalid_argument _lua_render_ref (LUA_NOREF)
std::invalid_argument _lua_load_environment_ref (LUA_NOREF)
std::invalid_argument _lua_uncache_template_ref (LUA_NOREF)
std::invalid_argument _lua_uncache_environment_ref (LUA_NOREF)
std::invalid_argument _lua_clear_rendering_cache_ref (LUA_NOREF)
std::invalid_argument _lua_init_global_environment_ref (LUA_NOREF)
path LuaCallError path ltp_file (template_path.string()+".lua")
 if (boost::filesystem::is_regular_file(ltp_file))

Variables

std::invalid_argument __pad0__

Define Documentation

#define LTP_CLEAR_RENDERING_CACHE_FUNCTION_NAME   "clear_rendering_cache"

Definition at line 131 of file renderer/service.cc.

#define LTP_INIT_GLOBAL_ENVIRONMENT_FUNCTION_NAME   "init_global_environment"

Definition at line 132 of file renderer/service.cc.

#define LTP_LOAD_ENVIRONMENT_FUNCTION_NAME   "load_environment"

Definition at line 128 of file renderer/service.cc.

#define LTP_RENDER_FUNCTION_NAME   "render"

Definition at line 127 of file renderer/service.cc.

#define LTP_UNCACHE_ENVIRONMENT_FUNCTION_NAME   "uncache_environment"

Definition at line 130 of file renderer/service.cc.

#define LTP_UNCACHE_TEMPLATE_FUNCTION_NAME   "uncache_template"

Definition at line 129 of file renderer/service.cc.


Function Documentation

std::invalid_argument _global_env_file ( initializer.  global_env)
std::invalid_argument _lua_clear_rendering_cache_ref ( LUA_NOREF  )
std::invalid_argument _lua_load_environment_ref ( LUA_NOREF  )
std::invalid_argument _lua_render_ref ( LUA_NOREF  )
std::invalid_argument _lua_uncache_environment_ref ( LUA_NOREF  )
std::invalid_argument _lua_uncache_template_ref ( LUA_NOREF  )
if ( boost::filesystem::  is_regular_fileltp_file)

Definition at line 249 of file renderer/service.cc.

References _lua_state(), _template_dir(), _template_prefix(), and ltp_file().

path LuaCallError path ltp_file ( template_path.string()+".lua"  )
std::invalid_argument super_service ( caller  )

Variable Documentation

std::invalid_argument __pad0__

Definition at line 29 of file renderer/service.cc.


Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.