← Documentation
ADS-IDAC Engine 5.0.0
CommunicationParameterState Class Reference

#include <CommunicationParameterState.h>

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

Public Member Functions

 CommunicationParameterState ()
 
 CommunicationParameterState (int, int)
 
virtual ~CommunicationParameterState ()
 
void setCommunicatedParameterState (int)
 
int getCommunicatedParameterState ()
 
void copyCommunicationParameterState (CommunicationParameterState &)
 
void saveCommunicationParameterStateToFile (std::ofstream &)
 
void retrieveCommunicationParameterStateFromFile (std::ifstream &)
 
- 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 Attributes

int communicated_parameter_state
 

Detailed Description

Definition at line 10 of file CommunicationParameterState.h.

Constructor & Destructor Documentation

◆ CommunicationParameterState() [1/2]

CommunicationParameterState::CommunicationParameterState ( )

Definition at line 12 of file CommunicationParameterState.cpp.

References communicated_parameter_state, sim::None, sim::Comm::ParameterState, and Communication::setTypeOfCommunication().

Here is the call graph for this function:

◆ CommunicationParameterState() [2/2]

CommunicationParameterState::CommunicationParameterState ( int  _sender,
int  _receiver 
)

Definition at line 17 of file CommunicationParameterState.cpp.

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

Here is the call graph for this function:

◆ ~CommunicationParameterState()

CommunicationParameterState::~CommunicationParameterState ( )
virtual

Definition at line 22 of file CommunicationParameterState.cpp.

Member Function Documentation

◆ copyCommunicationParameterState()

void CommunicationParameterState::copyCommunicationParameterState ( CommunicationParameterState &  _cc)

Definition at line 28 of file CommunicationParameterState.cpp.

References communicated_parameter_state, Communication::copyCommunication(), DisplayElement::copyDisplayElement(), and getCommunicatedParameterState().

Here is the call graph for this function:

◆ getCommunicatedParameterState()

int CommunicationParameterState::getCommunicatedParameterState ( )

Definition at line 27 of file CommunicationParameterState.cpp.

References communicated_parameter_state.

Referenced by copyCommunicationParameterState().

Here is the caller graph for this function:

◆ retrieveCommunicationParameterStateFromFile()

void CommunicationParameterState::retrieveCommunicationParameterStateFromFile ( std::ifstream &  )

Definition at line 38 of file CommunicationParameterState.cpp.

References communicated_parameter_state, Communication::retrieveCommunicationFromFile(), and DisplayElement::retrieveDisplayElementFromFile().

Here is the call graph for this function:

◆ saveCommunicationParameterStateToFile()

void CommunicationParameterState::saveCommunicationParameterStateToFile ( std::ofstream &  )

Definition at line 33 of file CommunicationParameterState.cpp.

References communicated_parameter_state, Communication::saveCommunicationToFile(), and DisplayElement::saveDisplayElementToFile().

Here is the call graph for this function:

◆ setCommunicatedParameterState()

void CommunicationParameterState::setCommunicatedParameterState ( int  n)

Definition at line 26 of file CommunicationParameterState.cpp.

References communicated_parameter_state.

Member Data Documentation

◆ communicated_parameter_state


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