43 template <
class Y>
class shared_ptr;
50 mClientInterface ( aClientInterface ),
73 for ( std::deque< Node* >::iterator lIt = aNode.
mChildren.begin(); lIt != aNode.
mChildren.end(); ++lIt )
137 return mNode->getNode ( aId );
142 return mNode->getNodes();
147 return mNode->getNodes ( aRegex );
HwInterface * mHw
The parent hardware interface of which this node is a child (or rather decendent) ...
A class which bundles a node tree and an IPbus client interface together providing everything you nee...
std::string uri() const
Return the url of the target for this client.
void dispatch()
Make the IPbus client issue a dispatch.
A heirarchical node for navigating heirarchical firmwares.
std::deque< Node *> mChildren
The direct children of the node.
ClientInterface & getClient()
Get the underlying IPbus client.
std::vector< std::string > getNodes() const
Return all node IDs known to this HwInterface.
void setTimeoutPeriod(const uint32_t &aTimeoutPeriod)
A method to modify the timeout period for any pending or future transactions.
An abstract base class for defining the interface to the various IPbus clients as well as providing t...
HwInterface(const boost::shared_ptr< ClientInterface > &aClientInterface, const boost::shared_ptr< Node > &aNode)
Constructor.
void claimNode(Node &aNode)
Get the target device's reserved address information.
boost::shared_ptr< ClientInterface > mClientInterface
A shared pointer to the IPbus client through which the transactions will be sent. ...
boost::shared_ptr< Node > mNode
A node tree.
const Node & getNode() const
Ping the target for this client.
const std::string & id() const
Return the identifier of the target for this client.
uint32_t getTimeoutPeriod()
A method to retrieve the timeout period currently being used.
virtual ~HwInterface()
Destructor.