Example #1
0
ACS::ROlong_ptr MCtestAlarmsComponentImpl::longROProp()
{
	if(m_longROProp_p == 0)
	{
		return ACS::ROlong::_nil();
	}

	ACS::ROlong_var prop = ACS::ROlong::_narrow(m_longROProp_p->getCORBAReference());
	return prop._retn();
}
Example #2
0
ACS::ROlong_ptr
Door::substate ()
{
    if (m_substate_sp == 0)
	{
	return ACS::ROlong::_nil();
	}
    
    ACS::ROlong_var prop = ACS::ROlong::_narrow(m_substate_sp->getCORBAReference());
    return prop._retn();
}