Embedded Systems
testpont.txt
Associated article: Building a Testpoint Framework
Tags: Database Tools Embedded Systems
Published source code accompanying the article by Noam Cohen in which he presents a framework for creating and using testpoints. He originally designed and implemented this framework while developing VideoClick, a video distribution and management system. Also see TESTPONT.ZIP.
Building a Testpoint Framework
by Noam Cohen
Listing One
interface IDataSink
{
Write(void* buff, UINT buffSize);
}
Listing Two
Connect_Source_And_Filter:
pDownStream = pDataFilter;
pTpm = GetTpm();
if(pTpm->IsActive( UUID_TP1))
{
pHandler = pTpm->GetHandler(UUID_TP1);
if(NULL != ...


