mirror of
https://github.com/nasa/fpp.git
synced 2025-12-10 00:40:22 -06:00
104 lines
2.3 KiB
C++
Vendored
104 lines
2.3 KiB
C++
Vendored
// ======================================================================
|
|
// \title NestedNamespacesTopologyAc.hpp
|
|
// \author Generated by fpp-to-cpp
|
|
// \brief hpp file for NestedNamespaces topology
|
|
// ======================================================================
|
|
|
|
#ifndef M_NestedNamespacesTopologyAc_HPP
|
|
#define M_NestedNamespacesTopologyAc_HPP
|
|
|
|
#include "C.hpp"
|
|
#include "NestedNamespacesTopologyDefs.hpp"
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Component instances
|
|
// ----------------------------------------------------------------------
|
|
|
|
//! c
|
|
extern M::N::O::C c;
|
|
|
|
namespace M {
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Constants
|
|
// ----------------------------------------------------------------------
|
|
|
|
namespace BaseIds {
|
|
enum {
|
|
c = 0x100,
|
|
};
|
|
}
|
|
|
|
namespace InstanceIds {
|
|
enum {
|
|
c,
|
|
};
|
|
}
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Helper functions
|
|
// ----------------------------------------------------------------------
|
|
|
|
//! Initialize components
|
|
void initComponents(
|
|
const TopologyState& state //!< The topology state
|
|
);
|
|
|
|
//! Configure components
|
|
void configComponents(
|
|
const TopologyState& state //!< The topology state
|
|
);
|
|
|
|
//! Set component base Ids
|
|
void setBaseIds();
|
|
|
|
//! Connect components
|
|
void connectComponents();
|
|
|
|
//! Register commands
|
|
void regCommands();
|
|
|
|
//! Read parameters
|
|
void readParameters();
|
|
|
|
//! Load parameters
|
|
void loadParameters();
|
|
|
|
//! Start tasks
|
|
void startTasks(
|
|
const TopologyState& state //!< The topology state
|
|
);
|
|
|
|
//! Stop tasks
|
|
void stopTasks(
|
|
const TopologyState& state //!< The topology state
|
|
);
|
|
|
|
//! Free threads
|
|
void freeThreads(
|
|
const TopologyState& state //!< The topology state
|
|
);
|
|
|
|
//! Tear down components
|
|
void tearDownComponents(
|
|
const TopologyState& state //!< The topology state
|
|
);
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Setup and teardown functions
|
|
// ----------------------------------------------------------------------
|
|
|
|
//! Set up the topology
|
|
void setup(
|
|
const TopologyState& state //!< The topology state
|
|
);
|
|
|
|
//! Tear down the topology
|
|
void teardown(
|
|
const TopologyState& state //!< The topology state
|
|
);
|
|
|
|
}
|
|
|
|
#endif
|