diff options
author | Henri Herscher <henri@oreka.org> | 2006-06-30 19:39:27 +0000 |
---|---|---|
committer | Henri Herscher <henri@oreka.org> | 2006-06-30 19:39:27 +0000 |
commit | 868a99733ddb6a44f660f4aab9089fd619f38cfa (patch) | |
tree | 487309e2706b8389bc8985283c5d29334343bf7e /orkaudio/messages/TestMsg.cpp | |
parent | 3868172df25ae59bd0ecc524b782ac4734812891 (diff) |
Moved more stuff to orkbasecxx
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@287 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/messages/TestMsg.cpp')
-rw-r--r-- | orkaudio/messages/TestMsg.cpp | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/orkaudio/messages/TestMsg.cpp b/orkaudio/messages/TestMsg.cpp deleted file mode 100644 index 68e2f3e..0000000 --- a/orkaudio/messages/TestMsg.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Oreka -- A media capture and retrieval platform - * - * Copyright (C) 2005, orecx LLC - * - * http://www.orecx.com - * - * This program is free software, distributed under the terms of - * the GNU General Public License. - * Please refer to http://www.gnu.org/copyleft/gpl.html - * - */ - -#include "Utils.h" -#include "TestMsg.h" - -TestMsg::TestMsg() -{ - // Here is where default values are set - m_timestamp = 0; -} - -void TestMsg::Define(Serializer* s) -{ - CStdString testMessageName("test"); - s->StringValue("test", testMessageName, true); - s->StringValue(STAGE_PARAM, m_stage, true); - s->StringValue(CAPTURE_PORT_PARAM, m_capturePort, true); - s->IntValue(TIMESTAMP_PARAM, (int&)m_timestamp, true); - s->StringValue(FILENAME_PARAM, m_fileName, true); - - s->StringValue(LOCALPARTY_PARAM, m_localParty); - s->StringValue(LOCALENTRYPOINT_PARAM, m_localEntryPoint); - s->StringValue(REMOTEPARTY_PARAM, m_remoteParty); - s->StringValue(DIRECTION_PARAM, m_direction); - s->CsvValue("csv", m_csv); - s->DateValue("date", m_time); -} - -void TestMsg::Validate() -{ -} - -CStdString TestMsg::GetClassName() -{ - return CStdString("test"); -} - -ObjectRef TestMsg::NewInstance() -{ - return ObjectRef(new TestMsg); -} - |