fprime/Autocoders/Python/test/enum_xml/Component1Impl.hpp
Simone Morettini 36514483e3
Fix autogeneration of header guards and tests (#1734)
* Fix autogeneration of header guards and tests

* Updated namespace generation to support nested namespaces
* Update namespace generation for arrays and enums to support C++11
* Made UT of nested namespaces for enum and arrays

* Fix of wrong path changed locally

* #1734: Fix Python formatting

* #1734: Fix Python formatting

---------

Co-authored-by: Simone Morettini <simone.morettini@redwirespaceeurope.com>
2023-02-03 13:36:29 -08:00

24 lines
654 B
C++

#ifndef EXAMPLE_ENUM_IMPL_HPP
#define EXAMPLE_ENUM_IMPL_HPP
#include <Autocoders/Python/test/enum_xml/Component1ComponentAc.hpp>
namespace Example {
class ExampleEnumImpl : public Component1ComponentBase {
public:
// Only called by derived class
ExampleEnumImpl(const char* compName);
~ExampleEnumImpl();
void init(NATIVE_INT_TYPE queueDepth);
private:
void ExEnumIn_handler(NATIVE_INT_TYPE portNum, const Example::SubNamespace::Enum1& enum1, const Example::Serial1& serial1);
void EnumIn_handler(NATIVE_INT_TYPE portNum, const Example::SubNamespace::Enum1& enum1, const Example::Serial1& serial1);
};
};
#endif