5 #ifndef UAVCAN_SUB_NODE_NODE_HPP_INCLUDED 6 #define UAVCAN_SUB_NODE_NODE_HPP_INCLUDED 13 # error "This functionality is not available in tiny mode" 23 template <std::
size_t MemPoolSize = 0>
27 Select<(MemPoolSize > 0),
40 internal_failure_cnt_++;
51 scheduler_(can_driver, pool_allocator_, system_clock),
52 internal_failure_cnt_(0)
61 pool_allocator_(allocator),
62 scheduler_(can_driver, pool_allocator_, system_clock),
63 internal_failure_cnt_(0)
76 #endif // Include guard
SubNode(ICanDriver &can_driver, ISystemClock &system_clock, IPoolAllocator &allocator)
virtual RemoveReference< Allocator >::Type & getAllocator()
virtual const Scheduler & getScheduler() const
Select<(MemPoolSize > 0), PoolAllocator< MemPoolSize, MemPoolBlockSize >, IPoolAllocator & >::Result Allocator
virtual void registerInternalFailure(const char *msg)
#define UAVCAN_TRACE(...)
SubNode(ICanDriver &can_driver, ISystemClock &system_clock)
uint64_t getInternalFailureCount() const
uint64_t internal_failure_cnt_
virtual Scheduler & getScheduler()
Allocator pool_allocator_