summaryrefslogtreecommitdiffstats
path: root/src/include/usr/initservice/initsvcudparserfactory.H
diff options
context:
space:
mode:
authorMike Jones <mjjones@us.ibm.com>2012-03-12 10:12:01 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-03-16 09:13:39 -0500
commit8a1168142bd3f273dbd4edf841c53a3ae394cd5e (patch)
tree94029d881fa5b89d186073859c7de2fd6dcdfcb8 /src/include/usr/initservice/initsvcudparserfactory.H
parentff8472f5e338d17194b5a1300b9553dd1ac3a241 (diff)
downloadtalos-hostboot-8a1168142bd3f273dbd4edf841c53a3ae394cd5e.tar.gz
talos-hostboot-8a1168142bd3f273dbd4edf841c53a3ae394cd5e.zip
ERRL: Ensure all Hostboot code uses ErrlUserDetails framework.
RTC: 36920 Change-Id: I82667c8e63e8a99b9cc7eb1dfbbbdbe1c3b2bb2a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/730 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/initservice/initsvcudparserfactory.H')
-rw-r--r--src/include/usr/initservice/initsvcudparserfactory.H69
1 files changed, 69 insertions, 0 deletions
diff --git a/src/include/usr/initservice/initsvcudparserfactory.H b/src/include/usr/initservice/initsvcudparserfactory.H
new file mode 100644
index 000000000..ea1178282
--- /dev/null
+++ b/src/include/usr/initservice/initsvcudparserfactory.H
@@ -0,0 +1,69 @@
+// IBM_PROLOG_BEGIN_TAG
+// This is an automatically generated prolog.
+//
+// $Source: src/include/usr/initservice/initsvcudparserfactory.H $
+//
+// IBM CONFIDENTIAL
+//
+// COPYRIGHT International Business Machines Corp. 2012
+//
+// p1
+//
+// Object Code Only (OCO) source materials
+// Licensed Internal Code Source Materials
+// IBM HostBoot Licensed Internal Code
+//
+// The source code for this program is not published or other-
+// wise divested of its trade secrets, irrespective of what has
+// been deposited with the U.S. Copyright Office.
+//
+// Origin: 30
+//
+// IBM_PROLOG_END
+#ifndef INITSVC_UDPARSERFACTORY_H
+#define INITSVC_UDPARSERFACTORY_H
+
+#ifdef PARSER
+
+/**
+ * @file initsvcudparserfactory.H
+ *
+ * Defines the InitSvcUserDetailsParserFactory.H class
+*/
+#include <initservice/initsvcudistep.H>
+#include <initservice/initsvcreasoncodes.H>
+#include <errl/errludparserfactory.H>
+
+namespace INITSERVICE
+{
+
+/**
+ * @class InitSvcUserDetailsParserFactory
+ *
+ * This factory produces ErrlUserDetailsParser objects to parse the specified
+ * InitService user detail data.
+*/
+class InitSvcUserDetailsParserFactory : public ERRORLOG::ErrlUserDetailsParserFactory
+{
+public:
+
+ /**
+ * @brief Constructor
+ */
+ InitSvcUserDetailsParserFactory()
+ {
+ registerParser<InitSvcUserDetailsParserIstep>(INIT_SVC_UDT_ISTEP);
+ }
+
+private:
+
+ // Disabled
+ InitSvcUserDetailsParserFactory(const InitSvcUserDetailsParserFactory &);
+ InitSvcUserDetailsParserFactory & operator=(
+ const InitSvcUserDetailsParserFactory &);
+};
+
+}
+
+#endif
+#endif
OpenPOWER on IntegriCloud