Skip to content

Commit

Permalink
Miscellaneous corrections: Queue gates made @Loose to enable substitu…
Browse files Browse the repository at this point in the history
…tion with a GatedQueue in satellite nodes without omnetpp complaining
  • Loading branch information
Paolo Fittipaldi committed Jul 4, 2024
1 parent 4cfbfff commit b61b3d4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion quisp/modules/Common/GatedQueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class GatedQueue : public Queue {
private:
bool pending_vcr = false;
};

Define_Module(GatedQueue);
} // namespace quisp::modules

#endif
2 changes: 1 addition & 1 deletion quisp/modules/Common/GatedQueue.ned
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

package modules.Common;
@namespace(quisp::modules);

simple GatedQueue extends Queue
{
Expand Down
6 changes: 3 additions & 3 deletions quisp/modules/Common/Queue.ned
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ simple Queue
// @statistic[txBytes](title="transmitting packet byte length"; unit=bytes; record=vector?,count,sum,histogram; interpolationmode=none);
// @statistic[rxBytes](title="received packet byte length"; unit=bytes; record=vector?,count,sum,histogram; interpolationmode=none);
gates:
input in;
output out;
inout line;
input in @loose;
output out @loose;
inout line @loose;
}
6 changes: 3 additions & 3 deletions quisp/modules/Satellite/PointingSystem.ned
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ simple PointingSystem
{
parameters:
string name = "VisChecker";
double orbital_period @unit(s);// = default(6s);
double vis_start_coeff;
double vis_end_coeff;
double orbital_period @unit(s) = default(1d);
// double vis_start_coeff = default(0);
// double vis_end_coeff = default(1);
@class(PointingSystem);
gates:
input req;
Expand Down

0 comments on commit b61b3d4

Please sign in to comment.