← Documentation
ADS-IDAC Engine 5.0.0
CommunicationComponentState.cpp
Go to the documentation of this file.
1// CommunicationComponentState.cpp: implementation of the CommunicationComponentState class.
2//
4
6#include <boost/serialization/export.hpp>
7#include <boost/archive/binary_oarchive.hpp>
8#include <boost/archive/binary_iarchive.hpp>
9BOOST_CLASS_EXPORT_IMPLEMENT(CommunicationComponentState)
10using namespace std;
11
13// Construction/Destruction
15
17{
19}
20
21CommunicationComponentState::CommunicationComponentState(int _sender, int _receiver) : Communication(_sender, _receiver)
22{
24}
25
27{
28
29}
30
32{
34}
35
37{
39}
40
42{
43 this->copyCommunication(_cm);
44 this->copyDisplayElement(_cm);
46}
47
48// Removed saveCommunicationComponentStateToFile and retrieveCommunicationComponentStateFromFile implementations
void copyCommunicationComponentState(CommunicationComponentState &)
void setTypeOfCommunication(int)
void copyCommunication(Communication &)
void copyDisplayElement(DisplayElement &)
constexpr int ComponentState
Definition: SimConstants.h:285