A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
queue-fwd.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Universita' degli Studi di Napoli Federico II
3 *
4 * SPDX-License-Identifier: GPL-2.0-only
5 */
6
7#ifndef QUEUE_FWD_H
8#define QUEUE_FWD_H
9
10#include "ns3/ptr.h"
11
12#include <list>
13
14/**
15 * \file
16 * \ingroup queue
17 * Forward declaration of template class Queue.
18 */
19
20namespace ns3
21{
22
23// Forward declaration of template class Queue specifying
24// the default value for the template template parameter Container
25template <typename Item, typename Container = std::list<Ptr<Item>>>
26class Queue;
27
28} // namespace ns3
29
30#endif /* QUEUE_FWD_H */
Every class exported by the ns3 library is enclosed in the ns3 namespace.