37#ifndef H_OGF_SCENE_GRAPH_TYPES_COMMANDS_H
38#define H_OGF_SCENE_GRAPH_TYPES_COMMANDS_H
71 gom_attribute(abstract,
"true")
108 virtual void set_grob(
Grob* value);
152 gom_attribute(abstract,
"true")
172 const std::string& method_name,
189 bool get_chrono()
const {
217 return command_is_running_;
222 static bool command_is_running_;
225 typedef SmartPointer<Commands> Commands_var;
A smart pointer with reference-counted copy semantics.
A class that stores a variable of arbitrary type.
Represents a list of name-value pairs.
Represents a set of commands.
void show_console()
Tentatively display the console. Ignored if running outside from Graphite.
static bool command_is_running()
Tests whether a command is currently running.
void set_chrono(bool value)
Sets whether timings are reported.
Interpreter * interpreter()
Gets the main Interpreter.
~Commands() override
Commands destructor.
Commands()
Commands constructor.
bool invoke_method(const std::string &method_name, const ArgList &args, Any &ret_val) override
Invokes a method by method name and argument list, and gets the return value.
Base class for all 3D Graphite objects.
Represents additional functions that can be attached to an object.
Grob * grob() const
Gets the Grob.
SceneGraph * scene_graph() const
Gets the SceneGraph.
Interface()
Interface constructor.
~Interface() override
Interface destructor.
Grob * get_grob() const
Gets the current Grob.
Abstract base class for the GOM interpreter.
Base class for all objects in the GOM system.
Represents the list of objects loaded in Graphite.
Global Graphite namespace.
The base class for all composite objects in the GOM system.
Definitions common to all include files in the scene_graph library.