Choreonoid  1.5
Public Member Functions | List of all members
cnoid::ConnectionSet Class Reference

#include <ConnectionSet.h>

Inheritance diagram for cnoid::ConnectionSet:
cnoid::ScopedConnectionSet

Public Member Functions

 ConnectionSet ()
 
 ConnectionSet (const ConnectionSet &org)
 
ConnectionSetoperator= (const ConnectionSet &org)
 
 ~ConnectionSet ()
 
bool empty () const
 
size_t numConnections () const
 
void add (const Connection &connection)
 
void add (const ConnectionSet &connections)
 
void block ()
 
void block (int index)
 
void unblock ()
 
void unblock (int index)
 
void disconnect ()
 

Constructor & Destructor Documentation

ConnectionSet::ConnectionSet ( )
ConnectionSet::ConnectionSet ( const ConnectionSet org)
ConnectionSet::~ConnectionSet ( )

Destructor. Note that the connections are not disconnected by the destructor. This design is employed to allow a use of the copy constructor and copy operator.

Member Function Documentation

void ConnectionSet::add ( const Connection connection)
void ConnectionSet::add ( const ConnectionSet connections)
void ConnectionSet::block ( )
void ConnectionSet::block ( int  index)
void ConnectionSet::disconnect ( )
bool cnoid::ConnectionSet::empty ( ) const
inline
size_t cnoid::ConnectionSet::numConnections ( ) const
inline
ConnectionSet & ConnectionSet::operator= ( const ConnectionSet org)

This operator disconnects existing connections.

void ConnectionSet::unblock ( )
void ConnectionSet::unblock ( int  index)

The documentation for this class was generated from the following files: