Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
hide some cruft from the doc
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Sun, 3 Nov 2019 21:57:35 +0000 (22:57 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Sun, 3 Nov 2019 21:59:19 +0000 (22:59 +0100)
include/simgrid/s4u/Actor.hpp

index 0eda16d..44b9301 100644 (file)
@@ -136,7 +136,7 @@ class XBT_PUBLIC Actor : public xbt::Extendable<Actor> {
   explicit Actor(smx_actor_t pimpl) : pimpl_(pimpl) {}
 
 public:
   explicit Actor(smx_actor_t pimpl) : pimpl_(pimpl) {}
 
 public:
-
+#ifndef DOXYGEN
   // ***** No copy *****
   Actor(Actor const&) = delete;
   Actor& operator=(Actor const&) = delete;
   // ***** No copy *****
   Actor(Actor const&) = delete;
   Actor& operator=(Actor const&) = delete;
@@ -144,6 +144,8 @@ public:
   // ***** Reference count *****
   friend XBT_PUBLIC void intrusive_ptr_add_ref(Actor * actor);
   friend XBT_PUBLIC void intrusive_ptr_release(Actor * actor);
   // ***** Reference count *****
   friend XBT_PUBLIC void intrusive_ptr_add_ref(Actor * actor);
   friend XBT_PUBLIC void intrusive_ptr_release(Actor * actor);
+#endif
+  /** Retrive the amount of references on that object. Useful to debug the automatic refcounting */
   int get_refcount();
 
   // ***** Actor creation *****
   int get_refcount();
 
   // ***** Actor creation *****