37 #ifndef H_OGF_GOM_TYPES_CALLABLE_H
38 #define H_OGF_GOM_TYPES_CALLABLE_H
49 gom_attribute(
abstract,
"true")
82 return invoke(args, ret_val);
95 return invoke(args, ret_val);
A class that stores a variable of arbitrary type.
Represents a list of name-value pairs.
Callable()
Callable constructor.
virtual bool invoke(const ArgList &args, Any &ret_val)=0
Invokes a method with an argument list, and gets the return value.
bool invoke(const ArgList &args)
Invokes a method by method name and argument list.
~Callable() override
Callable destructor.
bool invoke()
Invokes a method by method name.
Base class for all objects in the GOM system.
A pointer to an object and to a meta-method of that object (a very limited notion of "closure").
bool invoke(const ArgList &args, Any &ret_val) override
Invokes a method by method name.
~Request() override
Request destructor.
MetaMethod * method() const
Gets the method to be invoked.
std::string get_doc() const override
Gets the documentation.
Request(Object *o, MetaMethod *m, bool managed=true)
Request constructor.
Global Graphite namespace.
SmartPointer< Callable > Callable_var
A reference-counted pointer to a Callable.
SmartPointer< Request > Request_var
A reference-counted pointer to a Request.
Definitions common to all include files in the gom library.