VMware GemFire Native C++ Reference  9.1
CqAttributesFactory.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #ifndef GEODE_CQATTRIBUTESFACTORY_H_
4 #define GEODE_CQATTRIBUTESFACTORY_H_
5 
6 /*
7  * Licensed to the Apache Software Foundation (ASF) under one or more
8  * contributor license agreements. See the NOTICE file distributed with
9  * this work for additional information regarding copyright ownership.
10  * The ASF licenses this file to You under the Apache License, Version 2.0
11  * (the "License"); you may not use this file except in compliance with
12  * the License. You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  */
22 
23 #include "geode_globals.hpp"
24 #include "geode_types.hpp"
25 #include "CqAttributes.hpp"
26 #include "CqListener.hpp"
27 
32 namespace apache {
33 namespace geode {
34 namespace client {
35 
57  public:
63 
73  CqAttributesFactory(CqAttributesPtr& cqAttributes);
74 
80  void addCqListener(const CqListenerPtr& cqListener);
81 
91  void initCqListeners(VectorOfCqListener& cqListeners);
92 
97  CqAttributesPtr create();
98 
99  private:
100  CqAttributesPtr m_cqAttributes;
101 };
102 } // namespace client
103 } // namespace geode
104 } // namespace apache
105 
106 #endif // GEODE_CQATTRIBUTESFACTORY_H_
Each enum represents a predefined RegionAttributes in a Cache.
Definition: Assert.hpp:31
The factory class for the CqAttributes instance.
Definition: CqAttributesFactory.hpp:56
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition: geode_base.hpp:58
This abstract base class is the base class of all user objects that have the shared capability of ref...
Definition: SharedBase.hpp:40
Vector template type class.
Definition: VectorT.hpp:37
This namespace contains all the Geode C++ API classes, enumerations and globals.

Pivotal GemFire C++ Cache API Documentation