Class template counter
boost::signals::counter — Counts the number of signals passing through the component. counter is an applicator with a postincrement application and default member of type volatile int.
Synopsis
template<typename Signature, typename OutSignal = unfused,
typename T = volatile int,
typename Combiner = boost::last_value<typename boost::function_types::result_type<Signature>::type>,
typename Group = int, typename GroupCompare = std::less<Group> >
class counter {
public:
// construct/copy/destruct
counter();
// public member functions
void reset() ;
boost::remove_volatile< T >::type count() const;
};
Description
counter construct/copy/destruct
-
counter();
Initializes the internal counter to 0.
counter public member functions
-
void reset() ;
Sets the internal counter to 0.
-
boost::remove_volatile< T >::type count() const;
|
Returns: |
The internal signal counter. |