Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* Helper Class for handling Participant Information
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Malte Diers, NLE, 2019-07-11
|
||||
*/
|
||||
|
||||
#include "participantinformation.h"
|
||||
#include <ParticipantManagement/ppm.hpp>
|
||||
|
||||
namespace HighLevelArchitecture {
|
||||
|
||||
ParticipantInformation::ParticipantInformation(const ParticipantManagement::Participant &participant,
|
||||
const TypeStruct &_typestruct,
|
||||
const ParticipantPosition &_position)
|
||||
: participantId(participant.id())
|
||||
, equipmentNo(participant.equipmentNumber().is_set() ? participant.equipmentNumber().get() : 0)
|
||||
, partyId(participant.partyId())
|
||||
, parentId(participant.superiorId())
|
||||
, typeStruct(_typestruct)
|
||||
, designator(QString::fromStdString(participant.designator()))
|
||||
, position(_position)
|
||||
{}
|
||||
|
||||
} // Namespace HLA
|
||||
Reference in new issue
Block a user