Click here to Skip to main content
15,892,298 members
Articles / High Performance Computing

HPC Template Library, A Supplement to the STL

Rate me:
Please Sign up or sign in to vote.
4.88/5 (11 votes)
15 Dec 2017MIT3 min read 38.3K   1.3K   39  
The HPC Template Library is a supplement to the Standard Template Library providing threadsafe containers.
/*
The High Performance Template Library is a Licensed as LGPL.
It is intended to provide a base object Testitecture, with
Serialization, thread control, etc.  
It is based on a merger of QT, BOOST, STL, and SigSlots.
License information is in the HtlLicense.h file
October 2012
*/


#pragma once
//HtlDB BASE Test NODE TYPE
#ifndef HTL_TEST_THREAD_MODULE_H
#define HTL_TEST_THREAD_MODULE_H

#include "modHtlGlobal.h"
#include "modHtlMacro.h"
#include "modHtlTest.h"


//TEMPORARILY HAS STD::VECTOR UNTIL HTL vector1D class is written
#include <vector>
#include <string>
using namespace std;
using namespace HTL;
//Htl BASE TYPE DEFINITION
//Htl Base is a minimalistic struct that allows for strong typing
namespace HTLTest

{

	class HtlTestModuleThread : public HtlTestNode
	{
	public:
		HtlTestModuleThread();
		HtlTestModuleThread(HtlTestNode* ptrParent);
		virtual ~HtlTestModuleThread();

		//Test Node virtual operations functions
		//!  Setup the Test Objects
		virtual int SetupTest(void);
		//!  Perform any test pre-processing
		virtual int PreProcessTest(void);
		//! Run the actual test suite for this node.  CAN involve other sub test nodes
		virtual int RunTest(void);
		virtual int PostProcessTest(void);
		virtual int ClearTest(void);

	private:

		//debug printer for printing out results
		HTL::HtlDebugPrinter m_objDebug;
	};
//OBJECT FACTORY REGISTRATION CODE
	static bool blnHtlTestModuleThread_Registered = HTL::GetTestFactoryPtr()->Register<HtlTestModuleThread>("HtlTestModuleThread");
};
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions