// {{{RME classifier 'Logical View::Sensores'

#if defined( PRAGMA ) && ! defined( PRAGMA_IMPLEMENTED )
#pragma implementation "Sensores.h"
#endif

#include <RTSystem/PVA.h>
#include <Sensores.h>

// {{{RME classifier 'Logical View::Sensores' tool 'OT::Cpp' property 'ImplementationPreface'
// {{{USR tool 'OT::Cpp' property 'ImplementationPreface'
// }}}USR
// }}}RME

static void rtg_Sensores_init( const RTObject_class * type, Sensores * target )
{
	(void)new( target ) Sensores;
}

static void rtg_Sensores_copy( const RTObject_class * type, Sensores * target, const Sensores * source )
{
	(void)new( target ) Sensores( *source );
}

static void rtg_Sensores_destroy( const RTObject_class * type, Sensores * target )
{
	target->~Sensores();
}

const RTObject_class RTType_Sensores =
{
	(const RTObject_class *)0
  , (RTSuperAccessFunction)0
  , "Sensores"
  , (RTVersionId)0
  , (RTFieldOffset)sizeof( Sensores )
  , (RTInitFunction)rtg_Sensores_init
  , (RTCopyFunction)rtg_Sensores_copy
#if OBJECT_DECODE
  , RTstruct_decode
#endif
#if OBJECT_ENCODE
  , RTstruct_encode
#endif
  , (RTDestroyFunction)rtg_Sensores_destroy
  , 3
  , Sensores::rtg_Sensores_fields
};

// {{{RME classifier 'Logical View::Sensores' tool 'OT::Cpp' property 'GenerateDefaultConstructor'
Sensores::Sensores( void )
	: SensorOptico( 0 )
	, Sonar( false )
	, Bussola( 0 )
{
}
// }}}RME

// {{{RME classifier 'Logical View::Sensores' tool 'OT::Cpp' property 'GenerateDestructor'
Sensores::~Sensores( void )
{
}
// }}}RME

// {{{RME classifier 'Logical View::Sensores' tool 'OT::Cpp' property 'GenerateCopyConstructor'
Sensores::Sensores( const Sensores & rtg_arg )
	: SensorOptico( rtg_arg.SensorOptico )
	, Sonar( rtg_arg.Sonar )
	, Bussola( rtg_arg.Bussola )
{
}
// }}}RME

// {{{RME classifier 'Logical View::Sensores' tool 'OT::Cpp' property 'GenerateAssignmentOperator'
Sensores & Sensores::operator=( const Sensores & rtg_arg )
{
	if( this != &rtg_arg )
	{
		SensorOptico = rtg_arg.SensorOptico;
		Sonar = rtg_arg.Sonar;
		Bussola = rtg_arg.Bussola;
	}
	return *this;
}
// }}}RME

// {{{RME classifier 'Logical View::Sensores' operation 'LerDistanciaSO()'
void Sensores::LerDistanciaSO( void )
{
	// {{{USR operation 'LerDistanciaSO()'
	// }}}USR
}
// }}}RME

// {{{RME classifier 'Logical View::Sensores' operation 'LerSonar()'
void Sensores::LerSonar( void )
{
	// {{{USR operation 'LerSonar()'
	// }}}USR
}
// }}}RME

// {{{RME classifier 'Logical View::Sensores' operation 'LerVideo()'
void Sensores::LerVideo( void )
{
	// {{{USR operation 'LerVideo()'
	// }}}USR
}
// }}}RME

// {{{RME classifier 'Logical View::Sensores' operation 'LerBussola()'
void Sensores::LerBussola( void )
{
	// {{{USR operation 'LerBussola()'
	// }}}USR
}
// }}}RME

const RTFieldDescriptor Sensores::rtg_Sensores_fields[] =
{
	// {{{RME classifier 'Logical View::Sensores' classAttribute 'SensorOptico'
	{
		"SensorOptico"
	  , RTOffsetOf( Sensores, SensorOptico )
		// {{{RME classifier 'Logical View::Sensores' classAttribute 'SensorOptico' tool 'OT::CppTargetRTS' property 'TypeDescriptor'
	  , &RTType_double
		// }}}RME
		// {{{RME classifier 'Logical View::Sensores' classAttribute 'SensorOptico' tool 'OT::CppTargetRTS' property 'GenerateTypeModifier'
	  , (const RTTypeModifier *)0
		// }}}RME
	}
	// }}}RME
	// {{{RME classifier 'Logical View::Sensores' classAttribute 'Sonar'
  , {
		"Sonar"
	  , RTOffsetOf( Sensores, Sonar )
		// {{{RME classifier 'Logical View::Sensores' classAttribute 'Sonar' tool 'OT::CppTargetRTS' property 'TypeDescriptor'
	  , &RTType_bool
		// }}}RME
		// {{{RME classifier 'Logical View::Sensores' classAttribute 'Sonar' tool 'OT::CppTargetRTS' property 'GenerateTypeModifier'
	  , (const RTTypeModifier *)0
		// }}}RME
	}
	// }}}RME
	// {{{RME classifier 'Logical View::Sensores' classAttribute 'Bussola'
  , {
		"Bussola"
	  , RTOffsetOf( Sensores, Bussola )
		// {{{RME classifier 'Logical View::Sensores' classAttribute 'Bussola' tool 'OT::CppTargetRTS' property 'TypeDescriptor'
	  , &RTType_double
		// }}}RME
		// {{{RME classifier 'Logical View::Sensores' classAttribute 'Bussola' tool 'OT::CppTargetRTS' property 'GenerateTypeModifier'
	  , (const RTTypeModifier *)0
		// }}}RME
	}
	// }}}RME
};

// {{{RME classifier 'Logical View::Sensores' tool 'OT::Cpp' property 'ImplementationEnding'
// {{{USR tool 'OT::Cpp' property 'ImplementationEnding'
// }}}USR
// }}}RME

// }}}RME
