Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1157)

Unified Diff: src/nist/model/nist-sl-disc-preconfig-pool-factory.h

Issue 326890043: Public Safety Communication modeling tools based on ns-3
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/nist/model/nist-sl-disc-preconfig-pool-factory.h
===================================================================
new file mode 100644
--- /dev/null
+++ b/src/nist/model/nist-sl-disc-preconfig-pool-factory.h
@@ -0,0 +1,50 @@
+/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * This software was developed at the National Institute of Standards and
+ * Technology by employees of the Federal Government in the course of
+ * their official duties. Pursuant to titleElement 17 Section 105 of the United
+ * States Code this software is not subject to copyright protection and
+ * is in the public domain.
+ * NIST assumes no responsibility whatsoever for its use by other parties,
+ * and makes no guarantees, expressed or implied, about its quality,
+ * reliability, or any other characteristic.
+
+ * We would appreciate acknowledgement if the software is used.
+
+ * NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND
+ * DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING
+ * FROM THE USE OF THIS SOFTWARE.
+ *
+ * Modified by: NIST
+ */
+
+#ifndef NIST_SL_DISC_PRECONFIG_POOL_FACTORY_H
+#define NIST_SL_DISC_PRECONFIG_POOL_FACTORY_H
+
+#include "nist-lte-rrc-sap.h"
+#include "nist-sl-disc-resource-pool-factory.h"
+
+namespace ns3 {
+/**
+ * Sidelink discovery preconfigured pool factory
+ */
+class NistSlDiscPreconfigPoolFactory : public NistSlDiscResourcePoolFactory
+{
+public:
+
+ /**
+ * Create a preconfigured discovery pool
+ */
+ NistSlDiscPreconfigPoolFactory ();
+
+ /**
+ * Set the preconfigured discovery pool
+ */
+ NistLteRrcSap::SlPreconfigDiscPool ConfigPool ();
+private:
+ NistLteRrcSap::SlPreconfigDiscPool m_pool;
+};
+
+} // namespace ns3
+
+#endif

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b