TracedValueCallback tests to verify that they work with different types of classes - it tests bool, double, various types of integers types, Time, and SequenceNumber32. More...
#include "ns3/nstime.h"
#include "ns3/object.h"
#include "ns3/sequence-number.h"
#include "ns3/test.h"
#include "ns3/traced-value.h"
#include "ns3/type-id.h"
#include "ns3/type-name.h"
#include <type_traits>
Go to the source code of this file.
Classes | |
class | TracedValueCallbackTestCase::CheckTvCb< T > |
A class to check that the callback function typedef will actually connect to the TracedValue. More... | |
class | TracedValueCallbackTestCase |
TracedValueCallback Test Case. More... | |
class | TracedValueCallbackTestSuite |
TracedValueCallback TestSuite. More... | |
Namespaces | |
namespace | anonymous_namespace{traced-value-callback-typedef-test-suite.cc} |
Functions | |
template<typename T > | |
void | anonymous_namespace{traced-value-callback-typedef-test-suite.cc}::TracedValueCbSink (T oldValue, T newValue) |
Template for TracedValue sink functions. | |
template<> | |
void | anonymous_namespace{traced-value-callback-typedef-test-suite.cc}::TracedValueCbSink< SequenceNumber32 > (SequenceNumber32 oldValue, SequenceNumber32 newValue) |
TracedValueCbSink specialization for SequenceNumber32. | |
template<> | |
void | anonymous_namespace{traced-value-callback-typedef-test-suite.cc}::TracedValueCbSink< Time > (Time oldValue, Time newValue) |
TracedValueCbSink specialization for Time. | |
Variables | |
std::string | anonymous_namespace{traced-value-callback-typedef-test-suite.cc}::g_Result = "" |
Result of callback test. | |
static TracedValueCallbackTestSuite | tracedValueCallbackTestSuite |
Static variable for test initialization. | |
TracedValueCallback tests to verify that they work with different types of classes - it tests bool, double, various types of integers types, Time, and SequenceNumber32.
Definition in file traced-value-callback-typedef-test-suite.cc.
|
static |
Static variable for test initialization.
Definition at line 257 of file traced-value-callback-typedef-test-suite.cc.