Skip to content
Snippets Groups Projects
AccessConfStateMachine.cpp 4.22 KiB
Newer Older
/*----- PROTECTED REGION ID(AccessConfStateMachine.cpp) ENABLED START -----*/
//=============================================================================
//
// file :        AccessConfStateMachine.cpp
//
// description : C++ source for the �name� and its alowed
//               methods for commands and attributes
//
// project :     Storage Ring Access.
//
// $Author: graziano $
//
// $Revision: 1.1 $
// $Date: 2012-10-30 09:29:15 $
//
// SVN only:
// $HeadURL:  $
//
// CVS only:
// $Source: /home/cvsadm/cvsroot/fermi/servers/accessconf/src/AccessConfStateMachine.cpp,v $
// $Log: AccessConfStateMachine.cpp,v $
// Revision 1.1  2012-10-30 09:29:15  graziano
// *** empty log message ***
//
//
//
//=============================================================================
//                This file is generated by POGO
//        (Program Obviously used to Generate tango Object)
//=============================================================================



#include <AccessConf.h>
#include <AccessConfClass.h>

/*----- PROTECTED REGION END -----*/


/*
 * AccessConf states description:
 *
 */

namespace AccessConf_ns
{

//=================================================
//		Attributes Allowed Methods
//=================================================
//--------------------------------------------------------
/**
 *	Method      : AccessConf::is_Version_allowed()
 *	Description : Execution allowed for Version attribute.
 */
//--------------------------------------------------------

bool AccessConf::is_Version_allowed(Tango::AttReqType type)
{
		//	Not any excluded states for Version attribute in READ access.

	/*----- PROTECTED REGION ID(AccessConf::read_VersionAllowed_READ) ENABLED START -----*/

	/*----- PROTECTED REGION END -----*/	//	AccessConf::read_VersionAllowed_READ

	return true;
}

//--------------------------------------------------------
/**
 *	Method      : AccessConf::is_BoolScalarDynState_allowed()
 *	Description : Execution allowed for BoolScalarDyn attribute.
 */
//--------------------------------------------------------

bool AccessConf::is_BoolScalarDyn_allowed(Tango::AttReqType type)
{
		//	Not any excluded states for BoolScalarDyn attribute in READ access.
	
	/*----- PROTECTED REGION ID(AccessConf::read_BoolScalarDynStateAllowed_READ) ENABLED START -----*/

	/*----- PROTECTED REGION END -----*/	//	AccessConf::read_BoolScalarDynStateAllowed_READ

	return true;
}

//--------------------------------------------------------
/**
 *	Method      : AccessConf::is_BoolSpectrumDynState_allowed()
 *	Description : Execution allowed for BoolSpectrumDyn attribute.
 */
//--------------------------------------------------------

bool AccessConf::is_BoolSpectrumDyn_allowed(Tango::AttReqType type)
{
		//	Not any excluded states for BoolSpectrumDyn attribute in READ access.
	
	/*----- PROTECTED REGION ID(AccessConf::read_BoolSpectrumDynStateAllowed_READ) ENABLED START -----*/

	/*----- PROTECTED REGION END -----*/	//	AccessConf::read_BoolSpectrumDynStateAllowed_READ

	return true;
}

//--------------------------------------------------------
/**
 *	Method      : AccessConf::is_StringSpectrumDynState_allowed()
 *	Description : Execution allowed for StringSpectrumDyn attribute.
 */
//--------------------------------------------------------

bool AccessConf::is_StringSpectrumDyn_allowed(Tango::AttReqType type)
{
		//	Not any excluded states for StringSpectrumDyn attribute in READ access.

	/*----- PROTECTED REGION ID(AccessConf::read_StringSpectrumDynStateAllowed_READ) ENABLED START -----*/

	/*----- PROTECTED REGION END -----*/	//	AccessConf::read_StringSpectrumDynStateAllowed_READ

	return true;
}


	/*----- PROTECTED REGION ID(AccessConf::are_dynamic_attributes_allowed) ENABLED START -----*/

	//	Add your code to check if dynamic attributes are alowed

	/*----- PROTECTED REGION END -----*/	//	AccessConf::are_dynamic_attributes_allowed


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



	/*----- PROTECTED REGION ID(AccessConf::are_dynamic_commands_allowed) ENABLED START -----*/

	//	Add your code to check if dynamic commands are alowed

	/*----- PROTECTED REGION END -----*/	//	AccessConf::are_dynamic_commands_allowed

}	// namespace AccessConf_ns