← Documentation
ADS-IDAC Engine 5.0.0
CommunicationComponentState Class Reference

#include <CommunicationComponentState.h>

Inheritance diagram for CommunicationComponentState:
[legend]
Collaboration diagram for CommunicationComponentState:
[legend]

Public Member Functions

 CommunicationComponentState ()
 
 CommunicationComponentState (int, int)
 
virtual ~CommunicationComponentState ()
 
void setCommunicatedComponentState (int)
 
int getCommunicatedComponentState ()
 
void copyCommunicationComponentState (CommunicationComponentState &)
 
- Public Member Functions inherited from Communication
 Communication ()
 
 Communication (int, int)
 
virtual ~Communication ()
 
void setSender (int)
 
void setTypeOfCommunication (int)
 
void setTypeOfPauseActivity (int)
 
void setIntendedReceiver (int)
 
void setTimeOfCommunication (double)
 
void setSenderAndReceiver (int, int)
 
void setCommunicationPriority (int)
 
int getSender ()
 
int getIntendedReceiver ()
 
int getTypeOfCommunication ()
 
int getTypeOfPauseActivity ()
 
double getTimeOfCommunication ()
 
int getCommunicationPriority ()
 
void copyCommunication (Communication &)
 
void saveCommunicationToFile (std::ofstream &)
 
void retrieveCommunicationFromFile (std::ifstream &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
- Public Member Functions inherited from DisplayElement
 DisplayElement ()
 
virtual ~DisplayElement ()
 
void setDisplayName (std::string)
 
void setCorrespondingSystemName (std::string)
 
void setCorrespondingSystemParameterName (std::string)
 
void setTimeRequiredForCheckingThisDisplay (double)
 
void setCorrespondingSystemParameterUnit (std::string)
 
std::string getCorrespondingSystemName ()
 
std::string getCorrespondingSystemParameterName ()
 
double getTimeRequiredForCheckingThisDisplay ()
 
std::string getCorrespondingSystemParameterUnit ()
 
std::string getDisplayName ()
 
void readInfoFromFile (std::ifstream &)
 
void readInfoFromFileWithoutDisplayName (std::ifstream &)
 
void copyDisplayElement (DisplayElement &)
 
void saveDisplayElementToFile (std::ofstream &)
 
void retrieveDisplayElementFromFile (std::ifstream &)
 
bool checkIfIsIdenticalDisplayElement (DisplayElement &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

int communicated_component_state
 

Friends

class boost::serialization::access
 

Detailed Description

Definition at line 17 of file CommunicationComponentState.h.

Constructor & Destructor Documentation

◆ CommunicationComponentState() [1/2]

CommunicationComponentState::CommunicationComponentState ( )

Definition at line 16 of file CommunicationComponentState.cpp.

References sim::Comm::ComponentState, and Communication::setTypeOfCommunication().

Here is the call graph for this function:

◆ CommunicationComponentState() [2/2]

CommunicationComponentState::CommunicationComponentState ( int  _sender,
int  _receiver 
)

Definition at line 21 of file CommunicationComponentState.cpp.

References sim::Comm::ComponentState, and Communication::setTypeOfCommunication().

Here is the call graph for this function:

◆ ~CommunicationComponentState()

CommunicationComponentState::~CommunicationComponentState ( )
virtual

Definition at line 26 of file CommunicationComponentState.cpp.

Member Function Documentation

◆ copyCommunicationComponentState()

void CommunicationComponentState::copyCommunicationComponentState ( CommunicationComponentState &  _cm)

Definition at line 41 of file CommunicationComponentState.cpp.

References communicated_component_state, Communication::copyCommunication(), DisplayElement::copyDisplayElement(), and getCommunicatedComponentState().

Here is the call graph for this function:

◆ getCommunicatedComponentState()

int CommunicationComponentState::getCommunicatedComponentState ( )

Definition at line 36 of file CommunicationComponentState.cpp.

References communicated_component_state.

Referenced by copyCommunicationComponentState().

Here is the caller graph for this function:

◆ serialize()

template<class Archive >
void CommunicationComponentState::serialize ( Archive &  ar,
const unsigned int  version 
)
inlineprivate

Definition at line 37 of file CommunicationComponentState.h.

References communicated_component_state.

◆ setCommunicatedComponentState()

void CommunicationComponentState::setCommunicatedComponentState ( int  n)

Definition at line 31 of file CommunicationComponentState.cpp.

References communicated_component_state.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 33 of file CommunicationComponentState.h.

Member Data Documentation

◆ communicated_component_state

int CommunicationComponentState::communicated_component_state
private

The documentation for this class was generated from the following files: