#include <ulxr_virtual_resource.h>
Inheritance diagram for ulxr::VirtualResource:
Public Member Functions | |
VirtualResource (const CppString &res_name) | |
Creates the resource. | |
virtual | ~VirtualResource () |
Destroys the resource. | |
virtual void | open () |
Opens the resource. | |
virtual void | close () |
Closes the resource. | |
virtual bool | good () |
Tests the state of the resource. |
Definition at line 44 of file ulxr_virtual_resource.h.
ulxr::VirtualResource::VirtualResource | ( | const CppString & | res_name | ) |
Creates the resource.
res_name | the name of the resource |
Definition at line 39 of file ulxr_virtual_resource.cpp.
References open().
ulxr::VirtualResource::~VirtualResource | ( | ) | [virtual] |
void ulxr::VirtualResource::open | ( | ) | [virtual] |
Opens the resource.
Implements ulxr::CachedResource.
Definition at line 52 of file ulxr_virtual_resource.cpp.
Referenced by VirtualResource().
void ulxr::VirtualResource::close | ( | ) | [virtual] |
Closes the resource.
Implements ulxr::CachedResource.
Definition at line 58 of file ulxr_virtual_resource.cpp.
Referenced by ~VirtualResource().
bool ulxr::VirtualResource::good | ( | ) | [virtual] |
Tests the state of the resource.
false: an error occured
Implements ulxr::CachedResource.
Definition at line 63 of file ulxr_virtual_resource.cpp.