4.06.2013 - Version 0.3.4 - PIOBJECT() macro, ethernet improvement, documentation based on Doxygen
This commit is contained in:
5
pipeer.h
5
pipeer.h
@@ -22,8 +22,9 @@
|
||||
|
||||
#include "piethernet.h"
|
||||
|
||||
class PIPeer: public PIEthernet
|
||||
class PIP_EXPORT PIPeer: public PIEthernet
|
||||
{
|
||||
PIOBJECT(PIPeer)
|
||||
struct PeerInfo;
|
||||
friend PIByteArray & operator <<(PIByteArray & s, const PIPeer::PeerInfo & v);
|
||||
friend PIByteArray & operator >>(PIByteArray & s, PIPeer::PeerInfo & v);
|
||||
@@ -37,7 +38,7 @@ protected:
|
||||
bool threadedRead(uchar * readed, int size);
|
||||
|
||||
private:
|
||||
EVENT_HANDLER2(PIPeer, void, timerEvent, void * , data, int, delim);
|
||||
EVENT_HANDLER2(void, timerEvent, void * , data, int, delim);
|
||||
static bool func_readed(void * peer, uchar * data, int size);
|
||||
|
||||
struct PeerInfo {
|
||||
|
||||
Reference in New Issue
Block a user