git-svn-id: svn://db.shs.com.ru/pip@756 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -1210,6 +1210,14 @@ PIConnection::Extractor::~Extractor() {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
PIConnection::Sender::Sender(PIConnection * parent_): parent(parent_), int_(0.f) {
|
||||
setName("__S__.PIConnection.Sender");
|
||||
needLockRun(true);
|
||||
}
|
||||
|
||||
|
||||
void PIConnection::Sender::tick(void * , int) {
|
||||
if (parent == 0) return;
|
||||
PIByteArray data;
|
||||
@@ -1225,6 +1233,8 @@ void PIConnection::Sender::tick(void * , int) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void PIConnection::unboundExtractor(PIPacketExtractor * pe) {
|
||||
if (pe == 0) return;
|
||||
channels_.remove(pe);
|
||||
|
||||
@@ -383,7 +383,7 @@ private:
|
||||
class PIP_EXPORT Sender: public PITimer {
|
||||
PIOBJECT_SUBCLASS(Sender, PIObject)
|
||||
public:
|
||||
Sender(PIConnection * parent_ = 0): parent(parent_), int_(0.f) {needLockRun(true);}
|
||||
Sender(PIConnection * parent_ = 0);
|
||||
~Sender() {stop();}
|
||||
PIConnection * parent;
|
||||
PIVector<PIIODevice * > devices;
|
||||
|
||||
@@ -206,6 +206,8 @@ public:
|
||||
//! \}
|
||||
|
||||
private:
|
||||
NO_COPY_CLASS(PIDiagnostics)
|
||||
|
||||
struct Entry {
|
||||
Entry() {bytes_ok = bytes_fail = 0; cnt_ok = cnt_fail = 0; empty = true;}
|
||||
ullong bytes_ok;
|
||||
|
||||
Reference in New Issue
Block a user