Changeset 11081


Ignore:
Timestamp:
06/20/11 16:36:13 (13 years ago)
Author:
tbretz
Message:
Added preliminary interface for g_port.sockDef
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/EventBuilderWrapper.h

    r11013 r11081  
    844844    int  GetNumConnected(int i) const { return gi_NumConnect[i]; }
    845845
     846    void SetIgnore(int i, bool b) const { if (g_port[i].sockDef>=0) g_port[i].sockDef=b?0:1; }
     847    bool IsIgnored(int i) const { return g_port[i].sockDef==0; }
     848
    846849    size_t GetUsedMemory() const { return gi_usedMem; }
    847850
Note: See TracChangeset for help on using the changeset viewer.