OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VmUveEntryBase Class Reference

#include <vm_uve_entry_base.h>

Inheritance diagram for VmUveEntryBase:
Collaboration diagram for VmUveEntryBase:

Public Types

typedef std::set< std::string > InterfaceSet
 

Public Member Functions

 VmUveEntryBase (Agent *agent, const std::string &vm_name)
 
virtual ~VmUveEntryBase ()
 
const std::string & vm_config_name () const
 
bool add_by_vm_notify () const
 
void set_add_by_vm_notify (bool value)
 
void InterfaceAdd (const std::string &intf_cfg_name)
 
void InterfaceDelete (const std::string &intf_cfg_name)
 
bool FrameVmMsg (const boost::uuids::uuid &u, UveVirtualMachineAgent *uve)
 
bool Update (const VmEntry *vm)
 
void set_changed (bool val)
 
bool changed () const
 
void set_deleted (bool value)
 
bool deleted () const
 
void set_renewed (bool value)
 
bool renewed () const
 
void set_vm_name (const std::string name)
 
virtual void Reset ()
 

Protected Attributes

Agentagent_
 
InterfaceSet interface_tree_
 
UveVirtualMachineAgent uve_info_
 
bool changed_
 
bool deleted_
 
bool renewed_
 
tbb::mutex mutex_
 

Private Member Functions

bool UveVmInterfaceListChanged (const std::vector< std::string > &new_l) const
 
bool UveVmVRouterChanged (const std::string &new_value) const
 
 DISALLOW_COPY_AND_ASSIGN (VmUveEntryBase)
 

Private Attributes

bool add_by_vm_notify_
 
std::string vm_config_name_
 
std::string vm_name_
 

Detailed Description

Definition at line 23 of file vm_uve_entry_base.h.

Member Typedef Documentation

typedef std::set<std::string> VmUveEntryBase::InterfaceSet

Definition at line 26 of file vm_uve_entry_base.h.

Constructor & Destructor Documentation

VmUveEntryBase::VmUveEntryBase ( Agent agent,
const std::string &  vm_name 
)

Definition at line 10 of file vm_uve_entry_base.cc.

VmUveEntryBase::~VmUveEntryBase ( )
virtual

Definition at line 16 of file vm_uve_entry_base.cc.

Member Function Documentation

bool VmUveEntryBase::add_by_vm_notify ( ) const
inline

Definition at line 31 of file vm_uve_entry_base.h.

bool VmUveEntryBase::changed ( ) const
inline

Definition at line 39 of file vm_uve_entry_base.h.

bool VmUveEntryBase::deleted ( ) const
inline

Definition at line 41 of file vm_uve_entry_base.h.

VmUveEntryBase::DISALLOW_COPY_AND_ASSIGN ( VmUveEntryBase  )
private
bool VmUveEntryBase::FrameVmMsg ( const boost::uuids::uuid u,
UveVirtualMachineAgent *  uve 
)

Definition at line 48 of file vm_uve_entry_base.cc.

Here is the call graph for this function:

void VmUveEntryBase::InterfaceAdd ( const std::string &  intf_cfg_name)

Definition at line 27 of file vm_uve_entry_base.cc.

void VmUveEntryBase::InterfaceDelete ( const std::string &  intf_cfg_name)

Definition at line 34 of file vm_uve_entry_base.cc.

bool VmUveEntryBase::renewed ( ) const
inline

Definition at line 43 of file vm_uve_entry_base.h.

void VmUveEntryBase::Reset ( )
virtual

Reimplemented in VmUveEntry.

Definition at line 107 of file vm_uve_entry_base.cc.

void VmUveEntryBase::set_add_by_vm_notify ( bool  value)
inline

Definition at line 32 of file vm_uve_entry_base.h.

void VmUveEntryBase::set_changed ( bool  val)
inline

Definition at line 38 of file vm_uve_entry_base.h.

void VmUveEntryBase::set_deleted ( bool  value)
inline

Definition at line 40 of file vm_uve_entry_base.h.

void VmUveEntryBase::set_renewed ( bool  value)
inline

Definition at line 42 of file vm_uve_entry_base.h.

void VmUveEntryBase::set_vm_name ( const std::string  name)
inline

Definition at line 44 of file vm_uve_entry_base.h.

bool VmUveEntryBase::Update ( const VmEntry vm)

Definition at line 19 of file vm_uve_entry_base.cc.

Here is the call graph for this function:

bool VmUveEntryBase::UveVmInterfaceListChanged ( const std::vector< std::string > &  new_l) const
private

Definition at line 99 of file vm_uve_entry_base.cc.

bool VmUveEntryBase::UveVmVRouterChanged ( const std::string &  new_value) const
private

Definition at line 88 of file vm_uve_entry_base.cc.

const std::string& VmUveEntryBase::vm_config_name ( ) const
inline

Definition at line 30 of file vm_uve_entry_base.h.

Member Data Documentation

bool VmUveEntryBase::add_by_vm_notify_
private

Definition at line 62 of file vm_uve_entry_base.h.

Agent* VmUveEntryBase::agent_
protected

Definition at line 48 of file vm_uve_entry_base.h.

bool VmUveEntryBase::changed_
protected

Definition at line 52 of file vm_uve_entry_base.h.

bool VmUveEntryBase::deleted_
protected

Definition at line 53 of file vm_uve_entry_base.h.

InterfaceSet VmUveEntryBase::interface_tree_
protected

Definition at line 49 of file vm_uve_entry_base.h.

tbb::mutex VmUveEntryBase::mutex_
protected

Definition at line 56 of file vm_uve_entry_base.h.

bool VmUveEntryBase::renewed_
protected

Definition at line 54 of file vm_uve_entry_base.h.

UveVirtualMachineAgent VmUveEntryBase::uve_info_
protected

Definition at line 50 of file vm_uve_entry_base.h.

std::string VmUveEntryBase::vm_config_name_
private

Definition at line 63 of file vm_uve_entry_base.h.

std::string VmUveEntryBase::vm_name_
private

Definition at line 64 of file vm_uve_entry_base.h.


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