fpga_impl¶
Warning
doxygenfile: Cannot find file “eos/fpga_impl.h
Type definitions in fpga_impl¶
-
namespace
eos
-
class
fpga_impl_t
- #include <fpga_impl.h>
Describes an application FPGA on a switch.
Public Functions
-
fpga_impl_t
() Default constructor.
-
fpga_impl_t
(std::string const & name, std::string const & board_standard, std::string const & part_number)
-
std::string
name
() const Getter for ‘name’: The name of the FPGA.
-
std::string
board_standard
() const Getter for ‘board_standard’: The board standard of the FPGA.
-
std::string
part_number
() const Getter for ‘part_number’: The part number of the FPGA.
-
bool
operator==
(fpga_impl_t const & other) const
-
bool
operator!=
(fpga_impl_t const & other) const
-
bool
operator<
(fpga_impl_t const & other) const
-
uint32_t
hash
() const The hash function for type fpga_t.
-
std::string
to_string
() const Returns a string representation of the current object’s values.
Private Members
-
std::string
name_
-
std::string
board_standard_
-
std::string
part_number_
Friends
-
friend std::ostream &
operator<<
A utility stream operator that adds a string representation of fpga_t to the ostream.
-
-
class
fpga_reservation_impl_t
- #include <fpga_impl.h>
Describes an FPGA reservation on the switch.
Public Functions
-
fpga_reservation_impl_t
()
-
fpga_reservation_impl_t
(std::string const & id)
-
std::string
id
() const Getter for ‘id’: The ID of the reservation.
-
std::string
board_standard
() const Getter for ‘board_standard’: The target FPGA board standard.
-
void
board_standard_is
(std::string const & board_standard) Setter for ‘board_standard’.
-
std::string
fpga_name
() const Getter for ‘fpga_name’: The target FPGA name for the reservation.
-
void
fpga_name_is
(std::string const & fpga_name) Setter for ‘fpga_name’.
-
std::string
bitfile
() const Getter for ‘bitfile’: The file to be programmed. Empty string means to clear the FPGA.
-
void
bitfile_is
(std::string const & bitfile) Setter for ‘bitfile’.
-
bool
operator==
(fpga_reservation_impl_t const & other) const
-
bool
operator!=
(fpga_reservation_impl_t const & other) const
-
bool
operator<
(fpga_reservation_impl_t const & other) const
-
uint32_t
hash
() const The hash function for type fpga_reservation_t.
-
void
mix_me
(hash_mix & h) const The hash mix function for type fpga_reservation_t.
-
std::string
to_string
() const Returns a string representation of the current object’s values.
Private Members
-
std::string
id_
-
std::string
board_standard_
-
std::string
fpga_name_
-
std::string
bitfile_
Friends
-
friend std::ostream &
operator<<
A utility stream operator that adds a string representation of fpga_reservation_t to the ostream.
-
-
class
fpga_reservation_status_impl_t
- #include <fpga_impl.h>
Describes an FPGA reservation status on the switch.
Public Functions
-
fpga_reservation_status_impl_t
()
-
fpga_reservation_status_impl_t
(std::string const & id, fpga_reservation_result_t result, std::string fpga_name)
-
std::string
id
() const Getter for ‘id’: The ID of the reservation status.
-
fpga_reservation_result_t
result
() const Getter for ‘result’: The result of the reservation.
-
std::string
fpga_name
() const Getter for ‘fpga_name’: The name of the reserved FPGA.
-
bool
operator==
(fpga_reservation_status_impl_t const & other) const
-
bool
operator!=
(fpga_reservation_status_impl_t const & other) const
-
bool
operator<
(fpga_reservation_status_impl_t const & other) const
-
uint32_t
hash
() const The hash function for type fpga_reservation_status_t.
-
void
mix_me
(hash_mix & h) const The hash mix function for type fpga_reservation_status_t.
-
std::string
to_string
() const Returns a string representation of the current object’s values.
Private Members
-
std::string
id_
-
fpga_reservation_result_t
result_
-
std::string
fpga_name_
Friends
-
friend std::ostream &
operator<<
A utility stream operator that adds a string representation of fpga_reservation_status_t to the ostream.
-
-
class