16 #ifndef __VOM_OBJECT_H__ 17 #define __VOM_OBJECT_H__ 40 virtual void sweep(
void) = 0;
45 virtual void replay(
void) = 0;
102 std::shared_ptr<object_base> obj()
const;
123 std::shared_ptr<object_base> m_obj;
virtual std::string to_string() const =0
convert to string format for debug purposes
virtual void sweep(void)=0
Sweep/reap the object if still stale.
A represenation of a reference to a VPP object.
indicates the object is stale.
virtual void replay(void)=0
replay the object to create it in hardware
object_base()=default
Constructable by derived classes only.
A base class for all object_base in the VPP object_base-Model.
std::ostream & operator<<(std::ostream &os, const std::pair< direction_t, interface::key_t > &key)
virtual ~object_base()=default
Destructor.
The VPP Object Model (VOM) library.