\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[UKenglish]{babel}
\usepackage{xcolor}

\usepackage{circus}
\usepackage{hijac}

\usepackage[top=2cm, bottom=2cm, left=2cm, right=2cm]{geometry}

\title{aircraft}

\author{Tight Rope v0.65}

\date{\today}

\begin{document}

\maketitle

\section{ID Files}
\subsection{MissionIds}
\input{MissionIds.circus}
\newpage

\subsection{SchedulablesIds}
\input{SchedulableIds.circus}
\newpage

\subsection{ThreadIds}
\input{ThreadIds.circus}
\newpage

\subsection{ObjectIds}
\input{ObjectIds.circus}
\newpage

\section{Network}
\input{Network.circus}
\newpage


\section{Safelet}
\input{ACSafeletApp.circus}
\IfFileExists{ACSafeletClass.circus}{\newpage
\input{ACSafeletClass.circus}}{}
\newpage
\IfFileExists{ACSafeletMethChan.circus}{\newpage
\input{ACSafeletMethChan.circus}}{}
\newpage

\section{Top Level Mission Sequencer}
\input{MainMissionSequencerApp.circus}
\IfFileExists{MainMissionSequencerClass.circus}{\newpage
\input{MainMissionSequencerClass.circus}}{}
\newpage
\IfFileExists{MainMissionSequencerMethChan.circus}{\newpage
\input{MainMissionSequencerMethChan.circus}}{}
\newpage

\section{Missions}


\subsection{MainMission}
\input{MainMissionApp.circus}
\IfFileExists{MainMissionClass.circus}{\newpage
\input{MainMissionClass.circus}}{}
\newpage
\IfFileExists{MainMissionMethChan.circus}{\newpage
\input{MainMissionMethChan.circus}}{}
\newpage

\subsection{Schedulables of MainMission}

\input{ACModeChangerApp.circus}
\IfFileExists{ACModeChangerClass.circus}{\newpage
\input{ACModeChangerClass.circus}}{}
\newpage
\IfFileExists{ACModeChangerMethChan.circus}{\newpage
\input{ACModeChangerMethChan.circus}}{}

\newpage

\input{ControlHandlerApp.circus}
\IfFileExists{ControlHandlerClass.circus}{\newpage
\input{ControlHandlerClass.circus}}{}
\newpage
\IfFileExists{ControlHandlerMethChan.circus}{\newpage
\input{ControlHandlerMethChan.circus}}{}

\newpage

\input{CommunicationsHandlerApp.circus}
\IfFileExists{CommunicationsHandlerClass.circus}{\newpage
\input{CommunicationsHandlerClass.circus}}{}
\newpage
\IfFileExists{CommunicationsHandlerMethChan.circus}{\newpage
\input{CommunicationsHandlerMethChan.circus}}{}

\newpage

\input{EnvironmentMonitorApp.circus}
\IfFileExists{EnvironmentMonitorClass.circus}{\newpage
\input{EnvironmentMonitorClass.circus}}{}
\newpage
\IfFileExists{EnvironmentMonitorMethChan.circus}{\newpage
\input{EnvironmentMonitorMethChan.circus}}{}

\newpage

\input{FlightSensorsMonitorApp.circus}
\IfFileExists{FlightSensorsMonitorClass.circus}{\newpage
\input{FlightSensorsMonitorClass.circus}}{}
\newpage
\IfFileExists{FlightSensorsMonitorMethChan.circus}{\newpage
\input{FlightSensorsMonitorMethChan.circus}}{}

\newpage

\input{AperiodicSimulatorApp.circus}
\IfFileExists{AperiodicSimulatorClass.circus}{\newpage
\input{AperiodicSimulatorClass.circus}}{}
\newpage
\IfFileExists{AperiodicSimulatorMethChan.circus}{\newpage
\input{AperiodicSimulatorMethChan.circus}}{}


\subsection{TakeOffMission}
\input{TakeOffMissionApp.circus}
\IfFileExists{TakeOffMissionClass.circus}{\newpage
\input{TakeOffMissionClass.circus}}{}
\newpage
\IfFileExists{TakeOffMissionMethChan.circus}{\newpage
\input{TakeOffMissionMethChan.circus}}{}
\newpage

\subsection{Schedulables of TakeOffMission}

\input{LandingGearHandlerTakeOffApp.circus}
\IfFileExists{LandingGearHandlerTakeOffClass.circus}{\newpage
\input{LandingGearHandlerTakeOffClass.circus}}{}
\newpage
\IfFileExists{LandingGearHandlerTakeOffMethChan.circus}{\newpage
\input{LandingGearHandlerTakeOffMethChan.circus}}{}

\newpage

\input{TakeOffFailureHandlerApp.circus}
\IfFileExists{TakeOffFailureHandlerClass.circus}{\newpage
\input{TakeOffFailureHandlerClass.circus}}{}
\newpage
\IfFileExists{TakeOffFailureHandlerMethChan.circus}{\newpage
\input{TakeOffFailureHandlerMethChan.circus}}{}

\newpage

\input{TakeOffMonitorApp.circus}
\IfFileExists{TakeOffMonitorClass.circus}{\newpage
\input{TakeOffMonitorClass.circus}}{}
\newpage
\IfFileExists{TakeOffMonitorMethChan.circus}{\newpage
\input{TakeOffMonitorMethChan.circus}}{}

\subsection{CruiseMission}
\input{CruiseMissionApp.circus}
\IfFileExists{CruiseMissionClass.circus}{\newpage
\input{CruiseMissionClass.circus}}{}
\newpage
\IfFileExists{CruiseMissionMethChan.circus}{\newpage
\input{CruiseMissionMethChan.circus}}{}
\newpage

\subsection{Schedulables of CruiseMission}

\input{BeginLandingHandlerApp.circus}
\IfFileExists{BeginLandingHandlerClass.circus}{\newpage
\input{BeginLandingHandlerClass.circus}}{}
\newpage
\IfFileExists{BeginLandingHandlerMethChan.circus}{\newpage
\input{BeginLandingHandlerMethChan.circus}}{}

\newpage

\input{NavigationMonitorApp.circus}
\IfFileExists{NavigationMonitorClass.circus}{\newpage
\input{NavigationMonitorClass.circus}}{}
\newpage
\IfFileExists{NavigationMonitorMethChan.circus}{\newpage
\input{NavigationMonitorMethChan.circus}}{}

\subsection{LandMission}
\input{LandMissionApp.circus}
\IfFileExists{LandMissionClass.circus}{\newpage
\input{LandMissionClass.circus}}{}
\newpage
\IfFileExists{LandMissionMethChan.circus}{\newpage
\input{LandMissionMethChan.circus}}{}
\newpage

\subsection{Schedulables of LandMission}

\input{LandingGearHandlerLandApp.circus}
\IfFileExists{LandingGearHandlerLandClass.circus}{\newpage
\input{LandingGearHandlerLandClass.circus}}{}
\newpage
\IfFileExists{LandingGearHandlerLandMethChan.circus}{\newpage
\input{LandingGearHandlerLandMethChan.circus}}{}

\newpage

\input{SafeLandingHandlerApp.circus}
\IfFileExists{SafeLandingHandlerClass.circus}{\newpage
\input{SafeLandingHandlerClass.circus}}{}
\newpage
\IfFileExists{SafeLandingHandlerMethChan.circus}{\newpage
\input{SafeLandingHandlerMethChan.circus}}{}

\newpage

\input{GroundDistanceMonitorApp.circus}
\IfFileExists{GroundDistanceMonitorClass.circus}{\newpage
\input{GroundDistanceMonitorClass.circus}}{}
\newpage
\IfFileExists{GroundDistanceMonitorMethChan.circus}{\newpage
\input{GroundDistanceMonitorMethChan.circus}}{}

\newpage

\input{InstrumentLandingSystemMonitorApp.circus}
\IfFileExists{InstrumentLandingSystemMonitorClass.circus}{\newpage
\input{InstrumentLandingSystemMonitorClass.circus}}{}
\newpage
\IfFileExists{InstrumentLandingSystemMonitorMethChan.circus}{\newpage
\input{InstrumentLandingSystemMonitorMethChan.circus}}{}



\end{document}
