-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaodvugd_nodes_pings_task.h
52 lines (41 loc) · 1.58 KB
/
aodvugd_nodes_pings_task.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/************************************************************************
** This file is part of the network simulator Shawn. **
** Copyright (C) 2004-2007 by the SwarmNet (www.swarmnet.de) project **
** Shawn is free software; you can redistribute it and/or modify it **
** under the terms of the BSD License. Refer to the shawn-licence.txt **
** file in the root of the Shawn source tree for further details. **
************************************************************************/
#ifndef __SHAWN_LEGACYAPPS_AODVUGD_NODES_PINGS_TASK_H
#define __SHAWN_LEGACYAPPS_AODVUGD_NODES_PINGS_TASK_H
#include "_apps_enable_cmake.h"
#ifdef ENABLE_AODVUGD
#include "sys/simulation/simulation_controller.h"
#include "sys/simulation/simulation_task.h"
namespace aodvugd
{
class NodesPingsTask
: public shawn::SimulationTask
{
public:
NodesPingsTask();
virtual ~NodesPingsTask();
virtual std::string name( void ) const throw();
virtual std::string description( void ) const throw();
virtual void run( shawn::SimulationController& sc )
throw( std::runtime_error );
};
// ----------------------------------------------------------------------
class NodesChangeNameTask
: public shawn::SimulationTask
{
public:
NodesChangeNameTask();
virtual ~NodesChangeNameTask();
virtual std::string name( void ) const throw();
virtual std::string description( void ) const throw();
virtual void run( shawn::SimulationController& sc )
throw( std::runtime_error );
};
}
#endif
#endif