当前位置: 首页>>代码示例>>C++>>正文


C++ returnValue函数代码示例

本文整理汇总了C++中returnValue函数的典型用法代码示例。如果您正苦于以下问题:C++ returnValue函数的具体用法?C++ returnValue怎么用?C++ returnValue使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了returnValue函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: returnValue

EditFieldHandlePtr NewtonParticleAffectorBase::editHandleBeacon         (void)
{
    SFUnrecNodePtr::EditHandlePtr returnValue(
        new  SFUnrecNodePtr::EditHandle(
             &_sfBeacon,
             this->getType().getFieldDesc(BeaconFieldId),
             this));

    returnValue->setSetMethod(
        boost::bind(&NewtonParticleAffector::setBeacon,
                    static_cast<NewtonParticleAffector *>(this), _1));

    editSField(BeaconFieldMask);

    return returnValue;
}
开发者ID:Himbeertoni,项目名称:OpenSGToolbox,代码行数:16,代码来源:OSGNewtonParticleAffectorBase.cpp

示例2: returnValue

EditFieldHandlePtr TransformAnimatorBase::editHandleZRotationSequence(void)
{
    SFUnrecKeyframeNumberSequenceReal32Ptr::EditHandlePtr returnValue(
        new  SFUnrecKeyframeNumberSequenceReal32Ptr::EditHandle(
             &_sfZRotationSequence,
             this->getType().getFieldDesc(ZRotationSequenceFieldId),
             this));

    returnValue->setSetMethod(
        boost::bind(&TransformAnimator::setZRotationSequence,
                    static_cast<TransformAnimator *>(this), _1));

    editSField(ZRotationSequenceFieldMask);

    return returnValue;
}
开发者ID:Himbeertoni,项目名称:OpenSGToolbox,代码行数:16,代码来源:OSGTransformAnimatorBase.cpp

示例3: returnValue

EditFieldHandlePtr ParticlesBase::editHandleNormals        (void)
{
    SFUnrecChildGeoVectorPropertyPtr::EditHandlePtr returnValue(
        new  SFUnrecChildGeoVectorPropertyPtr::EditHandle(
             &_sfNormals,
             this->getType().getFieldDesc(NormalsFieldId),
             this));

    returnValue->setSetMethod(
        boost::bind(&Particles::setNormals,
                    static_cast<Particles *>(this), _1));

    editSField(NormalsFieldMask);

    return returnValue;
}
开发者ID:DaveHarrison,项目名称:OpenSGDevMaster,代码行数:16,代码来源:OSGParticlesBase.cpp

示例4: returnValue

EditFieldHandlePtr CSMViewportBase::editHandleRoot           (void)
{
    SFUnrecNodePtr::EditHandlePtr returnValue(
        new  SFUnrecNodePtr::EditHandle(
             &_sfRoot,
             this->getType().getFieldDesc(RootFieldId),
             this));

    returnValue->setSetMethod(
        boost::bind(&CSMViewport::setRoot,
                    static_cast<CSMViewport *>(this), _1));

    editSField(RootFieldMask);

    return returnValue;
}
开发者ID:baibaiwei,项目名称:OpenSGDevMaster,代码行数:16,代码来源:OSGCSMViewportBase.cpp

示例5: returnValue

EditFieldHandlePtr AbstractDocumentBase::editHandleRootElement    (void)
{
    SFUnrecElementPtr::EditHandlePtr returnValue(
        new  SFUnrecElementPtr::EditHandle(
             &_sfRootElement,
             this->getType().getFieldDesc(RootElementFieldId),
             this));

    returnValue->setSetMethod(
        boost::bind(&AbstractDocument::setRootElement,
                    static_cast<AbstractDocument *>(this), _1));

    editSField(RootElementFieldMask);

    return returnValue;
}
开发者ID:msteners,项目名称:OpenSGToolbox,代码行数:16,代码来源:OSGAbstractDocumentBase.cpp

示例6: OSG_ASSERT

HardwareContextTaskTransitPtr HardwareContextTaskQueue::popTask(void)
{
    _pStoreSema->wait();

    _pStoreLock->acquire();

    OSG_ASSERT(_qTaskStore.size() != 0);

    HardwareContextTaskTransitPtr returnValue(_qTaskStore.front());

    _qTaskStore.pop_front();

    _pStoreLock->release();

    return returnValue;
}
开发者ID:jondo2010,项目名称:OpenSG,代码行数:16,代码来源:OSGHardwareContextTask.cpp

示例7: returnValue

EditFieldHandlePtr MaterialDrawableBase::editHandleMaterial       (void)
{
    SFUnrecMaterialPtr::EditHandlePtr returnValue(
        new  SFUnrecMaterialPtr::EditHandle(
             &_sfMaterial,
             this->getType().getFieldDesc(MaterialFieldId),
             this));

    returnValue->setSetMethod(
        boost::bind(&MaterialDrawable::setMaterial,
                    static_cast<MaterialDrawable *>(this), _1));

    editSField(MaterialFieldMask);

    return returnValue;
}
开发者ID:marcusl,项目名称:OpenSG,代码行数:16,代码来源:OSGMaterialDrawableBase.cpp

示例8: returnValue

EditFieldHandlePtr SkeletonDrawableBase::editHandleSkeleton       (void)
{
    SFUnrecSkeletonBlendedGeometryPtr::EditHandlePtr returnValue(
        new  SFUnrecSkeletonBlendedGeometryPtr::EditHandle(
             &_sfSkeleton,
             this->getType().getFieldDesc(SkeletonFieldId),
             this));

    returnValue->setSetMethod(
        boost::bind(&SkeletonDrawable::setSkeleton,
                    static_cast<SkeletonDrawable *>(this), _1));

    editSField(SkeletonFieldMask);

    return returnValue;
}
开发者ID:Himbeertoni,项目名称:OpenSGToolbox,代码行数:16,代码来源:OSGSkeletonDrawableBase.cpp

示例9: returnValue

EditFieldHandlePtr ProjectionCameraDecoratorBase::editHandleUser           (void)
{
    SFUnrecNodePtr::EditHandlePtr returnValue(
        new  SFUnrecNodePtr::EditHandle(
             &_sfUser,
             this->getType().getFieldDesc(UserFieldId),
             this));

    returnValue->setSetMethod(
        boost::bind(&ProjectionCameraDecorator::setUser,
                    static_cast<ProjectionCameraDecorator *>(this), _1));

    editSField(UserFieldMask);

    return returnValue;
}
开发者ID:martinhecher,项目名称:OpenSGDevMaster,代码行数:16,代码来源:OSGProjectionCameraDecoratorBase.cpp

示例10: returnValue

EditFieldHandlePtr GeoMultiPropertyBase::editHandleContainer      (void)
{
    SFUnrecGeoMultiPropertyDataPtr::EditHandlePtr returnValue(
        new  SFUnrecGeoMultiPropertyDataPtr::EditHandle(
             &_sfContainer,
             this->getType().getFieldDesc(ContainerFieldId),
             this));

    returnValue->setSetMethod(
        boost::bind(&GeoMultiProperty::setContainer,
                    static_cast<GeoMultiProperty *>(this), _1));

    editSField(ContainerFieldMask);

    return returnValue;
}
开发者ID:DaveHarrison,项目名称:OpenSGDevMaster,代码行数:16,代码来源:OSGGeoMultiPropertyBase.cpp

示例11: returnValue

EditFieldHandlePtr FBOViewportBase::editHandleFrameBufferObject(void)
{
    SFUnrecFrameBufferObjectPtr::EditHandlePtr returnValue(
        new  SFUnrecFrameBufferObjectPtr::EditHandle(
             &_sfFrameBufferObject,
             this->getType().getFieldDesc(FrameBufferObjectFieldId),
             this));

    returnValue->setSetMethod(
        boost::bind(&FBOViewport::setFrameBufferObject,
                    static_cast<FBOViewport *>(this), _1));

    editSField(FrameBufferObjectFieldMask);

    return returnValue;
}
开发者ID:vrsource,项目名称:OpenSGDevMaster,代码行数:16,代码来源:OSGFBOViewportBase.cpp

示例12: returnValue

EditFieldHandlePtr LightBase::editHandleLightEngine    (void)
{
    SFUnrecLightEnginePtr::EditHandlePtr returnValue(
        new  SFUnrecLightEnginePtr::EditHandle(
             &_sfLightEngine,
             this->getType().getFieldDesc(LightEngineFieldId),
             this));

    returnValue->setSetMethod(
        boost::bind(&Light::setLightEngine,
                    static_cast<Light *>(this), _1));

    editSField(LightEngineFieldMask);

    return returnValue;
}
开发者ID:marcusl,项目名称:OpenSG,代码行数:16,代码来源:OSGLightBase.cpp

示例13: returnValue

EditFieldHandlePtr RenderBufferBase::editHandleImage          (void)
{
    SFUnrecImagePtr::EditHandlePtr returnValue(
        new  SFUnrecImagePtr::EditHandle(
             &_sfImage,
             this->getType().getFieldDesc(ImageFieldId),
             this));

    returnValue->setSetMethod(
        boost::bind(&RenderBuffer::setImage,
                    static_cast<RenderBuffer *>(this), _1));

    editSField(ImageFieldMask);

    return returnValue;
}
开发者ID:Langkamp,项目名称:OpenSGDevMaster_Toolbox,代码行数:16,代码来源:OSGRenderBufferBase.cpp

示例14: returnValue

EditFieldHandlePtr GeometryBase::editHandleLengths        (void)
{
    SFUnrecChildGeoIntegralPropertyPtr::EditHandlePtr returnValue(
        new  SFUnrecChildGeoIntegralPropertyPtr::EditHandle(
             &_sfLengths,
             this->getType().getFieldDesc(LengthsFieldId),
             this));

    returnValue->setSetMethod(
        boost::bind(&Geometry::setLengths,
                    static_cast<Geometry *>(this), _1));

    editSField(LengthsFieldMask);

    return returnValue;
}
开发者ID:baibaiwei,项目名称:OpenSGDevMaster,代码行数:16,代码来源:OSGGeometryBase.cpp

示例15: returnValue

EditFieldHandlePtr DisplayFilterStageDataBase::editHandleTarget         (void)
{
    SFUnrecFrameBufferObjectPtr::EditHandlePtr returnValue(
        new  SFUnrecFrameBufferObjectPtr::EditHandle(
             &_sfTarget,
             this->getType().getFieldDesc(TargetFieldId),
             this));

    returnValue->setSetMethod(
        boost::bind(&DisplayFilterStageData::setTarget,
                    static_cast<DisplayFilterStageData *>(this), _1));

    editSField(TargetFieldMask);

    return returnValue;
}
开发者ID:marcusl,项目名称:OpenSG,代码行数:16,代码来源:OSGDisplayFilterStageDataBase.cpp


注:本文中的returnValue函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。