Added Doxygen main page and groups for each type of pointcut.
authorJustin Seyster <jseyster@cs.sunysb.edu>
Sat, 3 Jul 2010 00:37:38 +0000 (20:37 -0400)
committerJustin Seyster <jseyster@cs.sunysb.edu>
Sat, 3 Jul 2010 00:37:38 +0000 (20:37 -0400)
src/aop-doxy-main.c [new file with mode: 0644]
src/aop-pc-assign.c
src/aop-pc-entry.c
src/aop-pc-exit.c
src/aop-pc-fun-call.c

diff --git a/src/aop-doxy-main.c b/src/aop-doxy-main.c
new file mode 100644 (file)
index 0000000..6428f70
--- /dev/null
@@ -0,0 +1,29 @@
+/* This program is free software: you can redistribute it and/or
+   modify it under the terms of the GNU General Public License as
+   published by the Free Software Foundation, either version 3 of the
+   License, or (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful, but
+   WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#error This file serves only as documentation.  Do not compile it.
+
+/**
+ * \defgroup assign_pc Assignment Pointcut Functions
+ */
+
+/** \mainpage The InterAspect Framework
+ *
+ * \section pc Pointcuts
+ * InterAspect defines four types of pointcuts.
+ * - \ref entry_pc "Function entry" pointcuts.
+ * - \ref exit_pc "Function exit" pointcuts.
+ * - \ref call_pc "Function call" pointcuts.
+ * - \ref assign_pc "Assignment" pointcuts.
+ */
index 66004377745a9ea051098953bf4a049ac6343b57..96cf5ad455c8deab8e0a2ce10786fcf84bca6cdf 100644 (file)
 #include "aop-pointcut.h"
 #include "aop-type.h"
 
+/**
+ * \defgroup assign_pc Assignment Pointcut Functions
+ * \{
+ */
+
 /**
  * Get the name of the variable being assigned to in an assignment
  * joinpoint.
@@ -360,3 +365,8 @@ aop_match_assignment_by_type (const struct aop_type *type)
 
   return pc;
 }
+
+/* Close Doxygen defgroup block. */
+/**
+ * /}
+ */
index 6129435318fdff86f30053b5095eb2558dd2392a..293a29935f40497a4345cec66d77be928b96ce11 100644 (file)
 #include "aop-pointcut.h"
 #include "aop-type.h"
 
+/**
+ * \defgroup entry_pc Function Entry Pointcut Functions
+ * \{
+ */
+
 static void
 op_join_on_function_entry (struct aop_pointcut *pc, join_callback cb,
                           void *callback_param)
@@ -127,3 +132,8 @@ void aop_filter_entry_by_name(struct aop_pointcut *pc_function_entry,
 {
   pc_function_entry->pc_entry.function_name = advice_function_entry;
 }
+
+/* Close Doxygen defgroup block. */
+/**
+ * /}
+ */
index c8b7fc76c156ef8096e406ae768a90be8eb6694b..56e1f570dc951bdc0ae07a69f70cc923a8dfc818 100644 (file)
 #include "aop-pointcut.h"
 #include "aop-type.h"
 
+/**
+ * \defgroup exit_pc Function Exit Pointcut Functions
+ * \{
+ */
+
 static void
 op_join_on_function_exit (struct aop_pointcut *pc, join_callback cb, 
                          void *callback_param)
@@ -106,3 +111,8 @@ aop_match_function_exit ()
   pc->prepare_for_weave = op_prepare_exit;
   return pc;
 }
+
+/* Close Doxygen defgroup block. */
+/**
+ * /}
+ */
index ff5c8467fb747803d0b798679c5c582966a30d05..0f96974329ddc6f8a3b85d1e87d56881323d7d61 100644 (file)
 #include "aop-type.h"
 #include "aop-dynval.h"
 
+/**
+ * \defgroup call_pc Function Call Pointcut Functions
+ * \{
+ */
+
 /* Returns true if func_decl matches the arguments described in
    param_list by type. */
 static bool
@@ -230,3 +235,7 @@ aop_capture_param (struct aop_joinpoint *jp, int param_index)
   return dv;
 }
 
+/* Close Doxygen defgroup block. */
+/**
+ * /}
+ */