mirror of
https://github.com/nasa/fprime.git
synced 2025-12-11 13:54:34 -06:00
* 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>
24 lines
654 B
C++
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
|