25 #ifndef INCLUDED_HandlerContainer_h_GUID_EAD5E6BA_FEDA_428B_0F12_B30FBE4AD6DB 26 #define INCLUDED_HandlerContainer_h_GUID_EAD5E6BA_FEDA_428B_0F12_B30FBE4AD6DB 45 auto handlersTemp = m_handlers;
46 for (
auto const &handler : handlersTemp) {
51 void add(RemoteHandlerPtr
const &handler) {
56 m_handlers.insert(handler);
59 void remove(RemoteHandlerPtr
const &handler) {
64 m_handlers.remove(handler);
68 typedef std::vector<RemoteHandlerPtr> BaseContainer;
71 util::container_policies::iterators>
73 InternalHandlerContainer m_handlers;
78 #endif // INCLUDED_HandlerContainer_h_GUID_EAD5E6BA_FEDA_428B_0F12_B30FBE4AD6DB The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
A basic policy for use with a vector or similar container, where you don't expect a lot of additions ...
Definition: UniqueContainer.h:48
Wrapper for a container of handlers.
Definition: HandlerContainer.h:41
A "Unique Container" designed for composition, not inheritance.
Definition: UniqueContainer.h:327