summaryrefslogtreecommitdiffstats
path: root/veslibrary/ves_cpplibrary/src/lib/encode/XFaultFields.cpp
blob: 84d63512743b2dbf2d0a142f58df4be7be706fa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "XFaultFields.h"
#include "XFaultFieldsImp.h"

std::shared_ptr<XFaultFields> vagt::encode::XFaultFields::create(std::shared_ptr<XCommonEventHeader> header, const XString & alarmCondition, const XString & specificProblem, XEnumFaultFieldsEventSourceType eventSourceType, XEnumFaultFieldsEventSeverity eventSeverity, XEnumFaultFieldsVfStatus vfStatus)
{
    return std::make_shared<XFaultFieldsImp>(header,
        alarmCondition,
        specificProblem,
        eventSourceType,
        eventSeverity,
        vfStatus
        );
}