#include <app-decorator-trigger.h>
Static Public Member Functions | |
static Ptr< AppDecoratorTrigger > | New (Ptr< RapidNetApplicationBase > app, string name, string state, bool add, string targetAttr) |
Factory method to create a new object. |
static Ptr<AppDecoratorTrigger> ns3::rapidnet::AppLinkStateTrigger::New | ( | Ptr< RapidNetApplicationBase > | app, | |
string | name, | |||
string | state, | |||
bool | add, | |||
string | targetAttr | |||
) | [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 link state that is recorded. | |
add | If true, then the link state is added, removed otherwise. | |
targetAttr | The name of the attribute the value of which is used to determine the other node on the tuple. The value should be of Ipv4Value type. |