3#ifndef GEODE_CQATTRIBUTESFACTORY_H_
4#define GEODE_CQATTRIBUTESFACTORY_H_
25#include "CqAttributes.hpp"
26#include "CqListener.hpp"
27#include "internal/geode_globals.hpp"
78 const std::shared_ptr<CqAttributes>& cqAttributes);
97 const std::vector<std::shared_ptr<CqListener>>& cqListeners);
106 std::shared_ptr<CqAttributes> m_cqAttributes;
The factory class for the CqAttributes instance.
Definition CqAttributesFactory.hpp:60
std::shared_ptr< CqAttributes > create()
Creates a CqAttributes with the current settings.
void addCqListener(const std::shared_ptr< CqListener > &cqListener)
Adds a CQ listener to the end of the list of cq listeners on this factory.
CqAttributesFactory(const std::shared_ptr< CqAttributes > &cqAttributes)
Creates a new instance of CqAttributesFactory ready to create a CqAttributes with the same settings a...
CqAttributesFactory()
Creates a new instance of AttributesFactory ready to create a CqAttributes with default settings.
void initCqListeners(const std::vector< std::shared_ptr< CqListener > > &cqListeners)
Removes all Cq listeners and then adds each listener in the specified array.