|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
28 return (m_obj.get() < other.m_obj.get());
31 std::shared_ptr<object_base>
std::shared_ptr< object_base > obj() const
Return the shared pointer.
The VPP Object Model (VOM) library.
@ OBJECT_STATE_STALE
indicates the object is stale.
void clear() const
Clear the stale flag on the object.
void mark() const
Mark the reference object as stale.
A represenation of a reference to a VPP object.
object_ref(std::shared_ptr< object_base > obj)
Constructor.
std::ostream & operator<<(std::ostream &os, const std::pair< direction_t, interface::key_t > &key)
bool operator<(const object_ref &other) const
less than operator
virtual std::string to_string() const =0
convert to string format for debug purposes
bool stale() const
Query if the object is stale.
A base class for all object_base in the VPP object_base-Model.