Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages
Distributed Real-time Embedded Analysis Method - DREAM - class reference.
0.7 beta version
Coding conventions
There are a few coding conventions which you should follow when working on this project:- Comment ALL classes, variables and functions in header files. Comment cpp files as you feel necessary. Use the following Doxygen format for header files:
/** The first sentence is the summary.
* Now we explain the behavior in greater detail.
*/ - Do not use using namespace. Use the namespace prefixes:
std::cout << "Great!";
instead of
using namespace std;
cout << "Please don't."; - Use the appropriate DREAM namespace. If you want to create a new namespace please consult with the project administrator first.
- Variable and function names should not contain large letters. Use _ as a separator if you need to:
node_map instead of NodeMap or nodeMap - Class names should not use _ as a separator. Use large letters for concatenated words:
FixedPriorityScheduler instead of Fixed_Priority_Scheduler - Append an _ after all class member variables.
class Node{
private:
int wcet_;
}