17 #ifndef __deal2__subscriptor_h 18 #define __deal2__subscriptor_h 21 #include <deal.II/base/config.h> 97 void subscribe (
const char *identifier = 0)
const;
109 void unsubscribe (
const char *identifier = 0)
const;
136 int,
char *, std::string &,
137 <<
"Object of class " << arg2
138 <<
" is still used by " << arg1 <<
" other objects.\n" 139 <<
"(Additional information: " << arg3 <<
")\n" 140 <<
"Note the entry in the Frequently Asked Questions of " 141 <<
"deal.II (linked to from http://www.dealii.org/) for " 142 <<
"more information on what this error means.");
151 <<
"No subscriber with identifier \"" << arg2
152 <<
"\" did subscribe to this object of class " << arg1);
179 template <
class Archive>
180 void serialize(Archive &ar,
const unsigned int version);
187 typedef std::map<const char *, unsigned int>::value_type
194 typedef std::map<const char *, unsigned int>::iterator
253 template <
class Archive>
263 DEAL_II_NAMESPACE_CLOSE
void unsubscribe(const char *identifier=0) const
void subscribe(const char *identifier=0) const
const std::type_info * object_info
DeclException3(ExcInUse, int, char *, std::string &,<< "Object of class "<< arg2<< " is still used by "<< arg1<< " other objects.\n"<< "(Additional information: "<< arg3<< ")\n"<< "Note the entry in the Frequently Asked Questions of "<< "deal.II (linked to from http://www.dealii.org/) for "<< "more information on what this error means.")
DEAL_VOLATILE unsigned int counter
Subscriptor & operator=(const Subscriptor &)
unsigned int n_subscriptions() const
void serialize(Archive &ar, const unsigned int version)
DeclException2(ExcNoSubscriber, char *, char *,<< "No subscriber with identifier \""<< arg2<< "\" did subscribe to this object of class "<< arg1)
std::map< const char *, unsigned int > counter_map
std::map< const char *, unsigned int >::iterator map_iterator
std::map< const char *, unsigned int >::value_type map_value_type
void list_subscribers() const