ReservationTable

Class objects are used as reservation table for Routers.

Method

void Reserve(Connection dest_in, Connection dest_out)

Reserves the given input to the given output

Method

void Release(Connection dest_in)

Removes bindings for the given input

Method

bool Reserved(Connection dest_in, Connection dest_out) const

Returns true if the given input is bound to the given output

Method

bool Reserved(Connection dest_out) const

Returns true if there is bound Connection instance to the given output

Method

Connection operator[](Connection dest_in) const

Returns instance of the Connection bound to the given input. If there is no bound Connection, it returns invalid instance.

Method

friend std::ostream& operator<<(std::ostream& os, const ReservationTable& table)

Overloaded output operator to print formatted ReservationTable data