\hypertarget{a00554_source}{}\doxysection{AAX\+\_\+\+Transport\+Types.\+h}
\label{a00554_source}\index{AAX\_TransportTypes.h@{AAX\_TransportTypes.h}}
\mbox{\hyperlink{a00554}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00002\ \textcolor{comment}{/*}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ \ Copyright\ 2020-\/2021,\ 2023\ Avid\ Technology,\ Inc.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ \ All\ rights\ reserved.}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ \ CONFIDENTIAL:\ this\ document\ contains\ confidential\ information\ of\ Avid.\ Do}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ \ not\ disclose\ to\ any\ third\ party.\ Use\ of\ the\ information\ contained\ in\ this}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ \ document\ is\ subject\ to\ an\ Avid\ SDK\ license.}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00012\ }
\DoxyCodeLine{00019\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00020\ }
\DoxyCodeLine{00021\ \textcolor{preprocessor}{\#ifndef\ AAX\_TransportTypes\_h\_}}
\DoxyCodeLine{00022\ \textcolor{preprocessor}{\#define\ AAX\_TransportTypes\_h\_}}
\DoxyCodeLine{00023\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00024\ }
\DoxyCodeLine{00025\ \textcolor{comment}{//\ AAX\ Includes}}
\DoxyCodeLine{00026\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00533}{AAX.h}}"{}}}
\DoxyCodeLine{00027\ }
\DoxyCodeLine{00028\ \textcolor{comment}{//\ Standard\ Library\ Includes}}
\DoxyCodeLine{00029\ \textcolor{preprocessor}{\#include\ <string>}}
\DoxyCodeLine{00030\ \textcolor{preprocessor}{\#include\ <sstream>}}
\DoxyCodeLine{00031\ }
\DoxyCodeLine{00032\ \textcolor{preprocessor}{\#include\ AAX\_ALIGN\_FILE\_BEGIN}}
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#include\ AAX\_ALIGN\_FILE\_HOST}}
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#include\ AAX\_ALIGN\_FILE\_END}}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00039\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{a02337}{AAX\_TransportStateInfo\_V1}}}
\DoxyCodeLine{00040\ \{}
\DoxyCodeLine{00041\ \ \ \ \ \mbox{\hyperlink{a00443_adefd494247774bd41439464b1fc0c91e}{AAX\_ETransportState}}\ \ \mbox{\hyperlink{a02337_a7df96947162785bf536eae694c8770d0}{mTransportState}};}
\DoxyCodeLine{00042\ \ \ \ \ \mbox{\hyperlink{a00443_a0d4337f7abfc9a4a9466d222645a20ed}{AAX\_ERecordMode}}\ \ \mbox{\hyperlink{a02337_aa2df5905b113e180d8706e1212d9027a}{mRecordMode}};}
\DoxyCodeLine{00043\ \ \ \ \ \mbox{\hyperlink{a00533_aa216506530f1d19a2965931ced2b274b}{AAX\_CBoolean}}\ \mbox{\hyperlink{a02337_a4539ee892cd92839a6ac1dc76f2423bd}{mIsRecordEnabled}};}
\DoxyCodeLine{00044\ \ \ \ \ \mbox{\hyperlink{a00533_aa216506530f1d19a2965931ced2b274b}{AAX\_CBoolean}}\ \mbox{\hyperlink{a02337_a7419a83c9e7eb629995a05caeb7c8fac}{mIsRecording}};}
\DoxyCodeLine{00045\ \ \ \ \ \mbox{\hyperlink{a00533_aa216506530f1d19a2965931ced2b274b}{AAX\_CBoolean}}\ \mbox{\hyperlink{a02337_aebe2578ac9bed0fdc3f99fce5f92f37e}{mIsLoopEnabled}};}
\DoxyCodeLine{00046\ }
\DoxyCodeLine{00047\ \ \ \ \ \mbox{\hyperlink{a02337_a779b5dc678596bc8607624bdf3ab4ee5}{AAX\_TransportStateInfo\_V1}}()\ :}
\DoxyCodeLine{00048\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a02337_a7df96947162785bf536eae694c8770d0}{mTransportState}}(\mbox{\hyperlink{a00443_adefd494247774bd41439464b1fc0c91ead86b357d2fafa358a84c50380d16c1e2}{AAX\_eTransportState\_Unknown}}),}
\DoxyCodeLine{00049\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a02337_aa2df5905b113e180d8706e1212d9027a}{mRecordMode}}(\mbox{\hyperlink{a00443_a0d4337f7abfc9a4a9466d222645a20edae589aa227f85d585333d18c0319d5d18}{AAX\_eRecordMode\_Unknown}}),\ }
\DoxyCodeLine{00050\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a02337_a4539ee892cd92839a6ac1dc76f2423bd}{mIsRecordEnabled}}(false),\ }
\DoxyCodeLine{00051\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a02337_a7419a83c9e7eb629995a05caeb7c8fac}{mIsRecording}}(false),\ }
\DoxyCodeLine{00052\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a02337_aebe2578ac9bed0fdc3f99fce5f92f37e}{mIsLoopEnabled}}(false)}
\DoxyCodeLine{00053\ \ \ \ \ \{}
\DoxyCodeLine{00054\ \ \ \ \ \ \ \ \ \textcolor{keyword}{static\_assert}(\textcolor{keyword}{sizeof}(\mbox{\hyperlink{a02337_a779b5dc678596bc8607624bdf3ab4ee5}{AAX\_TransportStateInfo\_V1}})\ ==\ 12,\ \textcolor{stringliteral}{"{}Invalid\ size\ of\ AAX\_TransportStateInfo\_V1\ struct\ during\ compilation!"{}});}
\DoxyCodeLine{00055\ \ \ \ \ \}}
\DoxyCodeLine{00056\ }
\DoxyCodeLine{00057\ \ \ \ \ \textcolor{keyword}{inline}\ std::string\ \mbox{\hyperlink{a02337_a0d2c44ac0eaf9a56e2c17790b6204d53}{ToString}}()\textcolor{keyword}{\ const}}
\DoxyCodeLine{00058\ \textcolor{keyword}{\ \ \ \ }\{}
\DoxyCodeLine{00059\ \ \ \ \ \ \ \ \ std::stringstream\ ss;}
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00061\ \ \ \ \ \ \ \ \ ss\ <<\ \textcolor{stringliteral}{"{}\{"{}}\ <<\ std::endl;}
\DoxyCodeLine{00062\ \ \ \ \ \ \ \ \ ss\ <<\ \textcolor{stringliteral}{"{}\(\backslash\)"{}transport\_state\(\backslash\)"{}:\ "{}}\ <<\ \mbox{\hyperlink{a02337_a7df96947162785bf536eae694c8770d0}{mTransportState}}\ <<\ \textcolor{stringliteral}{"{},"{}}\ <<\ std::endl;}
\DoxyCodeLine{00063\ \ \ \ \ \ \ \ \ ss\ <<\ \textcolor{stringliteral}{"{}\(\backslash\)"{}record\_mode\(\backslash\)"{}:\ "{}}\ <<\ \mbox{\hyperlink{a02337_aa2df5905b113e180d8706e1212d9027a}{mRecordMode}}\ <<\ \textcolor{stringliteral}{"{},"{}}\ <<\ std::endl;}
\DoxyCodeLine{00064\ \ \ \ \ \ \ \ \ ss\ <<\ \textcolor{stringliteral}{"{}\(\backslash\)"{}is\_record\_enabled\(\backslash\)"{}:\ "{}}\ <<\ \mbox{\hyperlink{a02337_a4539ee892cd92839a6ac1dc76f2423bd}{mIsRecordEnabled}}\ <<\ \textcolor{stringliteral}{"{},"{}}\ <<\ std::endl;}
\DoxyCodeLine{00065\ \ \ \ \ \ \ \ \ ss\ <<\ \textcolor{stringliteral}{"{}\(\backslash\)"{}is\_recording\(\backslash\)"{}:\ "{}}\ <<\ \mbox{\hyperlink{a02337_a7419a83c9e7eb629995a05caeb7c8fac}{mIsRecording}}\ <<\ \textcolor{stringliteral}{"{},"{}}\ <<\ std::endl;}
\DoxyCodeLine{00066\ \ \ \ \ \ \ \ \ ss\ <<\ \textcolor{stringliteral}{"{}\(\backslash\)"{}is\_loop\_enabled\(\backslash\)"{}:\ "{}}\ <<\ \mbox{\hyperlink{a02337_aebe2578ac9bed0fdc3f99fce5f92f37e}{mIsLoopEnabled}}\ <<\ std::endl;}
\DoxyCodeLine{00067\ \ \ \ \ \ \ \ \ ss\ <<\ \textcolor{stringliteral}{"{}\}"{}};}
\DoxyCodeLine{00068\ }
\DoxyCodeLine{00069\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ ss.str();}
\DoxyCodeLine{00070\ \ \ \ \ \}}
\DoxyCodeLine{00071\ \};}
\DoxyCodeLine{00072\ }
\DoxyCodeLine{00073\ \textcolor{preprocessor}{\#include\ AAX\_ALIGN\_FILE\_BEGIN}}
\DoxyCodeLine{00074\ \textcolor{preprocessor}{\#include\ AAX\_ALIGN\_FILE\_RESET}}
\DoxyCodeLine{00075\ \textcolor{preprocessor}{\#include\ AAX\_ALIGN\_FILE\_END}}
\DoxyCodeLine{00076\ }
\DoxyCodeLine{00077\ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{a00554_a50fc0a1c014613c17a44dbae8dcc452f}{operator==}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a02337}{AAX\_TransportStateInfo\_V1}}\&\ state1,\ \textcolor{keyword}{const}\ \mbox{\hyperlink{a02337}{AAX\_TransportStateInfo\_V1}}\&\ state2)}
\DoxyCodeLine{00078\ \{}
\DoxyCodeLine{00079\ \ \ \ \ \textcolor{keywordflow}{return}\ (state1.\mbox{\hyperlink{a02337_a7df96947162785bf536eae694c8770d0}{mTransportState}}\ ==\ state2.\mbox{\hyperlink{a02337_a7df96947162785bf536eae694c8770d0}{mTransportState}})\ \&\&\ (state1.\mbox{\hyperlink{a02337_aa2df5905b113e180d8706e1212d9027a}{mRecordMode}}\ ==\ state2.\mbox{\hyperlink{a02337_aa2df5905b113e180d8706e1212d9027a}{mRecordMode}})\ \&\&}
\DoxyCodeLine{00080\ \ \ \ \ \ \ \ \ (state1.\mbox{\hyperlink{a02337_a4539ee892cd92839a6ac1dc76f2423bd}{mIsRecordEnabled}}\ ==\ state2.\mbox{\hyperlink{a02337_a4539ee892cd92839a6ac1dc76f2423bd}{mIsRecordEnabled}})\ \&\&\ (state1.\mbox{\hyperlink{a02337_a7419a83c9e7eb629995a05caeb7c8fac}{mIsRecording}}\ ==\ state2.\mbox{\hyperlink{a02337_a7419a83c9e7eb629995a05caeb7c8fac}{mIsRecording}})\ \&\&}
\DoxyCodeLine{00081\ \ \ \ \ \ \ \ \ (state1.\mbox{\hyperlink{a02337_aebe2578ac9bed0fdc3f99fce5f92f37e}{mIsLoopEnabled}}\ ==\ state2.\mbox{\hyperlink{a02337_aebe2578ac9bed0fdc3f99fce5f92f37e}{mIsLoopEnabled}});}
\DoxyCodeLine{00082\ \}}
\DoxyCodeLine{00083\ }
\DoxyCodeLine{00084\ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{a00554_a7a85c8cb6d9c663e46edccf7cbf878fa}{operator!=}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a02337}{AAX\_TransportStateInfo\_V1}}\&\ state1,\ \textcolor{keyword}{const}\ \mbox{\hyperlink{a02337}{AAX\_TransportStateInfo\_V1}}\&\ state2)}
\DoxyCodeLine{00085\ \{}
\DoxyCodeLine{00086\ \ \ \ \ \textcolor{keywordflow}{return}\ !(state1\ ==\ state2);}
\DoxyCodeLine{00087\ \}}
\DoxyCodeLine{00088\ }
\DoxyCodeLine{00089\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ \#ifndef\ AAX\_TransportTypes\_h\_}}

\end{DoxyCode}
