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() [1/2]

ConnectionSet::ConnectionSet ( )

◆ ConnectionSet() [2/2]

ConnectionSet::ConnectionSet ( const ConnectionSet org)

◆ ~ConnectionSet()

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

◆ add() [1/2]

void ConnectionSet::add ( const Connection connection)

◆ add() [2/2]

void ConnectionSet::add ( const ConnectionSet connections)

◆ block() [1/2]

void ConnectionSet::block ( )

◆ block() [2/2]

void ConnectionSet::block ( int  index)

◆ disconnect()

void ConnectionSet::disconnect ( )

◆ empty()

bool cnoid::ConnectionSet::empty ( ) const
inline

◆ numConnections()

size_t cnoid::ConnectionSet::numConnections ( ) const
inline

◆ operator=()

ConnectionSet & ConnectionSet::operator= ( const ConnectionSet org)

This operator disconnects existing connections.

◆ unblock() [1/2]

void ConnectionSet::unblock ( )

◆ unblock() [2/2]

void ConnectionSet::unblock ( int  index)

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