OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
InterfaceKey Struct Referenceabstract

#include <interface.h>

Inheritance diagram for InterfaceKey:
Collaboration diagram for InterfaceKey:

Public Member Functions

 InterfaceKey (const InterfaceKey &rhs)
 
 InterfaceKey (AgentKey::DBSubOperation sub_op, Interface::Type type, const boost::uuids::uuid &uuid, const std::string &name, bool is_mcast)
 
void Init (Interface::Type type, const boost::uuids::uuid &intf_uuid, const std::string &name)
 
bool IsLess (const InterfaceKey &rhs) const
 
bool IsEqual (const InterfaceKey &rhs) const
 
virtual InterfaceAllocEntry (const InterfaceTable *table) const =0
 
virtual InterfaceAllocEntry (const InterfaceTable *table, const InterfaceData *data) const =0
 
virtual InterfaceKeyClone () const =0
 
- Public Member Functions inherited from AgentOperDBKey
 AgentOperDBKey ()
 
 AgentOperDBKey (DBSubOperation sub_op)
 
virtual ~AgentOperDBKey ()
 
- Public Member Functions inherited from AgentKey
 AgentKey ()
 
 AgentKey (DBSubOperation sub_op)
 
virtual ~AgentKey ()
 
- Public Member Functions inherited from DBRequestKey
virtual ~DBRequestKey ()
 

Public Attributes

Interface::Type type_
 
boost::uuids::uuid uuid_
 
std::string name_
 
- Public Attributes inherited from AgentKey
uint8_t sub_op_
 

Additional Inherited Members

- Public Types inherited from AgentKey
enum  DBSubOperation { ADD_DEL_CHANGE, RESYNC }
 

Detailed Description

Definition at line 198 of file interface.h.

Constructor & Destructor Documentation

InterfaceKey::InterfaceKey ( const InterfaceKey rhs)
inline

Definition at line 199 of file interface.h.

InterfaceKey::InterfaceKey ( AgentKey::DBSubOperation  sub_op,
Interface::Type  type,
const boost::uuids::uuid uuid,
const std::string &  name,
bool  is_mcast 
)
inline

Definition at line 205 of file interface.h.

Member Function Documentation

virtual Interface* InterfaceKey::AllocEntry ( const InterfaceTable table) const
pure virtual
virtual Interface* InterfaceKey::AllocEntry ( const InterfaceTable table,
const InterfaceData data 
) const
pure virtual
void InterfaceKey::Init ( Interface::Type  type,
const boost::uuids::uuid intf_uuid,
const std::string &  name 
)
inline

Definition at line 211 of file interface.h.

bool InterfaceKey::IsEqual ( const InterfaceKey rhs) const
inline

Definition at line 230 of file interface.h.

Here is the call graph for this function:

bool InterfaceKey::IsLess ( const InterfaceKey rhs) const
inline

Definition at line 218 of file interface.h.

Member Data Documentation

std::string InterfaceKey::name_

Definition at line 245 of file interface.h.

Interface::Type InterfaceKey::type_

Definition at line 243 of file interface.h.

boost::uuids::uuid InterfaceKey::uuid_

Definition at line 244 of file interface.h.


The documentation for this struct was generated from the following file: