holoscan::FragmentService
holoscan::FragmentService
Base interface for services that enable sharing of resources and functionality between operators within a fragment or across distributed fragments.
FragmentService provides a common interface for services that manage shared resources accessible to multiple operators. Services implementing this interface can be registered with a Fragment and accessed by operators through the Fragment’s service registry.
This interface is typically implemented by resource managers, shared data structures, or other facilities that need to be shared across operators while maintaining a single instance per fragment.
Constructors
FragmentService
Destructor
~FragmentService
Methods
resource
Mutable
Const
Set the underlying resource managed by this service.
Parameters
resource
Shared pointer to the resource to be managed.