Nebula
Loading...
Searching...
No Matches
Base::GameContentServerBase Class Reference

#include <gamecontentserverbase.h>

Detailed Description

The game content server initializes access to game content on console platforms.

The GameContentServer must be created by the main thread before the first IoServer is created.

Inherits Core::RefCounted.

Public Member Functions

 GameContentServerBase ()
 constructor
 
virtual ~GameContentServerBase ()
 destructor
 
void SetTitle (const Util::String &title)
 set human readable game title
 
const Util::StringGetTitle () const
 get human readable game title
 
void SetTitleId (const Util::String &titleId)
 set title id
 
const Util::StringGetTitleId () const
 get title id
 
void SetVersion (const Util::String &version)
 set title version
 
const Util::StringGetVersion () const
 get title version
 
void Setup ()
 setup the object
 
void Discard ()
 discard the object
 
bool IsValid () const
 return true if object has been setup
 
- Public Member Functions inherited from Core::RefCounted
 RefCounted ()
 constructor
 
int GetRefCount () const
 get the current refcount
 
void AddRef ()
 increment refcount by one
 
void Release ()
 decrement refcount and destroy object if refcount is zero
 
bool IsInstanceOf (const Rtti &rtti) const
 return true if this object is instance of given class
 
bool IsInstanceOf (const Util::String &className) const
 return true if this object is instance of given class by string
 
bool IsInstanceOf (const Util::FourCC &classFourCC) const
 return true if this object is instance of given class by fourcc
 
bool IsA (const Rtti &rtti) const
 return true if this object is instance of given class, or a derived class
 
bool IsA (const Util::String &rttiName) const
 return true if this object is instance of given class, or a derived class, by string
 
bool IsA (const Util::FourCC &rttiFourCC) const
 return true if this object is instance of given class, or a derived class, by fourcc
 
const Util::StringGetClassName () const
 get the class name
 
Util::FourCC GetClassFourCC () const
 get the class FourCC code
 

Protected Attributes

Util::String title
 
Util::String titleId
 
Util::String version
 
bool isValid
 

Private Member Functions

 __DeclareClass (GameContentServerBase)
 
 __DeclareInterfaceSingleton (GameContentServerBase)
 

Additional Inherited Members

- Static Public Member Functions inherited from Core::RefCounted
static void DumpRefCountingLeaks ()
 dump refcounting leaks, call at end of application (NEBULA_DEBUG builds only!)
 
- Protected Member Functions inherited from Core::RefCounted
virtual ~RefCounted ()
 destructor (called when refcount reaches zero)
 

Constructor & Destructor Documentation

◆ GameContentServerBase()

Base::GameContentServerBase::GameContentServerBase ( )

constructor

◆ ~GameContentServerBase()

Base::GameContentServerBase::~GameContentServerBase ( )
virtual

destructor

Member Function Documentation

◆ __DeclareClass()

Base::GameContentServerBase::__DeclareClass ( GameContentServerBase )
private

◆ __DeclareInterfaceSingleton()

Base::GameContentServerBase::__DeclareInterfaceSingleton ( GameContentServerBase )
private

◆ Discard()

void Base::GameContentServerBase::Discard ( )

discard the object

◆ GetTitle()

const Util::String & Base::GameContentServerBase::GetTitle ( ) const
inline

get human readable game title

◆ GetTitleId()

const Util::String & Base::GameContentServerBase::GetTitleId ( ) const
inline

get title id

◆ GetVersion()

const Util::String & Base::GameContentServerBase::GetVersion ( ) const
inline

get title version

◆ IsValid()

bool Base::GameContentServerBase::IsValid ( ) const
inline

return true if object has been setup

◆ SetTitle()

void Base::GameContentServerBase::SetTitle ( const Util::String & title)
inline

set human readable game title

◆ SetTitleId()

void Base::GameContentServerBase::SetTitleId ( const Util::String & titleId)
inline

set title id

◆ Setup()

void Base::GameContentServerBase::Setup ( )

setup the object

◆ SetVersion()

void Base::GameContentServerBase::SetVersion ( const Util::String & version)
inline

set title version

Member Data Documentation

◆ isValid

bool Base::GameContentServerBase::isValid
protected

◆ title

Util::String Base::GameContentServerBase::title
protected

◆ titleId

Util::String Base::GameContentServerBase::titleId
protected

◆ version

Util::String Base::GameContentServerBase::version
protected

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