| THM1176InstrumentManager 1.2 Qt Object abstraction for Metrolab THM1176

Loading...
Searching...
No Matches
THM1176TestUtilities.cpp File Reference

Test THM1176 API: Utility functions. More...

`#include "THM1176TestUtilities.h"`
`#include "Helpers.h"`
`#include "Exception.h"`
Include dependency graph for THM1176TestUtilities.cpp:

Go to the source code of this file.

## Functions
bool | FetchTHM1176Resource (THM1176_TEST_RESOURCE_MANAGER_CLASS &rResourceManager, tResourceName &rTHM1176)
| Open a connection to the Resource Manager and find a THM1176.
bool | ConnectToTHM1176 (THM1176_TEST_RESOURCE_MANAGER_CLASS *&rpResourceManager, CTHM1176Instrument< THM1176_TEST_INSTRUMENT_CLASS, THM1176_TEST_RESOURCE_MANAGER_CLASS > *&rpTHM1176)
| Connect to a THM1176.

## Detailed Description

Test THM1176 API: Utility functions.

Definition in file THM1176TestUtilities.cpp.

## Function Documentation

## ◆ ConnectToTHM1176()

bool ConnectToTHM1176 | ( | THM1176_TEST_RESOURCE_MANAGER_CLASS *& | rpResourceManager,
|  | CTHM1176Instrument< THM1176_TEST_INSTRUMENT_CLASS, THM1176_TEST_RESOURCE_MANAGER_CLASS > *& | rpTHM1176 )

Connect to a THM1176.

Start Resource Manager, call FetchTHM1176Resource, create THM1176 object, and connect to THM1176.

Parameters

  [out] | rpResourceManager | Pointer to Resource Manager object.
  [out] | rpTHM1176 | Pointer to THM1176 object.

Returns
  True if successful.

Definition at line 41 of file THM1176TestUtilities.cpp.

## ◆ FetchTHM1176Resource()

bool FetchTHM1176Resource | ( | THM1176_TEST_RESOURCE_MANAGER_CLASS & | rResourceManager,
|  | tResourceName & | rTHM1176 )

Open a connection to the Resource Manager and find a THM1176.

Parameters

  [in] | rResourceManager | Resource Manager
  [out] | rTHM1176 | Resource name of first THM1176 found

Returns
  True if successful.

Definition at line 15 of file THM1176TestUtilities.cpp.