VR-Link API Documentation for HLA 1516
The ReflectedTest class

ReflectedTest performs similar tasks for incoming objects.

In addition to the testStateRep() and tsr() functions, the class provides type-specific versions of the list management functions next(), prev(), wrapNext(), and wrapPrev(), and of the post update callback registration functions.

This class is derived from DtReflectedObject in refTest.h and refTest.cxx. The implementations of these functions are trivial, in most cases calling down to base class versions, and performing a cast between a specific and a general type.


/*********************************************************************
** Copyright (c) 1992-2010 VT MAK
** All rights reserved.
*********************************************************************/
#pragma once
#if DtHLA
#include "testSR.h"
typedef void (*TestCallbackFunction)(ReflectedTest* obj, void* userData);
{
public:
virtual ~ReflectedTest();
virtual TestStateRepository* tsr() const;
virtual ReflectedTest* next() const;
virtual ReflectedTest* prev() const;
virtual ReflectedTest* wrapNext() const;
virtual ReflectedTest* wrapPrev() const;
virtual void addPostUpdateCallback(
TestCallbackFunction cb, void* userData);
TestCallbackFunction cb, void* userData);
};
#endif

/*********************************************************************
** Copyright (c) 1992-2010 VT MAK
** All rights reserved.
*********************************************************************/
#if DtHLA
#include "refTest.h"
#include "testDec.h"
{
setHlaObject(obj, new TestDecoder(conn, &obj->classDesc()));
}
{
}
{
}
{
}
{
}
{
}
{
}
{
}
TestCallbackFunction cb, void* userData)
{
}
TestCallbackFunction cb, void* userData)
{
}
#endif

Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)