git-svn-id: svn://db.shs.com.ru/pip@972 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -623,7 +623,7 @@ public:
|
|||||||
// / Raise events
|
// / Raise events
|
||||||
static void raiseEvent(PIObject * sender, const uint eventID) {
|
static void raiseEvent(PIObject * sender, const uint eventID) {
|
||||||
for (int j = 0; j < sender->connections.size_s(); ++j) {
|
for (int j = 0; j < sender->connections.size_s(); ++j) {
|
||||||
__Connection & i(sender->connections[j]);
|
__Connection i(sender->connections[j]);
|
||||||
if (i.eventID != eventID) continue;
|
if (i.eventID != eventID) continue;
|
||||||
#ifdef PIP_CXX11_SUPPORT
|
#ifdef PIP_CXX11_SUPPORT
|
||||||
if (i.functor) {
|
if (i.functor) {
|
||||||
@@ -649,7 +649,7 @@ public:
|
|||||||
template <typename T0>
|
template <typename T0>
|
||||||
static void raiseEvent(PIObject * sender, const uint eventID, const T0 & v0 = T0()) {
|
static void raiseEvent(PIObject * sender, const uint eventID, const T0 & v0 = T0()) {
|
||||||
for (int j = 0; j < sender->connections.size_s(); ++j) {
|
for (int j = 0; j < sender->connections.size_s(); ++j) {
|
||||||
__Connection & i(sender->connections[j]);
|
__Connection i(sender->connections[j]);
|
||||||
if (i.eventID != eventID) continue;
|
if (i.eventID != eventID) continue;
|
||||||
#ifdef PIP_CXX11_SUPPORT
|
#ifdef PIP_CXX11_SUPPORT
|
||||||
if (i.functor) {
|
if (i.functor) {
|
||||||
@@ -677,7 +677,7 @@ public:
|
|||||||
template <typename T0, typename T1>
|
template <typename T0, typename T1>
|
||||||
static void raiseEvent(PIObject * sender, const uint eventID, const T0 & v0 = T0(), const T1 & v1 = T1()) {
|
static void raiseEvent(PIObject * sender, const uint eventID, const T0 & v0 = T0(), const T1 & v1 = T1()) {
|
||||||
for (int j = 0; j < sender->connections.size_s(); ++j) {
|
for (int j = 0; j < sender->connections.size_s(); ++j) {
|
||||||
__Connection & i(sender->connections[j]);
|
__Connection i(sender->connections[j]);
|
||||||
if (i.eventID != eventID) continue;
|
if (i.eventID != eventID) continue;
|
||||||
#ifdef PIP_CXX11_SUPPORT
|
#ifdef PIP_CXX11_SUPPORT
|
||||||
if (i.functor) {
|
if (i.functor) {
|
||||||
@@ -709,7 +709,7 @@ public:
|
|||||||
template <typename T0, typename T1, typename T2>
|
template <typename T0, typename T1, typename T2>
|
||||||
static void raiseEvent(PIObject * sender, const uint eventID, const T0 & v0 = T0(), const T1 & v1 = T1(), const T2 & v2 = T2()) {
|
static void raiseEvent(PIObject * sender, const uint eventID, const T0 & v0 = T0(), const T1 & v1 = T1(), const T2 & v2 = T2()) {
|
||||||
for (int j = 0; j < sender->connections.size_s(); ++j) {
|
for (int j = 0; j < sender->connections.size_s(); ++j) {
|
||||||
__Connection & i(sender->connections[j]);
|
__Connection i(sender->connections[j]);
|
||||||
if (i.eventID != eventID) continue;
|
if (i.eventID != eventID) continue;
|
||||||
#ifdef PIP_CXX11_SUPPORT
|
#ifdef PIP_CXX11_SUPPORT
|
||||||
if (i.functor) {
|
if (i.functor) {
|
||||||
@@ -743,7 +743,7 @@ public:
|
|||||||
template <typename T0, typename T1, typename T2, typename T3>
|
template <typename T0, typename T1, typename T2, typename T3>
|
||||||
static void raiseEvent(PIObject * sender, const uint eventID, const T0 & v0 = T0(), const T1 & v1 = T1(), const T2 & v2 = T2(), const T3 & v3 = T3()) {
|
static void raiseEvent(PIObject * sender, const uint eventID, const T0 & v0 = T0(), const T1 & v1 = T1(), const T2 & v2 = T2(), const T3 & v3 = T3()) {
|
||||||
for (int j = 0; j < sender->connections.size_s(); ++j) {
|
for (int j = 0; j < sender->connections.size_s(); ++j) {
|
||||||
__Connection & i(sender->connections[j]);
|
__Connection i(sender->connections[j]);
|
||||||
if (i.eventID != eventID) continue;
|
if (i.eventID != eventID) continue;
|
||||||
#ifdef PIP_CXX11_SUPPORT
|
#ifdef PIP_CXX11_SUPPORT
|
||||||
if (i.functor) {
|
if (i.functor) {
|
||||||
|
|||||||
Reference in New Issue
Block a user