本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}