#include "ns3/ptr.h"
#include "ns3/object.h"
#include <iostream>
Go to the source code of this file.
Classes | |
class | PtrExample |
Functions | |
static void | ClearPtr (void) |
int | main (int argc, char *argv[]) |
static Ptr< PtrExample > | StorePtr (Ptr< PtrExample > p) |
Variables | |
static Ptr< PtrExample > | g_ptr = 0 |
|
static |
Definition at line 40 of file main-ptr.cc.
References g_ptr.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 47 of file main-ptr.cc.
References ClearPtr(), ns3::GetPointer(), PtrExample::Method(), NS_ASSERT, StorePtr(), and ns3::SimpleRefCount< T, PARENT, DELETER >::Unref().
|
static |
Definition at line 32 of file main-ptr.cc.
References g_ptr.
Referenced by main().
|
static |
Definition at line 29 of file main-ptr.cc.
Referenced by ClearPtr(), and StorePtr().