21 #include <unity/scopes/ObjectProxyFwd.h>
22 #include <unity/scopes/RegistryProxyFwd.h>
23 #include <unity/util/DefinesPtrs.h>
24 #include <unity/util/NonCopyable.h>
77 static UPtr
create(std::string
const& configfile =
"");
92 static UPtr
create_scope_runtime(std::string
const& scope_id, std::string
const& configfile =
"");
160 Runtime(std::string
const& scope_id, std::string
const& configfile);
162 std::unique_ptr<internal::RuntimeImpl> p;
~Runtime()
Destroys a Runtime instance.
void destroy()
Shuts down the run time, reclaiming all associated resources.
Definition: Runtime.cpp:55
Base class for a scope implementation.
Definition: ScopeBase.h:138
ObjectProxy string_to_proxy(std::string const &s) const
Convert a string to a proxy.
Definition: Runtime.cpp:70
static UPtr create(std::string const &configfile="")
Instantiates the scopes run time for a client with the given (optional) configuration file...
Definition: Runtime.cpp:44
The main object for query originators to access the scopes run time.
Definition: Runtime.h:54
Top-level namespace for all things Unity-related.
Definition: Version.h:49
Definition: ActionMetadata.h:31
static UPtr create_scope_runtime(std::string const &scope_id, std::string const &configfile="")
Create a run time for a scope.
Definition: Runtime.cpp:49
void run_scope(ScopeBase *const scope_base, std::string const &scope_ini_file)
Run a scope without going through the scope runner.
Definition: Runtime.cpp:65
std::string proxy_to_string(ObjectProxy const &proxy) const
Converts a proxy to a string.
Definition: Runtime.cpp:75
RegistryProxy registry() const
Returns a proxy to the Registry object.
Definition: Runtime.cpp:60
std::shared_ptr< Registry > RegistryProxy
Convenience type definition.
Definition: RegistryProxyFwd.h:33
std::shared_ptr< Object > ObjectProxy
Convenience type definition for the proxy inheritance root.
Definition: ObjectProxyFwd.h:33