fpga¶
-
namespace
eos
-
class
fpga_handler
: public eos::base_handler<fpga_mgr, fpga_handler>¶
-
class
fpga_iter_t
: public eos::iter_base<fpga_t, fpga_iter_impl>¶ Private Functions
-
fpga_iter_t
(fpga_iter_impl *const )¶
Friends
-
friend
eos::fpga_iter_impl
-
-
class
fpga_reservation_iter_t
: public eos::iter_base<fpga_reservation_t, fpga_reservation_iter_impl>¶ Private Functions
-
fpga_reservation_iter_t
(fpga_reservation_iter_impl *const )¶
Friends
-
friend
eos::fpga_reservation_iter_impl
-
-
class
fpga_reservation_status_iter_t
: public eos::iter_base<fpga_reservation_status_t, fpga_reservation_status_iter_impl>¶ Private Functions
-
fpga_reservation_status_iter_t
(fpga_reservation_status_iter_impl *const )¶
Friends
-
friend
eos::fpga_reservation_status_iter_impl
-
-
class
fpga_mgr
: public eos::base_mgr<fpga_handler, std::string>¶ Public Functions
-
virtual
~fpga_mgr
()¶
-
virtual fpga_iter_t
fpga_status_iter
() const = 0¶
-
virtual fpga_reservation_iter_t
reservation_iter
() const = 0¶
-
virtual fpga_reservation_status_iter_t
reservation_status_iter
() const = 0¶
-
virtual fpga_reservation_t
reservation
(const std::string&) const = 0¶
-
virtual fpga_reservation_status_t
reservation_status
(const std::string&) const = 0¶
-
virtual void
reservation_set
(const fpga_reservation_t&) = 0¶
-
virtual eossdk_ham_t
ham
(const fpga_t&, size_t) const = 0¶
Protected Functions
-
fpga_mgr
()¶
Private Members
-
eos::fpga_mgr::fpga_mgr
Friends
-
friend
eos::fpga_handler
-
virtual
-
class
Type definitions in fpga¶
-
namespace
eos
Enums
-
enum
fpga_reservation_result_t
¶ Values:
-
FRR_INVALID
¶ The request is invalid.
-
FRR_PENDING
¶ The request is pending.
-
FRR_SUCCESS
¶ The request has succeeded.
-
FRR_FAILED_TO_MATCH_FPGA
¶ The request failed; no matching FPGA was found.
-
FRR_FAILED_TO_RESERVE
¶ The request failed; an FPGA could not be reserved.
-
FRR_FAILED_TO_PROGRAM
¶ The request failed; the FPGA could not be programmed.
-
FRR_FAILED_TO_CLEAR
¶ The request failed; the FPGA could not be cleared.
-
-
class
fpga_t
¶ - #include <fpga.h>
Describes an application FPGA on a switch.
Public Functions
-
fpga_t
()¶ Default constructor.
-
-
class
fpga_reservation_t
¶ - #include <fpga.h>
Describes an FPGA reservation on the switch.
Public Functions
-
fpga_reservation_t
()¶
-
fpga_reservation_t
(const fpga_reservation_t &other)¶
-
fpga_reservation_t &
operator=
(fpga_reservation_t const &other)¶
-
std::string
bitfile
() const¶ Getter for ‘bitfile’: The file to be programmed. Empty string means to clear the FPGA.
-
bool
operator==
(fpga_reservation_t const &other) const¶
-
bool
operator!=
(fpga_reservation_t const &other) const¶
-
bool
operator<
(fpga_reservation_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.
Friends
-
std::ostream &
operator<<
(std::ostream &os, const fpga_reservation_t &obj)¶ A utility stream operator that adds a string representation of fpga_reservation_t to the ostream.
-
-
class
fpga_reservation_status_t
¶ - #include <fpga.h>
Describes an FPGA reservation status on the switch.
Public Functions
-
fpga_reservation_status_t
()¶
-
fpga_reservation_status_t
(std::string const &id, fpga_reservation_result_t result, std::string fpga_name)¶
-
fpga_reservation_status_t
(const fpga_reservation_status_t &other)¶
-
fpga_reservation_status_t &
operator=
(fpga_reservation_status_t const &other)¶
-
fpga_reservation_result_t
result
() const¶ Getter for ‘result’: The result of the reservation.
-
bool
operator==
(fpga_reservation_status_t const &other) const¶
-
bool
operator!=
(fpga_reservation_status_t const &other) const¶
-
bool
operator<
(fpga_reservation_status_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.
Friends
-
std::ostream &
operator<<
(std::ostream &os, const fpga_reservation_status_t &obj)¶ A utility stream operator that adds a string representation of fpga_reservation_status_t to the ostream.
-
-
enum