Revised OpenFlow Library  v0.6.0dev
 All Classes Files Functions Variables Friends Groups Pages
Classes | Public Member Functions | Static Public Member Functions | Friends | List of all members
rofl::openflow::cofrole Class Reference

Classes

struct  role_t
 

Public Member Functions

 cofrole (uint8_t ofp_version=rofl::openflow::OFP_VERSION_UNKNOWN)
 
 cofrole (cofrole const &role)
 
cofroleoperator= (cofrole const &role)
 
void clear ()
 
virtual size_t length () const
 
virtual void pack (uint8_t *buf, size_t buflen)
 
virtual void unpack (uint8_t *buf, size_t buflen)
 
uint8_t get_version () const
 
void set_version (uint8_t ofp_version)
 
uint32_t const & get_role () const
 
void set_role (uint32_t role)
 
uint32_t & set_role ()
 
uint64_t const & get_generation_id () const
 
void set_generation_id (uint64_t generation_id)
 
uint64_t & set_generation_id ()
 

Static Public Member Functions

static int64_t distance (int64_t rcvd_gen_id, int64_t cached_gen_id)
 

Friends

std::ostream & operator<< (std::ostream &os, cofrole const &role)
 

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