You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CodingConventions.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ underMenu: Development
8
8
9
9
We know that indentation style is a personal matter but the codebase needs to look consistent, so please adhere to the conventions below.
10
10
11
-
* Bracket style: largely Stroustrup (Egyptian braces), except for classes, functions and the like where we prefer to place the opening braces on a new line
11
+
* Bracket style: largely Stroustrup (Egyptian braces), except for classes, functions, and the like where we prefer to place the opening braces on a new line
12
12
* 4-space indentation, NO TAB CHARACTERS, no trailing spaces
13
13
* Do not align variable names in declaration blocks or multi-line function declarations. They are hard to maintain,
14
14
and look awkward when very short and very long type names are mixed (e.g. `int` vs `const std::vector<SomeVeryLongTypeName>&`).
@@ -23,11 +23,11 @@ Choose *OMNeT++* as your code style. Pressing <kbd>Ctrl+Shift+F</kbd> will refor
23
23
24
24
## Naming Convention
25
25
26
-
Rules for variable names, function names, class names and other identifiers.
26
+
Rules for variable names, function names, class names, and other identifiers.
27
27
28
28
* Use camel case
29
-
* Variables and functions start with lower case
30
-
* Types start with upper case
29
+
* Variables and functions start with lowercase
30
+
* Types start with uppercase
31
31
* Constants and enum values are capitalized, with underscore as word separator
32
32
* Don't abbreviate (too much)
33
33
* Function names start with a verb
@@ -53,14 +53,14 @@ Consistent layout of class declarations throughout the project helps maintainers
53
53
54
54
## Functions
55
55
56
-
Misnamed and "kitchen-sink" functions are unfortunately quite common, and make the code hard to follow and reason about. Here's what you can do:
56
+
Misnamed and "kitchen-sink" functions are unfortunately quite common and make the code hard to follow and reason about. Here's what you can do:
57
57
58
58
* Functions should be focused (i.e. do one thing only), and the name should reflect the purpose
59
59
* Try to minimize side effects (modify class members and other non-local state as little as possible)
60
-
* If you cannot find an accurate name for it, it is a strong indicator that the function should not exist in that form (e.g. needs to be split up, or the code organized in a different way)
60
+
* If you cannot find an accurate name for it, it is a strong indicator that the function should not exist in that form (e.g. needs to be split up or the code organized in a different way)
61
61
* If it has a side effect, the name should reflect that (e.g. *get* methods must not modify state)
62
62
* Local variables should be declared close to their use, in the smallest scope possible (i.e. not C-style, at the top of the function)
63
-
* Commenting: we prefer breaking up the function body into logical blocks, and adding a `//` comment above each block to document its intended *purpose*
63
+
* Commenting: we prefer breaking up the function body into logical blocks and adding a `//` comment above each block to document its intended *purpose*
Copy file name to clipboardExpand all lines: CommunityCoordinators.md
+11-13Lines changed: 11 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,22 +16,20 @@ We see two general directions:
16
16
17
17
## Improve Publicity
18
18
19
-
We'd like to have more, more up to date, and higher quality information to be available about the INET Framework.
19
+
We'd like to have more, more up-to-date, and higher quality information available about the INET Framework.
20
20
21
-
*keep the INET web site up to date with new information
22
-
*regularly collect progress information from INET developers/contributors, and disseminate it over various channels (mailing list, twitter, etc.)
23
-
*collect and organize teaching materials
24
-
*collect third-party tutorials, demos, related projects
21
+
*Keep the INET website up-to-date with new information
22
+
*Regularly collect progress information from INET developers/contributors and disseminate it over various channels (mailing list, Twitter, etc.)
23
+
*Collect and organize teaching materials
24
+
*Collect third-party tutorials, demos, and related projects
25
25
26
26
## Harness the Potential of the Community
27
27
28
-
We see a great potential in the user community of the INET Framework. We have several people in the community with extensive knowledge on specific areas of computer networks, and there are many who are willing to contribute to INET as an open-source project. We'd like to achieve that people who have the knowledge and willingness to contribute to INET have an easier job to find ways to connect.
28
+
We see great potential in the user community of the INET Framework. We have several people in the community with extensive knowledge in specific areas of computer networks, and there are many who are willing to contribute to INET as an open-source project. We'd like to make it easier for people with knowledge and willingness to contribute to INET to find ways to connect.
29
29
30
-
* find [advisors](ComponentAdvisors.html) for various INET components
31
-
* collect feedback on issues and priorities of the user community
32
-
* look for potential contributions (third-party projects, papers with INET-based simulations, etc.)
33
-
* collect and advertise masters thesis topics that could result in contributions
34
-
* work out and operate a bounty system
35
-
36
-
Tools: email, web, social media
30
+
* Find [advisors](ComponentAdvisors.html) for various INET components
31
+
* Collect feedback on issues and priorities of the user community
32
+
* Look for potential contributions (third-party projects, papers with INET-based simulations, etc.)
33
+
* Collect and advertise master's thesis topics that could result in contributions
Copy file name to clipboardExpand all lines: DocumentationGuidelines.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,25 +8,25 @@ We maintain documentation in the following forms:
8
8
9
9
***INET Framework User's Guide** is meant to provide information for users who want to assemble new models from pre-existing components. It provides an overview of the components and architecture of the framework.
10
10
***INET Framework Developer's Guide** is meant to provide information for the developers who intend to extend INET with new components, written in C++.
11
-
***INET Reference**, built from NED and C++ source, provides cross-linked, browsable reference information about the modules and classes of the implementation
11
+
***INET Reference**, built from NED and C++ source, provides cross-linked, browsable reference information about the modules and classes of the implementation.
12
12
13
13
The following auxiliary files are managed by the core INET maintainers:
14
14
15
-
***ChangeLogs**. Every source folder contains a `ChangeLog` file in a fixed format. ChangeLogs exist so that users can get a highlevel overview of the history of that component. It is usually derived from the git log by heavy editing for conciseness and clarity, e.g. by combining a series of related commit messages into a single change summary. (The git log is often too detailed and contains too much "noise" for end-user consumption.)
16
-
***WHATSNEW** (in the project root directory) is updated before each release, and contains a summary of changes in the whole framework.
15
+
***ChangeLogs**. Every source folder contains a `ChangeLog` file in a fixed format. ChangeLogs exist so that users can get a high-level overview of the history of that component. It is usually derived from the git log by heavy editing for conciseness and clarity, e.g. by combining a series of related commit messages into a single change summary. (The git log is often too detailed and contains too much "noise" for end-user consumption.)
16
+
***WHATSNEW** (in the project root directory) is updated before each release and contains a summary of changes in the whole framework.
17
17
***AUTHORS** (in the project root directory) records the names of those who contributed to the project. The [Contributors](/Contributors.html) page should always contain a mirror of this file.
18
18
19
19
## INET User's Guide and Developer's Guide
20
20
21
21
Technically:
22
22
23
23
* Sources are in the repository under [doc/src/users-guide][2] and [doc/src/developers-guide][3], in RestructuredText.
24
-
* PDF and/or HTML are built by the release manager for each release
24
+
* PDF and/or HTML are built by the release manager for each release.
25
25
26
26
Content and level of detail:
27
27
28
-
* The purpose of the User's Guide is to provide an overview of INET, and provide high-level information about every implemented protocol model or component, potentially including practical advice on how to use them or combine them with other models.
29
-
* The purpose of the Developer's Guide is to help users and contributors who want to understand the internal architechure and mechanisms of INET, and wish to extend it with new components, written in C++.
28
+
* The purpose of the User's Guide is to provide an overview of INET and provide high-level information about every implemented protocol model or component, potentially including practical advice on how to use them or combine them with other models.
29
+
* The purpose of the Developer's Guide is to help users and contributors who want to understand the internal architecture and mechanisms of INET and wish to extend it with new components, written in C++.
30
30
* Must not duplicate information in protocol standards, in the INET Reference, etc.
31
31
32
32
If you wish to contribute, please check the **Authors Guide** chapters in both documents to see what kind of content is expected before writing anything.
@@ -39,7 +39,7 @@ NED documentation:
39
39
40
40
* We use explicit hyperlinks, i.e. the tilde notation is necessary to create a hyperlink to other modules. Examples: `the ~TCP module` (hyperlinks the TCP module), but: `the TCP protocol` (no hyperlink).
41
41
* NED comments document the external interface: purpose, standards compliance, parametrization, gates, etc.
42
-
* Provide a reference to the protocol specification, and also describe what parts of the specification are implemented and what parts are missing.
42
+
* Provide a reference to the protocol specification and also describe what parts of the specification are implemented and what parts are missing.
Copy file name to clipboardExpand all lines: Extensions.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,11 @@ There are several INET-based model frameworks, maintained by independent researc
10
10
11
11
*[Veins](http://veins.car2x.org/){:target="_blank"} is an open source Inter-Vehicular Communication (IVC) simulation framework composed of an event-based network simulator and a road traffic microsimulation model.
12
12
13
-
*[SimuLTE](http://github.com/inet-framework/simulte){:target="_blank"} is LTE user plane simulation model, with eNodeB and UE models.
13
+
*[SimuLTE](http://github.com/inet-framework/simulte){:target="_blank"} is an LTE user plane simulation model, with eNodeB and UE models.
14
14
15
-
*[INETMANET](http://github.com/aarizaq/inetmanet-2.0){:target="_blank"} is fork of INET with experimental features related to mobile and ad-hoc networks.
15
+
*[INETMANET](http://github.com/aarizaq/inetmanet-2.0){:target="_blank"} is a fork of INET with experimental features related to mobile and ad-hoc networks.
16
16
17
-
*[MiXiM](https://github.com/omnetpp/mixim){:target="_blank"} is not an INET extension, but an independent OMNeT++ modeling framework that focuses on the wireless physical, data link and networ layers. MiXiM can be used together with INET. Newer versions of INET (from 2.99.0 up) have the features of MiXiM, and much of the MiXiM code integrated.
17
+
*[MiXiM](https://github.com/omnetpp/mixim){:target="_blank"} is not an INET extension, but an independent OMNeT++ modeling framework that focuses on the wireless physical, data link and network layers. MiXiM can be used together with INET. Newer versions of INET (from 2.99.0 up) have the features of MiXiM, and much of the MiXiM code integrated.
18
18
19
19
* The [Vehicular Networks and Distributed Control Systems](http://vehicular.omnetpp.org){:target="_blank"} page lists extensions related to the automotive industry.
0 commit comments