fpp/compiler/tools/fpp-to-cpp/test/component/impl/PassiveTelemetry.template.ref.hpp
2023-07-13 08:13:47 -07:00

123 lines
3.6 KiB
C++

// ======================================================================
// \title PassiveTelemetry.template.hpp
// \author Generated by fpp-to-cpp
// \brief hpp file for PassiveTelemetry component implementation class
// ======================================================================
#ifndef PassiveTelemetry_HPP
#define PassiveTelemetry_HPP
#include "PassiveTelemetryComponentAc.hpp"
class PassiveTelemetry :
public PassiveTelemetryComponentBase
{
public:
// ----------------------------------------------------------------------
// Component construction and destruction
// ----------------------------------------------------------------------
//! Construct PassiveTelemetry object
PassiveTelemetry(
const char* const compName //!< The component name
);
//! Destroy PassiveTelemetry object
~PassiveTelemetry();
PRIVATE:
// ----------------------------------------------------------------------
// Handler implementations for user-defined typed input ports
// ----------------------------------------------------------------------
//! Handler implementation for noArgsGuarded
//!
//! A typed guarded input
void noArgsGuarded_handler(
NATIVE_INT_TYPE portNum //!< The port number
);
//! Handler implementation for noArgsReturnGuarded
//!
//! A typed guarded input
U32 noArgsReturnGuarded_handler(
NATIVE_INT_TYPE portNum //!< The port number
);
//! Handler implementation for noArgsReturnSync
//!
//! A typed sync input port
U32 noArgsReturnSync_handler(
NATIVE_INT_TYPE portNum //!< The port number
);
//! Handler implementation for noArgsSync
//!
//! A typed sync input port
void noArgsSync_handler(
NATIVE_INT_TYPE portNum //!< The port number
);
//! Handler implementation for typedGuarded
//!
//! A typed guarded input
void typedGuarded_handler(
NATIVE_INT_TYPE portNum, //!< The port number
U32 u32, //!< A U32
F32 f32, //!< An F32
bool b, //!< A boolean
const TypedPortStrings::StringSize80& str1, //!< A string
const E& e, //!< An enum
const A& a, //!< An array
const S& s //!< A struct
);
//! Handler implementation for typedReturnGuarded
//!
//! A typed guarded input with a return type
F32 typedReturnGuarded_handler(
NATIVE_INT_TYPE portNum, //!< The port number
U32 u32, //!< A U32
F32 f32, //!< An F32
bool b, //!< A boolean
const TypedReturnPortStrings::StringSize80& str2, //!< A string
const E& e, //!< An enum
const A& a, //!< An array
const S& s //!< A struct
);
//! Handler implementation for typedReturnSync
//!
//! A typed sync input port with a return type
F32 typedReturnSync_handler(
NATIVE_INT_TYPE portNum, //!< The port number
U32 u32, //!< A U32
F32 f32, //!< An F32
bool b, //!< A boolean
const TypedReturnPortStrings::StringSize80& str2, //!< A string
const E& e, //!< An enum
const A& a, //!< An array
const S& s //!< A struct
);
//! Handler implementation for typedSync
//!
//! A typed sync input port
void typedSync_handler(
NATIVE_INT_TYPE portNum, //!< The port number
U32 u32, //!< A U32
F32 f32, //!< An F32
bool b, //!< A boolean
const TypedPortStrings::StringSize80& str1, //!< A string
const E& e, //!< An enum
const A& a, //!< An array
const S& s //!< A struct
);
};
#endif