OMNeT++ Parallel Simulation Support  6.0.3
cnosynchronization.h
1 //=========================================================================
2 // CNOSYNCHRONIZATION.H - part of
3 //
4 // OMNeT++/OMNEST
5 // Discrete System Simulation in C++
6 //
7 //=========================================================================
8 
9 /*--------------------------------------------------------------*
10  Copyright (C) 1992-2017 Andras Varga
11  Copyright (C) 2006-2017 OpenSim Ltd.
12 
13  This file is distributed WITHOUT ANY WARRANTY. See the file
14  `license' for details on this and other legal matters.
15 *--------------------------------------------------------------*/
16 
17 #ifndef __OMNETPP_NOSYNCHRONIZATION_H
18 #define __OMNETPP_NOSYNCHRONIZATION_H
19 
20 #include "omnetpp/cfutureeventset.h"
21 #include "cparsimprotocolbase.h"
22 
23 namespace omnetpp {
24 
25 class cCommBuffer;
26 
37 {
38  public:
43 
47  virtual ~cNoSynchronization() {}
48 
52  virtual void startRun() override;
53 
57  virtual void endRun() override;
58 
65  virtual cEvent *takeNextEvent() override;
66 
70  virtual void putBackEvent(cEvent *event) override;
71 };
72 
73 } // namespace omnetpp
74 
75 
76 #endif
77 
omnetpp::cEvent
omnetpp::cNoSynchronization::~cNoSynchronization
virtual ~cNoSynchronization()
Definition: cnosynchronization.h:47
omnetpp::cNoSynchronization
"Dummy" implementation – just pass messages between partitions, without any synchronization....
Definition: cnosynchronization.h:36
omnetpp::cParsimProtocolBase
Contains utility functions for implementing parallel simulation protocols.
Definition: cparsimprotocolbase.h:32
omnetpp::cNoSynchronization::cNoSynchronization
cNoSynchronization()
Definition: cnosynchronization.h:42