Context of an object handle.
virtual void notify_set_parameter(const ObjectHandle *self, std::string const &name, Variant const &value)=0
Set a parameter on remote instances.
virtual void parallel_try_catch(std::function< void()> const &cb) const =0
virtual std::string_view name(const ObjectHandle *o) const =0
Get the class name for an ObjectHandle instance.
virtual std::shared_ptr< ObjectHandle > make_shared(std::string const &name, const VariantMap ¶meters)=0
Get a new reference counted instance of a script interface by name.
virtual void notify_call_method(const ObjectHandle *self, std::string const &name, VariantMap const &arguments)=0
Call method on remote instances.
virtual bool is_head_node() const =0
void set_context(ObjectHandle *o)
Set the context of an object to this.
virtual ~Context()=default
virtual boost::mpi::communicator const & get_comm() const =0