30 lines
561 B
C++
30 lines
561 B
C++
#pragma once
|
|
|
|
/* MOUNT CONTROL COMPONENTS LIBRARY */
|
|
|
|
/*
|
|
* BASIC EVENTS AND MOUNT STATES DEFINITIONS
|
|
*/
|
|
|
|
|
|
#include "mount.h"
|
|
|
|
namespace mcc
|
|
{
|
|
|
|
template <MccMountType MOUNT_TYPE,
|
|
std::derived_from<MccMountConfig> CONFIG_TYPE,
|
|
std::derived_from<MccMount<MOUNT_TYPE, CONFIG_TYPE>> MountT>
|
|
struct MccMountInitEvent {
|
|
static constexpr std::string_view ID = "MCC-MOUNT-INIT-EVENT";
|
|
|
|
MccMountInitEvent(MountT& mount) : _mount(mount) {}
|
|
|
|
MountT mount() const { return _mount; }
|
|
|
|
private:
|
|
MountT& _mount;
|
|
};
|
|
|
|
} // namespace mcc
|