Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Classes

NameDescription
Geo::GeoAlignedFreeDestructor

A type for freeing objects using GEO_ALIGNED_FREE. This is for use in GeoAutoPtr.

Geo::GeoAutoArrayPtr

Given the lack of a template typedef, and how common it is to want a GeoAutoPtr with Array dtor, adding a new class to provide this destruction policy by default.

Geo::GeoAutoPtr

A value type to take ownership of a raw object allocated on the heap and bind its life-time to the scope of this class.

Geo::GeoAutoReleasePtr

Given the lack of a template typedef, and how common it is to want a GeoAutoPtr with Release dtor, adding a new class to provide this destruction policy by default.

Geo::GeoDelegateDestructor

A type for deleting objects of type T using specific delete function. This is for use in GeoAutoPtr.

Geo::GeoDeleteArrayDestructor

A type for deleting objects of type T using DeleteArray().

Geo::GeoDeleteDestructor

A type for deleting objects of type T using GEO_DELETE.

Geo::GeoFreeDestructor

A type for freeing objects using GEO_FREE. This is for use in GeoAutoPtr.

Geo::GeoInstanceCount
Geo::GeoIntrusivePtr

A value type to take ownership of a raw object allocated on the heap and handle calling AddRef() and Release().

Geo::GeoNoopDestructor

A type for not destroying anything.

Geo::GeoRefArrayPtr

Given the lack of a template typedef, and how common it is to want a GeoRefPtr with Array dtor, adding a new class to provide this destruction policy by default.

Geo::GeoRefCount

Base class for reference counted resources.

Geo::GeoRefPtr

A value type to take ownership of a raw object allocated on the heap and track a reference count between multiple instances of this class.

Geo::GeoRefReleasePtr

Given the lack of a template typedef, and how common it is to want a GeoRefPtr with Release dtor, adding a new class to provide this destruction policy by default.

Geo::GeoReleaseDestructor

A type for deleting objects of type T using Release(). This is for use in GeoAutoPtr.

Geo::GeoSingleton

Inherit from this class to add singleton behaviour to your class.

Variables

NameDescription
tClass * m_Singleton = NULL

Pointer to the singleton instance or NULL if not started.

Functions

NameDescription
Get()

Returns a pointer to the singleton instance.

IsAvailable()

Returns true if the singleton is available.

Start()

Setup the singleton instance.

Stop()

Release the singleton instance.


Anchor
aabdf9e4e0dd8c2c8e1f1dc3ebe532f11
aabdf9e4e0dd8c2c8e1f1dc3ebe532f11

tClass * Geo::GeoSingleton< tClass >::Get

...

public: tClass * Get()

...

Returns a pointer to the singleton instance.


Anchor
a8544559aa1f9d376753d1aef8baf1de6
a8544559aa1f9d376753d1aef8baf1de6

bool Geo::GeoSingleton< tClass >::IsAvailable

...

public: bool IsAvailable()

...

Returns true if the singleton is available.


Anchor
a16b72c3f5156496b63c45efc7cf6d211
a16b72c3f5156496b63c45efc7cf6d211

bool Geo::GeoSingleton< tClass >::Start

...

public: bool Start()

...

Setup the singleton instance.


Anchor
acfd9a98496840f08a3c50431cb54f805
acfd9a98496840f08a3c50431cb54f805

void Geo::GeoSingleton< tClass >::Stop

...

public: void Stop()

...

Release the singleton instance.