Public Member Functions | Private Member Functions | Private Attributes
canopen::IPCSyncLayer Class Reference

#include <master.h>

Inheritance diagram for canopen::IPCSyncLayer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void addNode (void *const ptr)
 IPCSyncLayer (const SyncProperties &p, boost::shared_ptr< can::CommInterface > interface, boost::shared_ptr< IPCSyncMaster > sync_master)
virtual void removeNode (void *const ptr)

Private Member Functions

virtual void handleDiag (LayerReport &report)
virtual void handleHalt (LayerStatus &status)
virtual void handleInit (LayerStatus &status)
virtual void handleRead (LayerStatus &status, const LayerState &current_state)
virtual void handleRecover (LayerStatus &status)
virtual void handleShutdown (LayerStatus &status)
virtual void handleWrite (LayerStatus &status, const LayerState &current_state)

Private Attributes

boost::shared_ptr
< can::CommInterface
interface_
boost::mutex mutex_
boost::unordered_set< void
const * > 
nodes_
boost::shared_ptr< IPCSyncMastersync_master_

Detailed Description

Definition at line 186 of file master.h.


Constructor & Destructor Documentation

canopen::IPCSyncLayer::IPCSyncLayer ( const SyncProperties p,
boost::shared_ptr< can::CommInterface interface,
boost::shared_ptr< IPCSyncMaster sync_master 
) [inline]

Definition at line 222 of file master.h.


Member Function Documentation

virtual void canopen::IPCSyncLayer::addNode ( void *const  ptr) [inline, virtual]

Implements canopen::SyncCounter.

Definition at line 227 of file master.h.

virtual void canopen::IPCSyncLayer::handleDiag ( LayerReport report) [inline, private, virtual]

Implements canopen::Layer.

Definition at line 218 of file master.h.

virtual void canopen::IPCSyncLayer::handleHalt ( LayerStatus status) [inline, private, virtual]

Implements canopen::Layer.

Definition at line 217 of file master.h.

void IPCSyncLayer::handleInit ( LayerStatus status) [private, virtual]

Implements canopen::Layer.

Definition at line 32 of file master.cpp.

virtual void canopen::IPCSyncLayer::handleRead ( LayerStatus status,
const LayerState current_state 
) [inline, private, virtual]

Implements canopen::Layer.

Definition at line 194 of file master.h.

virtual void canopen::IPCSyncLayer::handleRecover ( LayerStatus status) [inline, private, virtual]

Implements canopen::Layer.

Definition at line 219 of file master.h.

virtual void canopen::IPCSyncLayer::handleShutdown ( LayerStatus status) [inline, private, virtual]

Implements canopen::Layer.

Definition at line 207 of file master.h.

virtual void canopen::IPCSyncLayer::handleWrite ( LayerStatus status,
const LayerState current_state 
) [inline, private, virtual]

Implements canopen::Layer.

Definition at line 200 of file master.h.

virtual void canopen::IPCSyncLayer::removeNode ( void *const  ptr) [inline, virtual]

Implements canopen::SyncCounter.

Definition at line 235 of file master.h.


Member Data Documentation

Definition at line 187 of file master.h.

boost::mutex canopen::IPCSyncLayer::mutex_ [private]

Definition at line 192 of file master.h.

boost::unordered_set<void const *> canopen::IPCSyncLayer::nodes_ [private]

Definition at line 193 of file master.h.

boost::shared_ptr<IPCSyncMaster> canopen::IPCSyncLayer::sync_master_ [private]

Definition at line 189 of file master.h.


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


canopen_master
Author(s): Mathias Lüdtke
autogenerated on Sun Sep 3 2017 03:10:42