Simulant  21.12-574
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | List of all members
smlt::Binary Class Reference
Inheritance diagram for smlt::Binary:
smlt::Asset smlt::RefCounted< Binary > smlt::generic::Identifiable< BinaryID > smlt::Nameable smlt::TwoPhaseConstructed

Public Member Functions

 Binary (BinaryID id, AssetManager *asset_manager, const std::vector< uint8_t > &&data)
 
const uint8_t * data () const
 
std::size_t data_size_in_bytes () const
 
- Public Member Functions inherited from smlt::Asset
 Asset (AssetManager *manager)
 
AssetManagerasset_manager ()
 
const AssetManagerasset_manager () const
 
int age () const
 
void set_garbage_collection_method (GarbageCollectMethod method)
 
- Public Member Functions inherited from smlt::Nameable
void set_name (const std::string &name)
 
const std::string & name () const
 
bool has_name () const
 
- Public Member Functions inherited from smlt::TwoPhaseConstructed
virtual bool init ()
 
virtual void clean_up ()
 
- Public Member Functions inherited from smlt::generic::Identifiable< BinaryID >
 Identifiable (BinaryID id)
 
BinaryID id () const
 
virtual bool operator== (const Identifiable< BinaryID > &rhs) const
 
virtual bool operator< (const Identifiable< BinaryID > &rhs) const
 
void _bind_id_pointer (ResourceTypePtr ptr)
 
void _overwrite_id (BinaryID new_id)
 

Additional Inherited Members

- Public Types inherited from smlt::RefCounted< Binary >
typedef std::shared_ptr< Binaryptr
 
typedef std::weak_ptr< Binarywptr
 
- Public Types inherited from smlt::generic::Identifiable< BinaryID >
typedef BinaryID id_type
 
- Static Public Member Functions inherited from smlt::RefCounted< Binary >
static RefCounted< Binary >::ptr create (Args &&... args)
 
static RefCounted< Binary >::ptr create ()
 
- Public Attributes inherited from smlt::Asset
Property< generic::DataCarrier Asset::* > data = {this, &Asset::data_}
 
- Protected Member Functions inherited from smlt::Asset
 Asset (const Asset &rhs)
 
Assetoperator= (const Asset &rhs)
 
- Protected Member Functions inherited from smlt::RefCounted< Binary >
 RefCounted (Args &&...)
 

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