fprime/Autocoders/Python/test/array_xml/ExampleArrayImpl.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
676 B
C++

#ifndef EXAMPLE_ARRAY_IMPL_HPP
#define EXAMPLE_ARRAY_IMPL_HPP
#include <Autocoders/Python/test/array_xml/Component1ComponentAc.hpp>
namespace Example {
class ExampleArrayImpl : public Component1ComponentBase {
public:
// Only called by derived class
ExampleArrayImpl(const char* compName);
~ExampleArrayImpl();
void init(NATIVE_INT_TYPE queueDepth);
private:
void ExArrayIn_handler(NATIVE_INT_TYPE portNum, const Example::SubNameSpace::ArrayType& array1, const Example::ArrSerial& serial1);
void ArrayIn_handler(NATIVE_INT_TYPE portNum, const Example::SubNameSpace::ArrayType& array1, const Example::ArrSerial& serial1);
};
};
#endif