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

#ifndef DetectaAlteracaoRota_H
#define DetectaAlteracaoRota_H

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

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

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

extern const RTActorClass DetectaAlteracaoRota;

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

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

protected:
	// {{{RME classifier 'Logical View::DetectaAlteracaoRota' 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_DetectaAlteracaoRota_fields[];
};
#undef SUPER

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

#endif /* DetectaAlteracaoRota_H */

// }}}RME
