Skip to content
AttributeCombinerStateMachine.cpp 8.06 KiB
Newer Older
Jean-Luc Pons's avatar
Jean-Luc Pons committed
/*----- PROTECTED REGION ID(AttributeCombinerStateMachine.cpp) ENABLED START -----*/
//=============================================================================
//
// file :        AttributeCombinerStateMachine.cpp
//
// description : State machine file for the AttributeCombiner class
//
// project :     AttributeCombiner
//
// This file is part of Tango device class.
// 
// Tango is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// 
// Tango is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
// 
// You should have received a copy of the GNU General Public License
// along with Tango.  If not, see <http://www.gnu.org/licenses/>.
// 
//
// Copyright (C): 2018
//                European Synchrotron Radiation Facility
//                BP 220, Grenoble 38043
//                France
//
//=============================================================================
//                This file is generated by POGO
//        (Program Obviously used to Generate tango Object)
//=============================================================================

#include <AttributeCombiner.h>

/*----- PROTECTED REGION END -----*/	//	AttributeCombiner::AttributeCombinerStateMachine.cpp

//================================================================
//  States  |  Description
//================================================================


namespace AttributeCombiner_ns
{
//=================================================
//		Attributes Allowed Methods
//=================================================

//--------------------------------------------------------
/**
 *	Method      : AttributeCombiner::is_Errors_allowed()
 *	Description : Execution allowed for Errors attribute
 */
//--------------------------------------------------------
bool AttributeCombiner::is_Errors_allowed(TANGO_UNUSED(Tango::AttReqType type))
{

	//	Not any excluded states for Errors attribute in read access.
	/*----- PROTECTED REGION ID(AttributeCombiner::ErrorsStateAllowed_READ) ENABLED START -----*/
	
	/*----- PROTECTED REGION END -----*/	//	AttributeCombiner::ErrorsStateAllowed_READ
	return true;
}

//--------------------------------------------------------
/**
 *	Method      : AttributeCombiner::is_DeviceList_allowed()
 *	Description : Execution allowed for DeviceList attribute
 */
//--------------------------------------------------------
bool AttributeCombiner::is_DeviceList_allowed(TANGO_UNUSED(Tango::AttReqType type))
{

	//	Not any excluded states for DeviceList attribute in read access.
	/*----- PROTECTED REGION ID(AttributeCombiner::DeviceListStateAllowed_READ) ENABLED START -----*/
	
	/*----- PROTECTED REGION END -----*/	//	AttributeCombiner::DeviceListStateAllowed_READ
	return true;
}

Jean-Luc Pons's avatar
Jean-Luc Pons committed

//=================================================
//		Commands Allowed Methods
//=================================================

//--------------------------------------------------------
/**
 *	Method      : AttributeCombiner::is_ResetError_allowed()
 *	Description : Execution allowed for ResetError attribute
 */
//--------------------------------------------------------
bool AttributeCombiner::is_ResetError_allowed(TANGO_UNUSED(const CORBA::Any &any))
{
	//	Not any excluded states for ResetError command.
	/*----- PROTECTED REGION ID(AttributeCombiner::ResetErrorStateAllowed) ENABLED START -----*/
	
	/*----- PROTECTED REGION END -----*/	//	AttributeCombiner::ResetErrorStateAllowed
	return true;
}

//--------------------------------------------------------
/**
 *	Method      : AttributeCombiner::is_EnableDevice_allowed()
 *	Description : Execution allowed for EnableDevice attribute
 */
//--------------------------------------------------------
bool AttributeCombiner::is_EnableDevice_allowed(TANGO_UNUSED(const CORBA::Any &any))
{
	//	Not any excluded states for EnableDevice command.
	/*----- PROTECTED REGION ID(AttributeCombiner::EnableDeviceStateAllowed) ENABLED START -----*/
	
	/*----- PROTECTED REGION END -----*/	//	AttributeCombiner::EnableDeviceStateAllowed
	return true;
}

//--------------------------------------------------------
/**
 *	Method      : AttributeCombiner::is_DisableDevice_allowed()
 *	Description : Execution allowed for DisableDevice attribute
 */
//--------------------------------------------------------
bool AttributeCombiner::is_DisableDevice_allowed(TANGO_UNUSED(const CORBA::Any &any))
{
	//	Not any excluded states for DisableDevice command.
	/*----- PROTECTED REGION ID(AttributeCombiner::DisableDeviceStateAllowed) ENABLED START -----*/
	
	/*----- PROTECTED REGION END -----*/	//	AttributeCombiner::DisableDeviceStateAllowed
	return true;
}

//--------------------------------------------------------
/**
 *	Method      : AttributeCombiner::is_Indice2Devicename_allowed()
 *	Description : Execution allowed for Indice2Devicename attribute
 */
//--------------------------------------------------------
bool AttributeCombiner::is_Indice2Devicename_allowed(TANGO_UNUSED(const CORBA::Any &any))
{
	//	Not any excluded states for Indice2Devicename command.
	/*----- PROTECTED REGION ID(AttributeCombiner::Indice2DevicenameStateAllowed) ENABLED START -----*/
	
	/*----- PROTECTED REGION END -----*/	//	AttributeCombiner::Indice2DevicenameStateAllowed
	return true;
}

//--------------------------------------------------------
/**
 *	Method      : AttributeCombiner::is_Devicename2Indice_allowed()
 *	Description : Execution allowed for Devicename2Indice attribute
 */
//--------------------------------------------------------
bool AttributeCombiner::is_Devicename2Indice_allowed(TANGO_UNUSED(const CORBA::Any &any))
{
	//	Not any excluded states for Devicename2Indice command.
	/*----- PROTECTED REGION ID(AttributeCombiner::Devicename2IndiceStateAllowed) ENABLED START -----*/
	
	/*----- PROTECTED REGION END -----*/	//	AttributeCombiner::Devicename2IndiceStateAllowed
	return true;
}

//--------------------------------------------------------
/**
 *	Method      : AttributeCombiner::is_DisableAll_allowed()
 *	Description : Execution allowed for DisableAll attribute
 */
//--------------------------------------------------------
bool AttributeCombiner::is_DisableAll_allowed(TANGO_UNUSED(const CORBA::Any &any))
{
	//	Not any excluded states for DisableAll command.
	/*----- PROTECTED REGION ID(AttributeCombiner::DisableAllStateAllowed) ENABLED START -----*/
	
	/*----- PROTECTED REGION END -----*/	//	AttributeCombiner::DisableAllStateAllowed
	return true;
}

//--------------------------------------------------------
/**
 *	Method      : AttributeCombiner::is_EnableAll_allowed()
 *	Description : Execution allowed for EnableAll attribute
 */
//--------------------------------------------------------
bool AttributeCombiner::is_EnableAll_allowed(TANGO_UNUSED(const CORBA::Any &any))
{
	//	Not any excluded states for EnableAll command.
	/*----- PROTECTED REGION ID(AttributeCombiner::EnableAllStateAllowed) ENABLED START -----*/
	
	/*----- PROTECTED REGION END -----*/	//	AttributeCombiner::EnableAllStateAllowed
	return true;
}

//--------------------------------------------------------
/**
 *	Method      : AttributeCombiner::is_saveAttribute_allowed()
 *	Description : Execution allowed for saveAttribute attribute
 */
//--------------------------------------------------------
bool AttributeCombiner::is_saveAttribute_allowed(TANGO_UNUSED(const CORBA::Any &any))
{
	//	Not any excluded states for saveAttribute command.
	/*----- PROTECTED REGION ID(AttributeCombiner::saveAttributeStateAllowed) ENABLED START -----*/
	
	/*----- PROTECTED REGION END -----*/	//	AttributeCombiner::saveAttributeStateAllowed
	return true;
}

Jean-Luc Pons's avatar
Jean-Luc Pons committed

/*----- PROTECTED REGION ID(AttributeCombiner::AttributeCombinerStateAllowed.AdditionalMethods) ENABLED START -----*/

//	Additional Methods

/*----- PROTECTED REGION END -----*/	//	AttributeCombiner::AttributeCombinerStateAllowed.AdditionalMethods

}	//	End of namespace