clipsmm - C++ CLIPS Interface Library

clipsmm logo
object.h
Go to the documentation of this file.
1/***************************************************************************
2 * Copyright (C) 2006 by Rick L. Vinyard, Jr. *
3 * rvinyard@cs.nmsu.edu *
4 * *
5 * This file is part of the clipsmm library. *
6 * *
7 * The clipsmm library is free software; you can redistribute it and/or *
8 * modify it under the terms of the GNU General Public License *
9 * version 3 as published by the Free Software Foundation. *
10 * *
11 * The clipsmm library is distributed in the hope that it will be *
12 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty *
13 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
14 * General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this software. If not see <http://www.gnu.org/licenses/>. *
18 ***************************************************************************/
19#ifndef CLIPSOBJECT_H
20#define CLIPSOBJECT_H
21
22#include <sigc++/sigc++.h>
23
24#include <clipsmm/pointer.h>
25
26namespace CLIPS {
27
31class Object : public sigc::trackable
32{
33public:
35
36 Object(void* cobj=NULL);
37
38 ~Object();
39
41 void* cobj() const;
42
43 protected:
45 void* m_cobj;
46
47};
48
49}
50
51#endif
Definition object.h:32
CLIPSPointer< Object > pointer
Definition object.h:34
void * cobj() const
Returns a pointer to the underlying CLIPS C object.
Definition object.cpp:33
~Object()
Definition object.cpp:29
void * m_cobj
The underlying CLIPS C object.
Definition object.h:45
Object(void *cobj=NULL)
Definition object.cpp:23
Definition activation.cpp:29
#define CLIPSPointer
Definition pointer.h:28

Generated on Wed Jan 24 2024 00:00:00 for clipsmm by doxygen 1.10.0