#include <app-decorator-trigger.h>
Static Public Member Functions | |
static Ptr< AppDecoratorTrigger > | New (Ptr< RapidNetApplicationBase > app, string name, string state, bool add) |
Factory method to create a new object. |
static Ptr<AppDecoratorTrigger> ns3::rapidnet::AppNodeStateTrigger::New | ( | Ptr< RapidNetApplicationBase > | app, | |
string | name, | |||
string | state, | |||
bool | add | |||
) | [static] |
Factory method to create a new object.
app | Associated RapidNet application. | |
name | Name of the tuple that triggers the event. | |
state | Name of the node state that is recorded. | |
add | If true, then the node state is added, removed otherwise. |