![]() |
VR-Forces Development_Version Class Documentation
|
DtKeyedSignalConnectionManager extends DtSignalConnectionManager to allow access to managed signals via a key supplied when the connection is managed. More...

Public Member Functions | |
| DtKeyedSignalConnectionManager () | |
| CTOR. | |
| virtual | ~DtKeyedSignalConnectionManager () |
| DTOR. | |
| void | manageConnection (KeyType key, const boost::signalslib::connection &conn) |
| Connect a signal. | |
| void | disconnectSignals () |
| Disconnect all signals AND removes them. | |
| void | disconnectSignal (KeyType key) |
| Disconnect and remove a signal. | |
| bool | hasSignal (KeyType key) |
| Check if a signal for this key value already exists. | |
| bool | blockConnections (bool blocked) |
| Blocks/unblocks connections. | |
| bool | connectionsBlocked () const |
| check whether connections are blocked. | |
| bool | blockConnection (KeyType key, bool blocked) |
| Blocks/unblocks connections. | |
| bool | connectionBlocked (KeyType key) const |
| check whether connections are blocked. | |
Public Member Functions inherited from makVrv::DtSignalConnectionManager | |
| DtSignalConnectionManager () | |
| CTOR. | |
| virtual | ~DtSignalConnectionManager () |
| DTOR. | |
| void | manageConnection (const boost::signalslib::connection &conn) |
| Connect a signal. | |
| DtSignalConnectionManager & | operator+= (const boost::signalslib::connection &conn) |
| Connect a signal. | |
| int | numberOfConnections () const |
| Get the number of connections. | |
| bool | blockConnection (int index, bool blocked) |
| Blocks/unblocks connections. | |
| bool | connectionBlocked (int index) const |
| check whether connections are blocked. | |
Protected Types | |
| typedef boost::unordered_map < KeyType, boost::signalslib::connection > | KeyedConnectionsMap |
| A collection of keyed signals. | |
Protected Types inherited from makVrv::DtSignalConnectionManager | |
| typedef std::vector < boost::signalslib::connection > | Connections |
| A collection of signals. | |
Protected Attributes | |
| KeyedConnectionsMap | myKeyedConnections |
| The connected signals. | |
Protected Attributes inherited from makVrv::DtSignalConnectionManager | |
| Connections | myConnections |
| The connected signals. | |
| bool | myConnectionsBlocked |
| bool | myIndiviualConnectionedBlocked |
Private Member Functions | |
| DtKeyedSignalConnectionManager & | operator= (DtKeyedSignalConnectionManager asn) |
| Assignment. | |
| DtKeyedSignalConnectionManager (const DtKeyedSignalConnectionManager ©) | |
| Copy. | |
DtKeyedSignalConnectionManager extends DtSignalConnectionManager to allow access to managed signals via a key supplied when the connection is managed.
|
protected |
A collection of keyed signals.
| makVrv::DtKeyedSignalConnectionManager< KeyType >::DtKeyedSignalConnectionManager | ( | ) |
CTOR.
|
virtual |
DTOR.
|
private |
Copy.
| void makVrv::DtKeyedSignalConnectionManager< KeyType >::manageConnection | ( | KeyType | key, |
| const boost::signalslib::connection & | conn | ||
| ) |
Connect a signal.
| void makVrv::DtKeyedSignalConnectionManager< KeyType >::disconnectSignals | ( | ) |
Disconnect all signals AND removes them.
Reimplemented from makVrv::DtSignalConnectionManager.
| void makVrv::DtKeyedSignalConnectionManager< KeyType >::disconnectSignal | ( | KeyType | key | ) |
Disconnect and remove a signal.
| bool makVrv::DtKeyedSignalConnectionManager< KeyType >::hasSignal | ( | KeyType | key | ) |
Check if a signal for this key value already exists.
| bool makVrv::DtKeyedSignalConnectionManager< KeyType >::blockConnections | ( | bool | blocked | ) |
Blocks/unblocks connections.
Returns current state connection blocking
Reimplemented from makVrv::DtSignalConnectionManager.
| bool makVrv::DtKeyedSignalConnectionManager< KeyType >::connectionsBlocked | ( | ) | const |
check whether connections are blocked.
Reimplemented from makVrv::DtSignalConnectionManager.
| bool makVrv::DtKeyedSignalConnectionManager< KeyType >::blockConnection | ( | KeyType | key, |
| bool | blocked | ||
| ) |
Blocks/unblocks connections.
Returns current state connection blocking, This function will cause the connection to be out of sync from the remaining connections.
| bool makVrv::DtKeyedSignalConnectionManager< KeyType >::connectionBlocked | ( | KeyType | key | ) | const |
check whether connections are blocked.
|
private |
Assignment.
|
protected |
The connected signals.