Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: RTno/OutPort.h
- Revision:
- 0:a70ea71286b6
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/RTno/OutPort.h Fri Jul 29 11:20:55 2011 +0000
@@ -0,0 +1,43 @@
+#ifndef OUTPORT_HEADER_INCLUDED
+#define OUTPORT_HEADER_INCLUDED
+
+/*******************************************
+ * OutPort.h
+ * @author Yuki Suga
+ * @copyright Yuki Suga (ysuga.net) Nov, 10th, 2010.
+ * @license LGPLv3
+ *****************************************/
+
+#include "OutPortBase.h"
+
+class OutPort : public OutPortBase
+{
+ private:
+ // void* m_pData;
+
+ public:
+ OutPort(char* name, TimedBoolean& pData);
+ OutPort(char* name, TimedChar& pData);
+ OutPort(char* name, TimedOctet& pData);
+
+ OutPort(char* name, TimedLong& pData);
+ OutPort(char* name, TimedFloat& pData);
+ OutPort(char* name, TimedDouble& pData);
+
+ OutPort(char* name, TimedBooleanSeq& pData);
+ OutPort(char* name, TimedCharSeq& pData);
+ OutPort(char* name, TimedOctetSeq& pData);
+
+ OutPort(char* name, TimedLongSeq& pData);
+ OutPort(char* name, TimedFloatSeq& pData);
+ OutPort(char* name, TimedDoubleSeq& pData);
+
+ ~OutPort();
+
+ public:
+ int SizeofData();
+ int write();
+};
+
+
+#endif