![]() | |
![]() | ![]() |
Entire Class Index | Main Class Index | Cross Index | Global Index |
Interface representing a resource in the resource manager.
Contained in: global
Derived from:
none
Derived by:
none
Group: Core (Resources)
#include <ClanLib/core.h>
public function member index: |
||
Construction: |
||
CL_Resource | (const std::string& type, const std::string& name, const std::string& location, const CL_ResourceOptions& options, const CL_ResourceManager& manager); | |
CL_Resource | (const CL_Resource& copy); | |
CL_Resource | (); | |
virtual | ~CL_Resource | (); |
Attributes: |
||
const std::string& | get_type | () const; |
const std::string& | get_name | () const; |
const std::string& | get_location | () const; |
std::string | get_full_location | () const; |
CL_ResourceOptions& | get_options | (); |
CL_ResourceManager | get_manager | (); |
CL_ResourceData* | get_data | (const std::string& name); |
int | get_reference_count | () const; |
Signals: |
||
CL_Signal_v0& | sig_load_file | (); |
CL_Signal_v1<CL_InputSourceProvider* >& | sig_load_datafile | (); |
CL_Signal_v1<CL_OutputSourceProvider* >& | sig_save_datafile | (); |
CL_Signal_v0& | sig_unload | (); |
Operators: |
||
void | operator = | (const CL_Resource& copy); |
Operations: |
||
void | attach_data | (const std::string& name, CL_ResourceData* data); |
void | detach_data | (CL_ResourceData* data); |
void | unload | (); |
void | load | (); |
void | load_file | (); |
void | load_datafile | (CL_InputSourceProvider* input_provider); |
void | save_datafile | (CL_OutputSourceProvider* output_provider); |
Implementation: |
||
CL_Resource | (class CL_Resource_Generic* impl); | |