SmartTester  2.0.0
Smart Tester is unit testing and regression testing framework used for testing SmartCGMS system.
Public Member Functions | Static Public Member Functions | List of all members
GuidFileMapper Class Reference

#include <GuidFileMapper.h>

Public Member Functions

const wchar_t * getFileName (const GUID &guid)
 
std::map< GUID, const wchar_t * > getMap ()
 
 GuidFileMapper (GuidFileMapper const &)=delete
 
void operator= (GuidFileMapper const &)=delete
 

Static Public Member Functions

static GuidFileMapperGetInstance ()
 

Detailed Description

Singleton class used for mapping GUID to proper dynamic library file name. GuidFileMapper provides method to retrieve the map which you can pass GUID of filter to get the name of shared library that contains the implementation of that filter.

Member Function Documentation

◆ getFileName()

const wchar_t * GuidFileMapper::getFileName ( const GUID &  guid)

Returns the file name of shared library associated with given GUID.

Parameters
guidfilter GUID
Returns
name of shared library containing implementation of filter with given GUID

◆ GetInstance()

GuidFileMapper & GuidFileMapper::GetInstance ( )
static

Returns the instance of GuidFileMapper.

Returns
the instance of GuidFileMapper

◆ getMap()

std::map< GUID, const wchar_t * > GuidFileMapper::getMap ( )

Returns the map with mapped information. The map takes GUID as a key. If given key exists in this map, it returns mapped const wchar_t* as value.

Returns
map with mapped information

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