added connectionState

This commit is contained in:
Marty Kraimer
2014-08-25 06:23:52 -04:00
parent 887b453bac
commit f2bbec36ef
3 changed files with 15 additions and 4 deletions

View File

@ -4,7 +4,7 @@
* in file LICENSE that is included with this distribution.
*/
/*
* ntnameValueTest.cpp
* ntmutiChannelTest.cpp
*
* Created on: 2014.08
* Author: Marty Kraimer
@ -103,6 +103,8 @@ static void test()
PVIntArrayPtr pvSeverity = multiChannel->getSeverity();
pvSeverity->replace(freeze(severities));
if(debug) {cout << *pvStructure << endl;}
PVBooleanArrayPtr pvIsConnected = multiChannel->getIsConnected();
shared_vector<const boolean> isConnected = pvIsConnected->view();
multiChannel = builder->
addValue(unionPtr) ->
addDescriptor()->