Spinning Topp Logo BlackTopp Studios
inc
Public Types | Static Public Member Functions | List of all members
Mezzanine::ReferenceCountTraits< UI::ChildSelectedArguments > Class Template Reference

This is a metaprogramming traits class used by ChildFocusEventArguments. More...

#include <pagedcontainer.h>

Public Types

enum  { IsCastable = CastStatic }
 Enum used to decide the type of casting to be used by a reference counter of the templated type.
 
typedef UI::ChildSelectedArguments RefCountType
 Typedef communicating the reference count type to be used.
 

Static Public Member Functions

static RefCountTypeConstructionPointer (RefCountType *Target)
 Method responsible for creating a reference count for a CountedPtr of the templated type. More...
 

Detailed Description

template<>
class Mezzanine::ReferenceCountTraits< UI::ChildSelectedArguments >

This is a metaprogramming traits class used by ChildFocusEventArguments.

This is need for an intrusive CountedPtr implementation. Should a working external reference count be made this could be dropped in favor of a leaner implementation.

Definition at line 94 of file pagedcontainer.h.

Member Function Documentation

static RefCountType* Mezzanine::ReferenceCountTraits< UI::ChildSelectedArguments >::ConstructionPointer ( RefCountType Target)
inlinestatic

Method responsible for creating a reference count for a CountedPtr of the templated type.

Parameters
TargetA pointer to the target class that is to be reference counted.
Returns
Returns a pointer to a new reference counter for the templated type.

Definition at line 103 of file pagedcontainer.h.


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