void SoapServerInternal::CallMethod(const ::google::protobuf::MethodDescriptor* method, ::google::protobuf::RpcController* controller, const ::google::protobuf::Message* request, ::google::protobuf::Message* response, ::google::protobuf::Closure* done) { string serviceName = method->service()->name(); string methodName = method->name(); SoapProtocol::ResponseCallback callback = bind(&SoapServerInternal::OnProtobufResponse, this, response, done, placeholders::_1); try { CallMethod(serviceName, methodName, *request, callback); } catch (exception &e) { if (controller) { controller->SetFailed(e.what()); controller->Failed(); } } catch (...) { if (controller) { controller->SetFailed("Unknown"); controller->Failed(); } } }
void CTrackManiaRaceInterface::SetCheckPointInfo_TimeText1 ( StringA value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "CheckPointInfo_TimeText1" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
void CGameAdvertising::SetMode ( CGameAdvertising::eMode value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "Mode" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
void CGameAdvertising::SetEditionDummies ( bool value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "EditionDummies" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
void CTrackManiaRaceInterface::SetCarDistanceDisplay0 ( uint value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "CarDistanceDisplay0" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
void CGameAdvertising::SetZoneName ( StringA value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "ZoneName" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
void CGameAdvertising::Init () { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "Init" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, NULL ); }
void CPlugBitmapRenderCamera::SetCameraToVisual ( Matrix43 value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "CameraToVisual" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
void CPlugBitmapRenderCamera::SetDepthBias ( float value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "DepthBias" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
void CPlugBitmapRenderCamera::SetCamera ( class CMwNod* value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "Camera" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, value ); }
void CPlugBitmapRenderCamera::SetCameraMode ( CPlugBitmapRenderCamera::eCameraMode value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "CameraMode" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
void CPlugBitmapRenderCamera::SetUseCameraScissor ( bool value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "UseCameraScissor" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
void CPlugBitmapRenderCamera::SetScaleZRange ( float value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "ScaleZRange" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
long NetLoadFile(CICell ih, char *filePath) { CICell netIH; NetPartInfoPtr net; long ret, length, triesLeft; char fileSpec[2048]; net = (NetPartInfoPtr)ih; sprintf(fileSpec, "%s,%s", net->devSpec, filePath); printf("Opening [%s]...\n", fileSpec); triesLeft = 10; do { netIH = Open(fileSpec); triesLeft--; } while ((netIH == 0) && triesLeft); if (netIH == 0) return -1; triesLeft = 10; do { ret = CallMethod(1, 1, netIH, "load", kLoadAddr, &length); if (gOFVersion < kOFVersion3x) { if (length == 0) ret = -1; } triesLeft--; } while ((ret != kCINoError) && triesLeft); if (ret != kCINoError) return -1; Close(netIH); return length; }
void CGameAdvertising::SetDefaultAdvertisingSuffix ( StringA value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "DefaultAdvertisingSuffix" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
void CFuncSegment::SetKeyCount ( uint value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "KeyCount" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
void CGameAdvertising::SetZoneElements ( List < nodptr<class CGameAdvertisingElement> >& value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "ZoneElements" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
void CGameAdvertising::SetFiles ( List < nodptr<class CMwNod> >& value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "Files" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
void CGameAdvertising::ImpressionHelpers_Update () { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "ImpressionHelpers_Update" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, NULL ); }
void CGameAdvertising::SetImpressionHelpers_Enable ( bool value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "ImpressionHelpers_Enable" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
void CGameAdvertising::SetDisableOcclusion ( bool value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "DisableOcclusion" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
void CGameAdvertising::SetImpressionHelpers_Mobil ( class CSceneMobil* value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "ImpressionHelpers_Mobil" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, value ); }
void CGameAdvertising::SetEditonDummyImage ( class CPlugFileImg* value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "EditonDummyImage" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, value ); }
void CGameAdvertising::SetImpression_Time ( uint value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "Impression_Time" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
void CTrackManiaRaceInterface::SetCheckPointInfo_CurrentRacePositionText3 ( StringW value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "CheckPointInfo_CurrentRacePositionText3" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
void CGameAdvertising::SetRadial_Config ( StringA value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "Radial_Config" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
void CControlSimi2::SetScaleX ( float value ) { static CMwMemberInfo* pMemberInfo = GetClassInfo ()->GetMemberInfo ( "ScaleX" ); CMwStack stack; stack.Push ( pMemberInfo ); CallMethod ( &stack, &value ); }
bool PYTHON_ACTION_PLUGIN::GetShowToolbarButton() { PyLOCK lock; PyObject* result = CallMethod( "GetShowToolbarButton"); return PyObject_IsTrue(result); }
// ----------------------------------------------------------------------------- // CSTSCredentialManager::NewLC // Two-phased constructor. // ----------------------------------------------------------------------------- // CSTSCredentialManager* CSTSCredentialManager::NewLC() { CSTSCredentialManager* self = new(ELeave) CSTSCredentialManager; CallMethod(self,&CSTSCredentialManager::AddToScheduler,self); CleanupStack::PushL(self); CallMethodL(self,&CSTSCredentialManager::ConstructL,self); return self; }
std::vector<OpcUa::CallMethodResult> AddressSpaceInMemory::Call(std::vector<OpcUa::CallMethodRequest> methodsToCall) { std::vector<OpcUa::CallMethodResult> results; for (auto method : methodsToCall) { results.push_back(CallMethod(method)); } return results; }