Inviwo  0.9.10.1
Inviwo documentation
inviwo::TypedResource< T > Class Template Reference

Class used by ResourceManager to wrap a shared_ptr in a resource. More...

#include <resource.h>

+ Inheritance diagram for inviwo::TypedResource< T >:

Public Member Functions

 TypedResource (std::shared_ptr< T > resource, const std::string &key)
 
std::shared_ptr< T > getData ()
 
virtual std::string typeDisplayName () override
 
virtual Document info () override
 
- Public Member Functions inherited from inviwo::Resource
 Resource (const std::string &key)
 
 Resource (const Resource &r)=delete
 
 Resource (Resource &&r)=delete
 
Resourceoperator= (const Resource &r)=delete
 
Resourceoperator= (const Resource &&r)=delete
 
std::string key () const
 

Detailed Description

template<typename T>
class inviwo::TypedResource< T >

Class used by ResourceManager to wrap a shared_ptr in a resource.

See also
ResourceManager

The documentation for this class was generated from the following file: