#include #include #include #include #include using namespace std; namespace Example { ExampleArrayImpl::ExampleArrayImpl(const char* compName) : Component1ComponentBase(compName) { } ExampleArrayImpl::~ExampleArrayImpl() { } void ExampleArrayImpl::init(NATIVE_INT_TYPE queueDepth) { Component1ComponentBase::init(queueDepth); } void ExampleArrayImpl::ExArrayIn_handler(FwIndexType portNum, const Example::SubNameSpace::ArrayType& array1, const Example::ArrSerial& serial1) { Fw::String s; array1.toString(s); printf("%s Invoked ExArrayIn_handler();\n%s", FW_OPTIONAL_NAME(this->getObjName()), s.toChar()); this->ArrayOut_out(0, array1, serial1); } void ExampleArrayImpl::ArrayIn_handler(FwIndexType portNum, const Example::SubNameSpace::ArrayType& array1, const Example::ArrSerial& serial1) { Fw::String s; array1.toString(s); printf("%s Invoked ArrayIn_handler(%d);\n%s", FW_OPTIONAL_NAME(this->getObjName()), portNum, s.toChar()); } };