A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
CallbackTestClass Class Reference

Derived class used to check the capability of callbacks to call public, protected, and private functions. More...

+ Inheritance diagram for CallbackTestClass:
+ Collaboration diagram for CallbackTestClass:

Public Member Functions

void CheckParentalRights ()
 Tries to make a callback to public and protected functions of a class.
 
void TestZero ()
 Test function - does nothing.
 
void TestOne (int)
 Test function - does nothing.
 
void TestTwo (int, int)
 Test function - does nothing.
 
void TestThree (int, int, int)
 Test function - does nothing.
 
void TestFour (int, int, int, int)
 Test function - does nothing.
 
void TestFive (int, int, int, int, int)
 Test function - does nothing.
 
void TestSix (int, int, int, int, int, int)
 Test function - does nothing.
 
void TestCZero () const
 Test function - does nothing.
 
void TestCOne (int) const
 Test function - does nothing.
 
void TestCTwo (int, int) const
 Test function - does nothing.
 
void TestCThree (int, int, int) const
 Test function - does nothing.
 
void TestCFour (int, int, int, int) const
 Test function - does nothing.
 
void TestCFive (int, int, int, int, int) const
 Test function - does nothing.
 
void TestCSix (int, int, int, int, int, int) const
 Test function - does nothing.
 
- Public Member Functions inherited from CallbackTestParent
void PublicParent ()
 A public function.
 

Additional Inherited Members

- Protected Member Functions inherited from CallbackTestParent
void ProtectedParent ()
 A protected function.
 
- Static Protected Member Functions inherited from CallbackTestParent
static void StaticProtectedParent ()
 A static protected function.
 

Detailed Description

Derived class used to check the capability of callbacks to call public, protected, and private functions.

Definition at line 1071 of file callback-test-suite.cc.

Member Function Documentation

◆ CheckParentalRights()

void CallbackTestClass::CheckParentalRights ( )
inline

Tries to make a callback to public and protected functions of a class.

Private are not tested because, as expected, the compilation fails.

Definition at line 1099 of file callback-test-suite.cc.

References ns3::MakeCallback(), CallbackTestParent::ProtectedParent(), CallbackTestParent::PublicParent(), and CallbackTestParent::StaticProtectedParent().

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TestCFive()

void CallbackTestClass::TestCFive ( int ,
int ,
int ,
int ,
int  ) const
inline

Test function - does nothing.

Definition at line 1090 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestCFour()

void CallbackTestClass::TestCFour ( int ,
int ,
int ,
int  ) const
inline

Test function - does nothing.

Definition at line 1089 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestCOne()

void CallbackTestClass::TestCOne ( int ) const
inline

Test function - does nothing.

Definition at line 1086 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestCSix()

void CallbackTestClass::TestCSix ( int ,
int ,
int ,
int ,
int ,
int  ) const
inline

Test function - does nothing.

Definition at line 1091 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestCThree()

void CallbackTestClass::TestCThree ( int ,
int ,
int  ) const
inline

Test function - does nothing.

Definition at line 1088 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestCTwo()

void CallbackTestClass::TestCTwo ( int ,
int  ) const
inline

Test function - does nothing.

Definition at line 1087 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestCZero()

void CallbackTestClass::TestCZero ( ) const
inline

Test function - does nothing.

Definition at line 1085 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestFive()

void CallbackTestClass::TestFive ( int ,
int ,
int ,
int ,
int  )
inline

Test function - does nothing.

Definition at line 1083 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestFour()

void CallbackTestClass::TestFour ( int ,
int ,
int ,
int  )
inline

Test function - does nothing.

Definition at line 1082 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestOne()

void CallbackTestClass::TestOne ( int )
inline

Test function - does nothing.

Definition at line 1079 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestSix()

void CallbackTestClass::TestSix ( int ,
int ,
int ,
int ,
int ,
int  )
inline

Test function - does nothing.

Definition at line 1084 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestThree()

void CallbackTestClass::TestThree ( int ,
int ,
int  )
inline

Test function - does nothing.

Definition at line 1081 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestTwo()

void CallbackTestClass::TestTwo ( int ,
int  )
inline

Test function - does nothing.

Definition at line 1080 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestZero()

void CallbackTestClass::TestZero ( )
inline

Test function - does nothing.

Definition at line 1078 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: