A Discrete-Event Network Simulator
API
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 (void)
 Tries to make a callback to public and protected functions of a class. More...
 
void TestZero (void)
 Test function - does nothing. More...
 
void TestOne (int)
 Test function - does nothing. More...
 
void TestTwo (int, int)
 Test function - does nothing. More...
 
void TestThree (int, int, int)
 Test function - does nothing. More...
 
void TestFour (int, int, int, int)
 Test function - does nothing. More...
 
void TestFive (int, int, int, int, int)
 Test function - does nothing. More...
 
void TestSix (int, int, int, int, int, int)
 Test function - does nothing. More...
 
void TestCZero (void) const
 Test function - does nothing. More...
 
void TestCOne (int) const
 Test function - does nothing. More...
 
void TestCTwo (int, int) const
 Test function - does nothing. More...
 
void TestCThree (int, int, int) const
 Test function - does nothing. More...
 
void TestCFour (int, int, int, int) const
 Test function - does nothing. More...
 
void TestCFive (int, int, int, int, int) const
 Test function - does nothing. More...
 
void TestCSix (int, int, int, int, int, int) const
 Test function - does nothing. More...
 
- Public Member Functions inherited from CallbackTestParent
void PublicParent (void)
 A public function. More...
 

Additional Inherited Members

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

Detailed Description

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

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

Member Function Documentation

◆ CheckParentalRights()

void CallbackTestClass::CheckParentalRights ( void  )
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 850 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 841 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 840 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 837 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 842 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 839 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 838 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestCZero()

void CallbackTestClass::TestCZero ( void  ) const
inline

Test function - does nothing.

Definition at line 836 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 834 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 833 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 830 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 835 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 832 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 831 of file callback-test-suite.cc.

Referenced by MakeCallbackTemplatesTestCase::DoRun().

+ Here is the caller graph for this function:

◆ TestZero()

void CallbackTestClass::TestZero ( void  )
inline

Test function - does nothing.

Definition at line 829 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: