18#ifndef _DECAF_INTERNAL_UTIL_GENERICRESOURCE_H_
19#define _DECAF_INTERNAL_UTIL_GENERICRESOURCE_H_
63 this->managed = value;
A Generic Resource wraps some type and will delete it when the Resource itself is deleted.
Definition: GenericResource.h:36
GenericResource(T *value)
Definition: GenericResource.h:48
virtual ~GenericResource()
Definition: GenericResource.h:51
void setManaged(T *value)
Definition: GenericResource.h:62
T * getManaged() const
Definition: GenericResource.h:58
Interface for all Managed Resources in Decaf, these objects are added to the Runtime System and are d...
Definition: Resource.h:33
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: AprPool.h:25