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

#ifndef DetectarAlteracaoRota_H
#define DetectarAlteracaoRota_H

#ifdef PRAGMA
#pragma interface "DetectarAlteracaoRota.h"
#endif

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

// {{{RME classifier 'Logical View::DetectarAlteracaoRota' tool 'OT::Cpp' property 'HeaderPreface'
// {{{USR tool 'OT::Cpp' property 'HeaderPreface'
// }}}USR
// }}}RME

extern const RTActorClass DetectarAlteracaoRota;

#define SUPER RTActor
class DetectarAlteracaoRota_Actor : public RTActor
{
private:
	// {{{RME classifier 'Logical View::DetectarAlteracaoRota' classAttribute 'ForaRota'
	double ForaRota;
	// }}}RME
	// {{{RME classifier 'Logical View::DetectarAlteracaoRota' classAttribute 'DesAngular'
	float DesAngular;
	// }}}RME
	// {{{RME classifier 'Logical View::DetectarAlteracaoRota' classAttribute 'DesLinear'
	float DesLinear;
	// }}}RME
	// {{{RME classifier 'Logical View::DetectarAlteracaoRota' classAttribute 'PosBase'
	float PosBase;
	// }}}RME

public:
	// {{{RME classifier 'Logical View::DetectarAlteracaoRota' port 'NewPort1'
	CommAlteracaoRota::Base NewPort1;
	// }}}RME
	DetectarAlteracaoRota_Actor( RTController * rtg_rts, RTActorRef * rtg_ref );
	virtual ~DetectarAlteracaoRota_Actor( void );

protected:
	// {{{RME classifier 'Logical View::DetectarAlteracaoRota' operation 'Informar_Alteracao()'
	void Informar_Alteracao( void );
	// }}}RME

public:
	virtual int _followInV( RTBindingEnd & rtg_end, int rtg_portId, int rtg_repIndex );

private:
	INLINE_CHAINS void chain1_Initial( void );

public:
	virtual void rtsBehavior( int signalIndex, int portIndex );
	virtual const RTActor_class * getActorData( void ) const;

protected:
	static const RTActor_class rtg_class;

public:
	static const RTStateId rtg_parent_state[];

private:
	static const RTPortDescriptor rtg_ports[];

public:
	static const RTFieldDescriptor rtg_DetectarAlteracaoRota_fields[];
};
#undef SUPER

// {{{RME classifier 'Logical View::DetectarAlteracaoRota' tool 'OT::Cpp' property 'HeaderEnding'
// {{{USR tool 'OT::Cpp' property 'HeaderEnding'
// }}}USR
// }}}RME

#endif /* DetectarAlteracaoRota_H */

// }}}RME
