summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/operations/TestAMDI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/operations/TestAMDI.cpp')
-rw-r--r--cpp/test/Ice/operations/TestAMDI.cpp276
1 files changed, 138 insertions, 138 deletions
diff --git a/cpp/test/Ice/operations/TestAMDI.cpp b/cpp/test/Ice/operations/TestAMDI.cpp
index 5c45abfd016..d7c5ceff2c0 100644
--- a/cpp/test/Ice/operations/TestAMDI.cpp
+++ b/cpp/test/Ice/operations/TestAMDI.cpp
@@ -76,7 +76,7 @@ class Thread_opVoid : public IceUtil::Thread
{
public:
- Thread_opVoid(function<void ()> response) :
+ Thread_opVoid(function<void()> response) :
_response(move(response))
{
}
@@ -88,12 +88,12 @@ public:
private:
- function<void ()> _response;
+ function<void()> _response;
};
void
-MyDerivedClassI::shutdownAsync(function<void ()> response,
- function<void (exception_ptr)>,
+MyDerivedClassI::shutdownAsync(function<void()> response,
+ function<void(exception_ptr)>,
const Ice::Current& current)
{
{
@@ -110,8 +110,8 @@ MyDerivedClassI::shutdownAsync(function<void ()> response,
}
void
-MyDerivedClassI::delayAsync(Ice::Int ms, function<void ()> response,
- function<void (exception_ptr)>,
+MyDerivedClassI::delayAsync(Ice::Int ms, function<void()> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
IceUtil::ThreadControl::sleep(IceUtil::Time::milliSeconds(ms));
@@ -119,8 +119,8 @@ MyDerivedClassI::delayAsync(Ice::Int ms, function<void ()> response,
}
void
-MyDerivedClassI::opVoidAsync(function<void ()> response,
- function<void (exception_ptr)>,
+MyDerivedClassI::opVoidAsync(function<void()> response,
+ function<void(exception_ptr)>,
const Ice::Current& current)
{
test(current.mode == OperationMode::Normal);
@@ -140,8 +140,8 @@ MyDerivedClassI::opVoidAsync(function<void ()> response,
void
MyDerivedClassI::opByteAsync(Ice::Byte p1,
Ice::Byte p2,
- function<void (Ice::Byte, Ice::Byte)> response,
- function<void (exception_ptr)>,
+ function<void(Ice::Byte, Ice::Byte)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(p1, p1 ^ p2);
@@ -150,8 +150,8 @@ MyDerivedClassI::opByteAsync(Ice::Byte p1,
void
MyDerivedClassI::opBoolAsync(bool p1,
bool p2,
- function<void (bool, bool)> response,
- function<void (exception_ptr)>,
+ function<void(bool, bool)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(p2, p1);
@@ -162,8 +162,8 @@ void
MyDerivedClassI::opShortIntLongAsync(short p1,
int p2,
long long int p3,
- function<void (long long int, short, int, long long int)> response,
- function<void (exception_ptr)>,
+ function<void(long long int, short, int, long long int)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(p3, p1, p2, p3);
@@ -173,8 +173,8 @@ MyDerivedClassI::opShortIntLongAsync(short p1,
void
MyDerivedClassI::opFloatDoubleAsync(float p1,
double p2,
- function<void (double, float, double)> response,
- function<void (exception_ptr)>,
+ function<void(double, float, double)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(p2, p1, p2);
@@ -183,8 +183,8 @@ MyDerivedClassI::opFloatDoubleAsync(float p1,
void
MyDerivedClassI::opStringAsync(string p1,
string p2,
- function<void (const string&, const string&)> response,
- function<void (exception_ptr)>,
+ function<void(const string&, const string&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(p1 + " " + p2, p2 + " " + p1);
@@ -193,8 +193,8 @@ MyDerivedClassI::opStringAsync(string p1,
void
MyDerivedClassI::opMyEnumAsync(Test::MyEnum p1,
- function<void (Test::MyEnum, Test::MyEnum)> response,
- function<void (exception_ptr)>,
+ function<void(Test::MyEnum, Test::MyEnum)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(MyEnum::enum3, p1);
@@ -202,10 +202,10 @@ MyDerivedClassI::opMyEnumAsync(Test::MyEnum p1,
void
MyDerivedClassI::opMyClassAsync(shared_ptr<Test::MyClassPrx> p1,
- function<void (const shared_ptr<Test::MyClassPrx>&,
+ function<void(const shared_ptr<Test::MyClassPrx>&,
const shared_ptr<Test::MyClassPrx>&,
const shared_ptr<Test::MyClassPrx>&)> response,
- function<void (exception_ptr)>,
+ function<void(exception_ptr)>,
const Ice::Current& current)
{
auto p2 = p1;
@@ -217,8 +217,8 @@ MyDerivedClassI::opMyClassAsync(shared_ptr<Test::MyClassPrx> p1,
void
MyDerivedClassI::opStructAsync(Test::Structure p1,
Test::Structure p2,
- function<void (const Test::Structure&, const Test::Structure&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::Structure&, const Test::Structure&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::Structure p3 = p1;
@@ -229,8 +229,8 @@ MyDerivedClassI::opStructAsync(Test::Structure p1,
void
MyDerivedClassI::opByteSAsync(Test::ByteS p1,
Test::ByteS p2,
- function<void (const Test::ByteS&, const Test::ByteS&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::ByteS&, const Test::ByteS&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::ByteS p3;
@@ -244,8 +244,8 @@ MyDerivedClassI::opByteSAsync(Test::ByteS p1,
void
MyDerivedClassI::opBoolSAsync(Test::BoolS p1,
Test::BoolS p2,
- function<void (const Test::BoolS&, const Test::BoolS&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::BoolS&, const Test::BoolS&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::BoolS p3 = p1;
@@ -260,11 +260,11 @@ void
MyDerivedClassI::opShortIntLongSAsync(Test::ShortS p1,
Test::IntS p2,
Test::LongS p3,
- function<void (const Test::LongS&,
+ function<void(const Test::LongS&,
const Test::ShortS&,
const Test::IntS&,
const Test::LongS&)> response,
- function<void (exception_ptr)>,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::ShortS p4 = p1;
@@ -279,10 +279,10 @@ MyDerivedClassI::opShortIntLongSAsync(Test::ShortS p1,
void
MyDerivedClassI::opFloatDoubleSAsync(Test::FloatS p1,
Test::DoubleS p2,
- function<void (const Test::DoubleS&,
+ function<void(const Test::DoubleS&,
const Test::FloatS&,
const Test::DoubleS&)> response,
- function<void (exception_ptr)>,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::FloatS p3 = p1;
@@ -297,8 +297,8 @@ MyDerivedClassI::opFloatDoubleSAsync(Test::FloatS p1,
void
MyDerivedClassI::opStringSAsync(Test::StringS p1,
Test::StringS p2,
- function<void (const Test::StringS&, const Test::StringS&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::StringS&, const Test::StringS&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::StringS p3 = p1;
@@ -312,8 +312,8 @@ MyDerivedClassI::opStringSAsync(Test::StringS p1,
void
MyDerivedClassI::opByteSSAsync(Test::ByteSS p1,
Test::ByteSS p2,
- function<void (const Test::ByteSS&, const Test::ByteSS&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::ByteSS&, const Test::ByteSS&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::ByteSS p3;
@@ -327,8 +327,8 @@ MyDerivedClassI::opByteSSAsync(Test::ByteSS p1,
void
MyDerivedClassI::opBoolSSAsync(Test::BoolSS p1,
Test::BoolSS p2,
- function<void (const Test::BoolSS&, const Test::BoolSS&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::BoolSS&, const Test::BoolSS&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
auto p3 = p1;
@@ -343,11 +343,11 @@ void
MyDerivedClassI::opShortIntLongSSAsync(Test::ShortSS p1,
Test::IntSS p2,
Test::LongSS p3,
- function<void (const Test::LongSS&,
+ function<void(const Test::LongSS&,
const Test::ShortSS&,
const Test::IntSS&,
const Test::LongSS&)> response,
- function<void (exception_ptr)>,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
auto p4 = p1;
@@ -362,10 +362,10 @@ MyDerivedClassI::opShortIntLongSSAsync(Test::ShortSS p1,
void
MyDerivedClassI::opFloatDoubleSSAsync(Test::FloatSS p1,
Test::DoubleSS p2,
- function<void (const Test::DoubleSS&,
+ function<void(const Test::DoubleSS&,
const Test::FloatSS&,
const Test::DoubleSS&)> response,
- function<void (exception_ptr)>,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::FloatSS p3 = p1;
@@ -380,8 +380,8 @@ MyDerivedClassI::opFloatDoubleSSAsync(Test::FloatSS p1,
void
MyDerivedClassI::opStringSSAsync(Test::StringSS p1,
Test::StringSS p2,
- function<void (const Test::StringSS&, const Test::StringSS&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::StringSS&, const Test::StringSS&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::StringSS p3 = p1;
@@ -394,8 +394,8 @@ MyDerivedClassI::opStringSSAsync(Test::StringSS p1,
void
MyDerivedClassI::opStringSSSAsync(Test::StringSSS p1, Test::StringSSS p2,
- function<void (const Test::StringSSS&, const Test::StringSSS&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::StringSSS&, const Test::StringSSS&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::StringSSS p3 = p1;
@@ -408,8 +408,8 @@ MyDerivedClassI::opStringSSSAsync(Test::StringSSS p1, Test::StringSSS p2,
void
MyDerivedClassI::opByteBoolDAsync(Test::ByteBoolD p1, Test::ByteBoolD p2,
- function<void (const Test::ByteBoolD&, const Test::ByteBoolD&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::ByteBoolD&, const Test::ByteBoolD&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::ByteBoolD p3 = p1;
@@ -420,8 +420,8 @@ MyDerivedClassI::opByteBoolDAsync(Test::ByteBoolD p1, Test::ByteBoolD p2,
void
MyDerivedClassI::opShortIntDAsync(Test::ShortIntD p1, Test::ShortIntD p2,
- function<void (const Test::ShortIntD&, const Test::ShortIntD&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::ShortIntD&, const Test::ShortIntD&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::ShortIntD p3 = p1;
@@ -432,8 +432,8 @@ MyDerivedClassI::opShortIntDAsync(Test::ShortIntD p1, Test::ShortIntD p2,
void
MyDerivedClassI::opLongFloatDAsync(Test::LongFloatD p1, Test::LongFloatD p2,
- function<void (const Test::LongFloatD&, const Test::LongFloatD&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::LongFloatD&, const Test::LongFloatD&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::LongFloatD p3 = p1;
@@ -444,8 +444,8 @@ MyDerivedClassI::opLongFloatDAsync(Test::LongFloatD p1, Test::LongFloatD p2,
void
MyDerivedClassI::opStringStringDAsync(Test::StringStringD p1, Test::StringStringD p2,
- function<void (const Test::StringStringD&, const Test::StringStringD&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::StringStringD&, const Test::StringStringD&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::StringStringD p3 = p1;
@@ -456,8 +456,8 @@ MyDerivedClassI::opStringStringDAsync(Test::StringStringD p1, Test::StringString
void
MyDerivedClassI::opStringMyEnumDAsync(Test::StringMyEnumD p1, Test::StringMyEnumD p2,
- function<void (const Test::StringMyEnumD&, const Test::StringMyEnumD&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::StringMyEnumD&, const Test::StringMyEnumD&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::StringMyEnumD p3 = p1;
@@ -468,8 +468,8 @@ MyDerivedClassI::opStringMyEnumDAsync(Test::StringMyEnumD p1, Test::StringMyEnum
void
MyDerivedClassI::opMyEnumStringDAsync(Test::MyEnumStringD p1, Test::MyEnumStringD p2,
- function<void (const Test::MyEnumStringD&, const Test::MyEnumStringD&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::MyEnumStringD&, const Test::MyEnumStringD&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::MyEnumStringD p3 = p1;
@@ -480,9 +480,9 @@ MyDerivedClassI::opMyEnumStringDAsync(Test::MyEnumStringD p1, Test::MyEnumString
void
MyDerivedClassI::opMyStructMyEnumDAsync(Test::MyStructMyEnumD p1, Test::MyStructMyEnumD p2,
- function<void (const Test::MyStructMyEnumD&,
+ function<void(const Test::MyStructMyEnumD&,
const Test::MyStructMyEnumD&)> response,
- function<void (exception_ptr)>,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::MyStructMyEnumD p3 = p1;
@@ -494,8 +494,8 @@ MyDerivedClassI::opMyStructMyEnumDAsync(Test::MyStructMyEnumD p1, Test::MyStruct
void
MyDerivedClassI::opByteBoolDSAsync(Test::ByteBoolDS p1,
Test::ByteBoolDS p2,
- function<void (const Test::ByteBoolDS&, const Test::ByteBoolDS&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::ByteBoolDS&, const Test::ByteBoolDS&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::ByteBoolDS p3 = p2;
@@ -509,8 +509,8 @@ MyDerivedClassI::opByteBoolDSAsync(Test::ByteBoolDS p1,
void
MyDerivedClassI::opShortIntDSAsync(Test::ShortIntDS p1,
Test::ShortIntDS p2,
- function<void (const Test::ShortIntDS&, const Test::ShortIntDS&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::ShortIntDS&, const Test::ShortIntDS&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::ShortIntDS p3 = p2;
@@ -524,8 +524,8 @@ MyDerivedClassI::opShortIntDSAsync(Test::ShortIntDS p1,
void
MyDerivedClassI::opLongFloatDSAsync(Test::LongFloatDS p1,
Test::LongFloatDS p2,
- function<void (const Test::LongFloatDS&, const Test::LongFloatDS&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::LongFloatDS&, const Test::LongFloatDS&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::LongFloatDS p3 = p2;
@@ -539,8 +539,8 @@ MyDerivedClassI::opLongFloatDSAsync(Test::LongFloatDS p1,
void
MyDerivedClassI::opStringStringDSAsync(Test::StringStringDS p1,
Test::StringStringDS p2,
- function<void (const Test::StringStringDS&, const Test::StringStringDS&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::StringStringDS&, const Test::StringStringDS&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::StringStringDS p3 = p2;
@@ -554,8 +554,8 @@ MyDerivedClassI::opStringStringDSAsync(Test::StringStringDS p1,
void
MyDerivedClassI::opStringMyEnumDSAsync(Test::StringMyEnumDS p1,
Test::StringMyEnumDS p2,
- function<void (const Test::StringMyEnumDS&, const Test::StringMyEnumDS&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::StringMyEnumDS&, const Test::StringMyEnumDS&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::StringMyEnumDS p3 = p2;
@@ -569,8 +569,8 @@ MyDerivedClassI::opStringMyEnumDSAsync(Test::StringMyEnumDS p1,
void
MyDerivedClassI::opMyEnumStringDSAsync(Test::MyEnumStringDS p1,
Test::MyEnumStringDS p2,
- function<void (const Test::MyEnumStringDS&, const Test::MyEnumStringDS&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::MyEnumStringDS&, const Test::MyEnumStringDS&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::MyEnumStringDS p3 = p2;
@@ -584,9 +584,9 @@ MyDerivedClassI::opMyEnumStringDSAsync(Test::MyEnumStringDS p1,
void
MyDerivedClassI::opMyStructMyEnumDSAsync(Test::MyStructMyEnumDS p1,
Test::MyStructMyEnumDS p2,
- function<void (const Test::MyStructMyEnumDS&,
+ function<void(const Test::MyStructMyEnumDS&,
const Test::MyStructMyEnumDS&)> response,
- function<void (exception_ptr)>,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::MyStructMyEnumDS p3 = p2;
@@ -600,8 +600,8 @@ MyDerivedClassI::opMyStructMyEnumDSAsync(Test::MyStructMyEnumDS p1,
void
MyDerivedClassI::opByteByteSDAsync(Test::ByteByteSD p1,
Test::ByteByteSD p2,
- function<void (const Test::ByteByteSD&, const Test::ByteByteSD&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::ByteByteSD&, const Test::ByteByteSD&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::ByteByteSD p3 = p2;
@@ -613,8 +613,8 @@ MyDerivedClassI::opByteByteSDAsync(Test::ByteByteSD p1,
void
MyDerivedClassI::opBoolBoolSDAsync(Test::BoolBoolSD p1,
Test::BoolBoolSD p2,
- function<void (const Test::BoolBoolSD&, const Test::BoolBoolSD&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::BoolBoolSD&, const Test::BoolBoolSD&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::BoolBoolSD p3 = p2;
@@ -626,8 +626,8 @@ MyDerivedClassI::opBoolBoolSDAsync(Test::BoolBoolSD p1,
void
MyDerivedClassI::opShortShortSDAsync(Test::ShortShortSD p1,
Test::ShortShortSD p2,
- function<void (const Test::ShortShortSD&, const Test::ShortShortSD&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::ShortShortSD&, const Test::ShortShortSD&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::ShortShortSD p3 = p2;
@@ -639,8 +639,8 @@ MyDerivedClassI::opShortShortSDAsync(Test::ShortShortSD p1,
void
MyDerivedClassI::opIntIntSDAsync(Test::IntIntSD p1,
Test::IntIntSD p2,
- function<void (const Test::IntIntSD&, const Test::IntIntSD&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::IntIntSD&, const Test::IntIntSD&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::IntIntSD p3 = p2;
@@ -652,8 +652,8 @@ MyDerivedClassI::opIntIntSDAsync(Test::IntIntSD p1,
void
MyDerivedClassI::opLongLongSDAsync(Test::LongLongSD p1,
Test::LongLongSD p2,
- function<void (const Test::LongLongSD&, const Test::LongLongSD&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::LongLongSD&, const Test::LongLongSD&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::LongLongSD p3 = p2;
@@ -665,8 +665,8 @@ MyDerivedClassI::opLongLongSDAsync(Test::LongLongSD p1,
void
MyDerivedClassI::opStringFloatSDAsync(Test::StringFloatSD p1,
Test::StringFloatSD p2,
- function<void (const Test::StringFloatSD&, const Test::StringFloatSD&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::StringFloatSD&, const Test::StringFloatSD&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::StringFloatSD p3 = p2;
@@ -678,9 +678,9 @@ MyDerivedClassI::opStringFloatSDAsync(Test::StringFloatSD p1,
void
MyDerivedClassI::opStringDoubleSDAsync(Test::StringDoubleSD p1,
Test::StringDoubleSD p2,
- function<void (const Test::StringDoubleSD&,
+ function<void(const Test::StringDoubleSD&,
const Test::StringDoubleSD&)> response,
- function<void (exception_ptr)>,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::StringDoubleSD p3 = p2;
@@ -692,9 +692,9 @@ MyDerivedClassI::opStringDoubleSDAsync(Test::StringDoubleSD p1,
void
MyDerivedClassI::opStringStringSDAsync(Test::StringStringSD p1,
Test::StringStringSD p2,
- function<void (const Test::StringStringSD&,
+ function<void(const Test::StringStringSD&,
const Test::StringStringSD&)> response,
- function<void (exception_ptr)>,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::StringStringSD p3 = p2;
@@ -706,9 +706,9 @@ MyDerivedClassI::opStringStringSDAsync(Test::StringStringSD p1,
void
MyDerivedClassI::opMyEnumMyEnumSDAsync(Test::MyEnumMyEnumSD p1,
Test::MyEnumMyEnumSD p2,
- function<void (const Test::MyEnumMyEnumSD&,
+ function<void(const Test::MyEnumMyEnumSD&,
const Test::MyEnumMyEnumSD&)> response,
- function<void (exception_ptr)>,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::MyEnumMyEnumSD p3 = p2;
@@ -719,8 +719,8 @@ MyDerivedClassI::opMyEnumMyEnumSDAsync(Test::MyEnumMyEnumSD p1,
void
MyDerivedClassI::opIntSAsync(Test::IntS s,
- function<void (const Test::IntS&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::IntS&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::IntS r;
@@ -730,8 +730,8 @@ MyDerivedClassI::opIntSAsync(Test::IntS s,
void
MyDerivedClassI::opByteSOnewayAsync(Test::ByteS,
- function<void ()> response,
- function<void (exception_ptr)>,
+ function<void()> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
IceUtil::Mutex::Lock sync(_mutex);
@@ -740,8 +740,8 @@ MyDerivedClassI::opByteSOnewayAsync(Test::ByteS,
}
void
-MyDerivedClassI::opByteSOnewayCallCountAsync(function<void (int)> response,
- function<void (exception_ptr)>,
+MyDerivedClassI::opByteSOnewayCallCountAsync(function<void(int)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
IceUtil::Mutex::Lock sync(_mutex);
@@ -750,8 +750,8 @@ MyDerivedClassI::opByteSOnewayCallCountAsync(function<void (int)> response,
}
void
-MyDerivedClassI::opContextAsync(function<void (const Ice::Context&)> response,
- function<void (exception_ptr)>,
+MyDerivedClassI::opContextAsync(function<void(const Ice::Context&)> response,
+ function<void(exception_ptr)>,
const Ice::Current& current)
{
Test::StringStringD r = current.ctx;
@@ -761,8 +761,8 @@ MyDerivedClassI::opContextAsync(function<void (const Ice::Context&)> response,
void
MyDerivedClassI::opDoubleMarshalingAsync(Ice::Double p1,
Test::DoubleS p2,
- function<void ()> response,
- function<void (exception_ptr)>,
+ function<void()> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Ice::Double d = 1278312346.0 / 13.0;
@@ -775,8 +775,8 @@ MyDerivedClassI::opDoubleMarshalingAsync(Ice::Double p1,
}
void
-MyDerivedClassI::opIdempotentAsync(function<void ()> response,
- function<void (exception_ptr)>,
+MyDerivedClassI::opIdempotentAsync(function<void()> response,
+ function<void(exception_ptr)>,
const Ice::Current& current)
{
test(current.mode == OperationMode::Idempotent);
@@ -784,8 +784,8 @@ MyDerivedClassI::opIdempotentAsync(function<void ()> response,
}
void
-MyDerivedClassI::opNonmutatingAsync(function<void ()> response,
- function<void (exception_ptr)>,
+MyDerivedClassI::opNonmutatingAsync(function<void()> response,
+ function<void(exception_ptr)>,
const Ice::Current& current)
{
test(current.mode == OperationMode::Nonmutating);
@@ -793,8 +793,8 @@ MyDerivedClassI::opNonmutatingAsync(function<void ()> response,
}
void
-MyDerivedClassI::opDerivedAsync(function<void ()> response,
- function<void (exception_ptr)>,
+MyDerivedClassI::opDerivedAsync(function<void()> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response();
@@ -802,8 +802,8 @@ MyDerivedClassI::opDerivedAsync(function<void ()> response,
void
MyDerivedClassI::opByte1Async(Ice::Byte b,
- function<void (Ice::Byte)> response,
- function<void (exception_ptr)>,
+ function<void(Ice::Byte)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(b);
@@ -811,8 +811,8 @@ MyDerivedClassI::opByte1Async(Ice::Byte b,
void
MyDerivedClassI::opShort1Async(Ice::Short s,
- function<void (Ice::Short)> response,
- function<void (exception_ptr)>,
+ function<void(Ice::Short)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(s);
@@ -820,8 +820,8 @@ MyDerivedClassI::opShort1Async(Ice::Short s,
void
MyDerivedClassI::opInt1Async(Ice::Int i,
- function<void (Ice::Int)> response,
- function<void (exception_ptr)>,
+ function<void(Ice::Int)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(i);
@@ -829,8 +829,8 @@ MyDerivedClassI::opInt1Async(Ice::Int i,
void
MyDerivedClassI::opLong1Async(Ice::Long l,
- function<void (Ice::Long)> response,
- function<void (exception_ptr)>,
+ function<void(Ice::Long)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(l);
@@ -838,8 +838,8 @@ MyDerivedClassI::opLong1Async(Ice::Long l,
void
MyDerivedClassI::opFloat1Async(Ice::Float f,
- function<void (Ice::Float)> response,
- function<void (exception_ptr)>,
+ function<void(Ice::Float)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(f);
@@ -847,8 +847,8 @@ MyDerivedClassI::opFloat1Async(Ice::Float f,
void
MyDerivedClassI::opDouble1Async(Ice::Double d,
- function<void (Ice::Double)> response,
- function<void (exception_ptr)>,
+ function<void(Ice::Double)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(d);
@@ -856,8 +856,8 @@ MyDerivedClassI::opDouble1Async(Ice::Double d,
void
MyDerivedClassI::opString1Async(string s,
- function<void (const string&)> response,
- function<void (exception_ptr)>,
+ function<void(const string&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(s);
@@ -865,8 +865,8 @@ MyDerivedClassI::opString1Async(string s,
void
MyDerivedClassI::opStringS1Async(Test::StringS seq,
- function<void (const Test::StringS&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::StringS&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(seq);
@@ -874,8 +874,8 @@ MyDerivedClassI::opStringS1Async(Test::StringS seq,
void
MyDerivedClassI::opByteBoolD1Async(Test::ByteBoolD dict,
- function<void (const Test::ByteBoolD&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::ByteBoolD&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(dict);
@@ -883,8 +883,8 @@ MyDerivedClassI::opByteBoolD1Async(Test::ByteBoolD dict,
void
MyDerivedClassI::opStringS2Async(Test::StringS seq,
- function<void (const Test::StringS&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::StringS&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(seq);
@@ -892,8 +892,8 @@ MyDerivedClassI::opStringS2Async(Test::StringS seq,
void
MyDerivedClassI::opByteBoolD2Async(Test::ByteBoolD dict,
- function<void (const Test::ByteBoolD&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::ByteBoolD&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(dict);
@@ -901,8 +901,8 @@ MyDerivedClassI::opByteBoolD2Async(Test::ByteBoolD dict,
void
MyDerivedClassI::opMyStruct1Async(Test::MyStruct1 s,
- function<void (const Test::MyStruct1&)> response,
- function<void (exception_ptr)>,
+ function<void(const Test::MyStruct1&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(s);
@@ -910,16 +910,16 @@ MyDerivedClassI::opMyStruct1Async(Test::MyStruct1 s,
void
MyDerivedClassI::opMyClass1Async(shared_ptr<Test::MyClass1> c,
- function<void (const shared_ptr<Test::MyClass1>&)> response,
- function<void (exception_ptr)>,
+ function<void(const shared_ptr<Test::MyClass1>&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
response(c);
}
void
-MyDerivedClassI::opStringLiteralsAsync(function<void (const Test::StringS&)> response,
- function<void (exception_ptr)>,
+MyDerivedClassI::opStringLiteralsAsync(function<void(const Test::StringS&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::StringS data;
@@ -962,8 +962,8 @@ MyDerivedClassI::opStringLiteralsAsync(function<void (const Test::StringS&)> res
}
void
-MyDerivedClassI::opWStringLiteralsAsync(function<void (const Test::WStringS&)> response,
- function<void (exception_ptr)>,
+MyDerivedClassI::opWStringLiteralsAsync(function<void(const Test::WStringS&)> response,
+ function<void(exception_ptr)>,
const Ice::Current&)
{
Test::WStringS data;