Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
TypedID_test Class Reference

Description

Test:
outline of an instance registration and accounting service. The service is self-contained and supports automatic registration and deregistration. The instance access is configurable on a per-type base.
  • create instances of an auto-registered type
  • verify the registration entries
  • re-access the instances just by symbolic ID
  • verify the registration is cleaned up automatically.
Todo:
partially unimplemented and thus commented out ////////////////////TICKET #599
See also
typed-id.hpp interface covered here
typed-lookup.cpp implementation

Definition at line 119 of file typed-id-test.cpp.

Private Member Functions

virtual void run (Arg)
 
void verifyAssetFrontend ()
 
void verifyAutomaticCleanup ()
 
void verifyInstanceAccess ()
 
void verifyRegistration ()
 

Static Private Member Functions

template<typename X >
static void show (X &o)
 

Member Function Documentation

virtual void run ( Arg  )
inlineprivatevirtual

Definition at line 123 of file typed-id-test.cpp.

References TypedID_test::verifyAssetFrontend(), TypedID_test::verifyAutomaticCleanup(), TypedID_test::verifyInstanceAccess(), and TypedID_test::verifyRegistration().

+ Here is the call graph for this function:

void verifyRegistration ( )
inlineprivate

Definition at line 133 of file typed-id-test.cpp.

References BareEntryID::getSym().

Referenced by TypedID_test::run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void verifyAssetFrontend ( )
inlineprivate

Definition at line 158 of file typed-id-test.cpp.

References util::for_each().

Referenced by TypedID_test::run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void show ( X &  o)
inlinestaticprivate

Definition at line 180 of file typed-id-test.cpp.

void verifyInstanceAccess ( )
inlineprivate

Definition at line 187 of file typed-id-test.cpp.

References util::for_each(), and VERIFY_ERROR.

Referenced by TypedID_test::run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void verifyAutomaticCleanup ( )
inlineprivate

Definition at line 222 of file typed-id-test.cpp.

References util::isnil().

Referenced by TypedID_test::run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

+ Inheritance diagram for TypedID_test:
+ Collaboration diagram for TypedID_test:

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