ScopedConnection /

#includecinder/Signals.h

ScopedConnection can be captured from Signal::connect() to limit the connection lifetime to the current scope, after which Connection::disconnect() will be called.


Public Member Functions

  • ScopedConnection ()
  • ~ScopedConnection ()
  • ScopedConnection (ScopedConnection &&other)
  • ScopedConnection (Connection &&other)
  • operator= (ScopedConnection &&rhs)