summaryrefslogtreecommitdiff
path: root/cesar/maximus/phy/src/PhySciMsgNoise.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/maximus/phy/src/PhySciMsgNoise.cpp')
-rw-r--r--cesar/maximus/phy/src/PhySciMsgNoise.cpp86
1 files changed, 86 insertions, 0 deletions
diff --git a/cesar/maximus/phy/src/PhySciMsgNoise.cpp b/cesar/maximus/phy/src/PhySciMsgNoise.cpp
new file mode 100644
index 0000000000..eb57ccb2a1
--- /dev/null
+++ b/cesar/maximus/phy/src/PhySciMsgNoise.cpp
@@ -0,0 +1,86 @@
+
+#include "PhySciMsgNoise.h"
+#include "IPhy.h"
+
+#include "Error.h"
+#include "Logger.h"
+
+// for 'getpid()'
+#include <sys/types.h>
+#include <unistd.h>
+
+using namespace std;
+
+
+// Constructors/Destructors
+//
+
+
+PhySciMsgNoise::PhySciMsgNoise ( IPhy * p_phy ) : PhySciMsg ( p_phy )
+{
+ logFunction();
+
+ initAttributes ();
+}
+
+
+void PhySciMsgNoise::initAttributes ( )
+{
+ logFunction();
+
+ // Set PHY SCI message type
+ PhySciMsg::setSpecializedSciMsgType(PHY_TYPE_NOISE);
+}
+
+
+PhySciMsgNoise::~PhySciMsgNoise ( )
+{
+ logFunction();
+}
+
+
+//
+// Methods
+//
+
+
+// Other methods
+//
+
+
+// public methods
+//
+
+
+bool PhySciMsgNoise::prepare ( )
+{
+ logFunction();
+
+ // Set flags
+ return PhySciMsg::setFlags(PHY_FLAG_CRC_OK);
+}
+
+
+// private methods
+//
+
+
+// protected methods
+//
+
+
+// Accessor methods
+//
+
+
+// public attribute accessor methods
+//
+
+
+// private attribute accessor methods
+//
+
+
+// protected attribute accessor methods
+//
+