示例#1
0
ACS::ROpattern_ptr MCtestComponentImpl::patternProp ()
{
	if (m_patternProp_p == 0)
	{
		return ACS::ROpattern::_nil();
	}

	ACS::ROpattern_var prop = ACS::ROpattern::_narrow(m_patternProp_p ->getCORBAReference());
	return prop._retn();
}
示例#2
0
ACS::ROpattern_ptr BaciPropTest::testPatternVar () 
{
    if (m_testPatternVar_sp == 0)
	{
	return ACS::ROpattern::_nil();
	}

    ACS::ROpattern_var prop = ACS::ROpattern::_narrow(m_testPatternVar_sp->getCORBAReference());
    return prop._retn();
}
ACS::ROpattern_ptr
PowerSupply::status ()
{
    if (m_status_sp == 0)
	{
	return ACS::ROpattern::_nil();
	}
    
    ACS::ROpattern_var prop = ACS::ROpattern::_narrow(m_status_sp->getCORBAReference());
    return prop._retn();
}