WaitSet.cpp File Reference

#include "DCPS/DdsDcps_pch.h"
#include "WaitSet.h"
#include "ConditionImpl.h"
#include "Qos_Helper.h"
#include "ace/OS_NS_sys_time.h"

Include dependency graph for WaitSet.cpp:

Go to the source code of this file.

Namespaces

namespace  DDS

Functions

void copyInto (DDS::ConditionSeq &target, const DDS::WaitSet::ConditionSet &source)


Function Documentation

void @74::copyInto ( DDS::ConditionSeq target,
const DDS::WaitSet::ConditionSet &  source 
) [static]

Definition at line 17 of file WaitSet.cpp.

Referenced by DDS::WaitSet::get_conditions(), and DDS::WaitSet::wait().

00019 {
00020   size_t size = source.size();
00021   target.length(static_cast<CORBA::ULong>(size));
00022   CORBA::ULong index = 0;
00023 
00024   for (DDS::WaitSet::ConditionSet::const_iterator iter = source.begin(),
00025        end = source.end(); iter != end; ++iter, ++index) {
00026     target[index] = *iter;
00027   }
00028 }


Generated on Fri Feb 12 20:05:52 2016 for OpenDDS by  doxygen 1.4.7