MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ remove_perception()

template<typename T >
void MayaFlux::Nexus::Expanse::remove_perception ( const std::shared_ptr< Perception< T > > &  perception)
inline

Stop a perception added with add_perception().

Definition at line 270 of file Expanse.hpp.

271 {
272 std::erase_if(m_perceptions,
273 [&perception](const auto& entry) { return entry.first == perception; });
274 }
std::vector< std::pair< std::shared_ptr< void >, PerceptionFn > > m_perceptions
Definition Expanse.hpp:349