CppMicroServices

C++ Micro Services: TrackedTypeTraits< S, T * > Struct Template Reference
TrackedTypeTraits< S, T * > Struct Template Reference

Default type traits for custom tracked objects of pointer type. More...

Inheritance diagram for TrackedTypeTraits< S, T * >:
Collaboration diagram for TrackedTypeTraits< S, T * >:

Public Types

typedef T * TrackedType
 
- Public Types inherited from TrackedTypeTraitsBase< T *, TrackedTypeTraits< S, T * > >
typedef T * TrackedType
 

Static Public Member Functions

static bool IsValid (const TrackedType &t)
 
static TrackedType DefaultValue ()
 
static void Dispose (TrackedType &t)
 
- Static Public Member Functions inherited from TrackedTypeTraitsBase< T *, TrackedTypeTraits< S, T * > >
static TrackedType ConvertToTrackedType (const InterfaceMap &)
 
static TrackedType ConvertToTrackedType (void *)
 

Detailed Description

template<class S, class T>
struct TrackedTypeTraits< S, T * >

Default type traits for custom tracked objects of pointer type.

Use this tracked type traits template for custom tracked objects of pointer type with the ServiceTracker class.

Template Parameters
SThe type of the service being tracked.
TThe type of the tracked object.

Member Typedef Documentation

template<class S , class T >
typedef T* TrackedTypeTraits< S, T * >::TrackedType

Member Function Documentation

template<class S , class T >
static TrackedType TrackedTypeTraits< S, T * >::DefaultValue ( )
inlinestatic
template<class S , class T >
static void TrackedTypeTraits< S, T * >::Dispose ( TrackedType t)
inlinestatic
template<class S , class T >
static bool TrackedTypeTraits< S, T * >::IsValid ( const TrackedType t)
inlinestatic