OpenJAUS Software Development Kit  4.3.1
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
openjaus::model::SystemTree Class Reference

This is a brief description. More...

#include <SystemTree.h>

Classes

class  Callback
 

Public Member Functions

const std::map< short, SubsystemInfo *> & getSubsystems () const
 Accessor to get the value of subsystems. More...
 
uint16_t getThisSubsytem () const
 Accessor to get the value of thisSubsytem. More...
 
bool setThisSubsytem (uint16_t thisSubsytem)
 Accessor to set value of thisSubsytem. More...
 
uint8_t getThisNode () const
 Accessor to get the value of thisNode. More...
 
bool setThisNode (uint8_t thisNode)
 Accessor to set value of thisNode. More...
 
const system::MutexgetMutex () const
 Accessor to get the value of mutex. More...
 
bool hasComponent (const transport::Address &address)
 
bool hasComponent (uint16_t subsystemId, uint8_t nodeId, uint8_t componentId)
 Operation hasComponent. More...
 
bool hasNode (const transport::Address &address)
 
bool hasNode (uint16_t subsystemId, uint8_t nodeId)
 Operation hasNode. More...
 
bool hasSubsystem (const transport::Address &address)
 
bool hasSubsystem (uint16_t subsystemId)
 Operation hasSubsystem. More...
 
bool hasComponentIdentification (ComponentInfo &component)
 Operation hasComponentIdentification. More...
 
bool hasComponentIdentification (const transport::Address &address)
 
bool hasComponentIdentification (uint16_t subsystemId, uint8_t nodeId, uint8_t componentId)
 Operation hasComponentIdentification. More...
 
bool hasNodeIdentification (NodeInfo &node)
 Operation hasNodeIdentification. More...
 
bool hasNodeIdentification (const transport::Address &address)
 
bool hasNodeIdentification (uint16_t subsystemId, uint8_t nodeId)
 Operation hasNodeIdentification. More...
 
bool hasSubsystemIdentification (SubsystemInfo &subsystem)
 Operation hasSubsystemIdentification. More...
 
bool hasSubsystemIdentification (const transport::Address &address)
 
bool hasSubsystemIdentification (uint16_t subsystemId)
 Operation hasSubsystemIdentification. More...
 
bool hasComponentConfiguration (ComponentInfo &component)
 Operation hasComponentConfiguration. More...
 
bool hasComponentConfiguration (const transport::Address &address)
 
bool hasComponentConfiguration (uint16_t subsystemId, uint8_t nodeId, uint8_t componentId)
 Operation hasComponentConfiguration. More...
 
bool hasNodeConfiguration (NodeInfo &node)
 Operation hasNodeConfiguration. More...
 
bool hasNodeConfiguration (const transport::Address &address)
 
bool hasNodeConfiguration (uint16_t subsystemId, uint8_t nodeId)
 Operation hasNodeConfiguration. More...
 
bool hasSubsystemConfiguration (SubsystemInfo &subsystem)
 Operation hasSubsystemConfiguration. More...
 
bool hasSubsystemConfiguration (const transport::Address &address)
 
bool hasSubsystemConfiguration (uint16_t subsystemId)
 Operation hasSubsystemConfiguration. More...
 
ComponentInfo getComponent (ComponentInfo &component, bool &success)
 Operation getComponent. More...
 
ComponentInfo getComponent (const transport::Address &address, bool &success)
 Operation getComponent. More...
 
ComponentInfo getComponent (uint16_t subsystemId, uint8_t nodeId, uint8_t componentId, bool &success)
 Operation getComponent. More...
 
NodeInfo getNode (NodeInfo &node, bool &success)
 Operation getNode. More...
 
NodeInfo getNode (const transport::Address &address, bool &success)
 Operation getNode. More...
 
NodeInfo getNode (uint16_t subsystemId, uint8_t nodeId, bool &success)
 Operation getNode. More...
 
SubsystemInfo getSubsystem (SubsystemInfo &subsystem, bool &success)
 Operation getSubsystem. More...
 
SubsystemInfo getSubsystem (const transport::Address &address, bool &success)
 Operation getSubsystem. More...
 
SubsystemInfo getSubsystem (uint16_t subsystemId, bool &success)
 Operation getSubsystem. More...
 
bool addService (transport::Address address, std::string uri, int versionMajor, int versionMinor)
 Operation addService. More...
 
bool addComponent (ComponentInfo &component)
 Operation addComponent. More...
 
bool addComponent (const transport::Address &address)
 
bool addComponent (uint16_t subsystemId, uint8_t nodeId, uint8_t componentId)
 Operation addComponent. More...
 
bool addNode (NodeInfo &node)
 Operation addNode. More...
 
bool addNode (const transport::Address &address)
 
bool addNode (uint16_t subsystemId, uint8_t nodeId)
 Operation addNode. More...
 
bool addSubsystem (SubsystemInfo &subsystem)
 Operation addSubsystem. More...
 
bool addSubsystem (const transport::Address &address)
 
bool addSubsystem (short subsystemId)
 Operation addSubsystem. More...
 
bool replaceComponent (ComponentInfo &component)
 Operation replaceComponent. More...
 
bool removeComponent (ComponentInfo &component)
 Operation removeComponent. More...
 
bool removeComponent (const transport::Address &address)
 
bool removeComponent (uint16_t subsystemId, uint8_t nodeId, uint8_t componentId)
 Operation removeComponent. More...
 
bool removeNode (NodeInfo &node)
 Operation removeNode. More...
 
bool removeNode (const transport::Address &address)
 
bool removeNode (uint16_t subsystemId, uint8_t nodeId)
 Operation removeNode. More...
 
bool removeSubsystem (SubsystemInfo &subsystem)
 Operation removeSubsystem. More...
 
bool removeSubsystem (const transport::Address &address)
 
bool removeSubsystem (uint16_t subsystemId)
 Operation removeSubsystem. More...
 
void lock ()
 Operation lock. More...
 
void unlock ()
 Operation unlock. More...
 
unsigned char getAvailableComponentId (uint16_t subsystemId, uint8_t nodeId)
 Operation getAvailableComponentId. More...
 
unsigned char getAvailableNodeId (uint16_t subsystemId)
 Operation getAvailableNodeId. More...
 
uint16_t getAvailableSubsystemId ()
 Operation getAvailableSubsystemId. More...
 
bool setComponentIdentification (const transport::Address &address, std::string name)
 Operation setComponentIdentification. More...
 
bool setNodeIdentification (const transport::Address &address, std::string name)
 Operation setNodeIdentification. More...
 
bool setSubsystemIdentification (const transport::Address &address, std::string name)
 Operation setSubsystemIdentification. More...
 
bool addLocalComponent (const transport::Address &address)
 Operation addLocalComponent. More...
 
virtual std::string toString () const
 
std::vector< uint16_t > getSubsystemIds ()
 
std::string toXml (unsigned char level=0) const
 
std::vector< transport::AddresslookupService (std::string uri, int versionMajor=Service::ANY_VERSION, int versionMinor=Service::ANY_VERSION, transport::Address addressHint=transport::Address(transport::Address::ANY_SUBSYSTEM, transport::Address::ANY_NODE, transport::Address::ANY_COMPONENT))
 
std::vector< transport::AddresslookupComponent (std::string name, transport::Address addressHint=transport::Address(transport::Address::ANY_SUBSYSTEM, transport::Address::ANY_NODE, transport::Address::ANY_COMPONENT))
 
void setIdentification (const transport::Address &address, std::string subsystemName, std::string nodeName, std::string componentName)
 
void addUnsolicitedSender (const transport::Address &source, const transport::Address &destination)
 
void addOnItemAddCallback (void(*onAddItemCallback)(void *object, const transport::Address &address), void *object)
 
void removeOnItemAddCallback (void(*onAddItemCallback)(void *object, const transport::Address &address), void *object)
 
void addOnLocalComponentAddCallback (void(*onAddLocalComponentCallback)(void *object, const transport::Address &address), void *object)
 Execute the provided callback when a local component is added. More...
 
void removeOnLocalComponentAddCallback (void(*onAddLocalComponentCallback)(void *object, const transport::Address &address), void *object)
 
void addOnUnsolicitedSenderAddCallback (void(*onAddUnsolicitedSenderCallback)(void *object, const transport::Address &source, const transport::Address &destination), void *object)
 
void removeOnUnsolicitedSenderAddCallback (void(*onAddUnsolicitedSenderCallback)(void *object, const transport::Address &source, const transport::Address &destination), void *object)
 
void addServices (const transport::Address &address, std::vector< model::Service *> *serviceList)
 

Static Public Member Functions

static SystemTreeinstance ()
 

Protected Member Functions

NodeInfofindNode (short subsId, unsigned char nodeId)
 
ComponentInfofindComponent (short subsId, unsigned char nodeId, unsigned char cmptId)
 

Protected Attributes

std::map< short, SubsystemInfo *> subsystems
 
uint16_t thisSubsytem
 
uint8_t thisNode
 
system::Mutex mutex
 

Private Member Functions

 SystemTree ()
 
virtual ~SystemTree ()
 
void executeOnItemAddCallbacks (const openjaus::transport::Address &address)
 
void executeOnLocalComponentAddCallbacks (const openjaus::transport::Address &address)
 
void executeOnAddUnsolicitedSenderCallbacks (const transport::Address &source, const transport::Address &destination)
 
bool addComponentInternal (const transport::Address &address)
 
bool addComponentInternal (uint16_t subsystemId, uint8_t nodeId, uint8_t componentId)
 

Private Attributes

system::Mutex onItemAddCallbacksLock
 
system::Mutex onLocalComponentAddCallbacksLock
 
system::Mutex onUnsolicitedSenderAddCallbacksLock
 
std::vector< SystemTree::CallbackonItemAddCallbacks
 
std::vector< SystemTree::CallbackonLocalComponentAddCallbacks
 
std::vector< SystemTree::CallbackonUnsolicitedSenderAddCallbacks
 

Friends

OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const SystemTree &object)
 
OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const SystemTree *object)
 

Detailed Description

Detailed description.

Author
Name (name@.nosp@m.emai.nosp@m.l.com)

Constructor & Destructor Documentation

§ SystemTree()

openjaus::model::SystemTree::SystemTree ( )
private

§ ~SystemTree()

openjaus::model::SystemTree::~SystemTree ( )
privatevirtual

Member Function Documentation

§ addComponent() [1/3]

bool openjaus::model::SystemTree::addComponent ( ComponentInfo component)
Parameters
component

§ addComponent() [2/3]

bool openjaus::model::SystemTree::addComponent ( const transport::Address address)
inline
Parameters
address

§ addComponent() [3/3]

bool openjaus::model::SystemTree::addComponent ( uint16_t  subsystemId,
uint8_t  nodeId,
uint8_t  componentId 
)
Parameters
subsystemId
nodeId
componentId

§ addComponentInternal() [1/2]

bool openjaus::model::SystemTree::addComponentInternal ( const transport::Address address)
inlineprivate

§ addComponentInternal() [2/2]

bool openjaus::model::SystemTree::addComponentInternal ( uint16_t  subsystemId,
uint8_t  nodeId,
uint8_t  componentId 
)
private

§ addLocalComponent()

bool openjaus::model::SystemTree::addLocalComponent ( const transport::Address address)
Parameters
address

§ addNode() [1/3]

bool openjaus::model::SystemTree::addNode ( NodeInfo node)
Parameters
node

§ addNode() [2/3]

bool openjaus::model::SystemTree::addNode ( const transport::Address address)
inline
Parameters
address

§ addNode() [3/3]

bool openjaus::model::SystemTree::addNode ( uint16_t  subsystemId,
uint8_t  nodeId 
)
Parameters
subsystemId
nodeId

§ addOnItemAddCallback()

void openjaus::model::SystemTree::addOnItemAddCallback ( void(*)(void *object, const transport::Address &address)  onAddItemCallback,
void *  object 
)

§ addOnLocalComponentAddCallback()

void openjaus::model::SystemTree::addOnLocalComponentAddCallback ( void(*)(void *object, const transport::Address &address)  onAddLocalComponentCallback,
void *  object 
)

Note: Adding a local component will execute both this callback as well as the OnItemAddCallback.

§ addOnUnsolicitedSenderAddCallback()

void openjaus::model::SystemTree::addOnUnsolicitedSenderAddCallback ( void(*)(void *object, const transport::Address &source, const transport::Address &destination)  onAddUnsolicitedSenderCallback,
void *  object 
)

§ addService()

bool openjaus::model::SystemTree::addService ( transport::Address  address,
std::string  uri,
int  versionMajor,
int  versionMinor 
)
Parameters
address
uri
versionMajor
versionMinor

§ addServices()

void openjaus::model::SystemTree::addServices ( const transport::Address address,
std::vector< model::Service *> *  serviceList 
)

§ addSubsystem() [1/3]

bool openjaus::model::SystemTree::addSubsystem ( SubsystemInfo subsystem)
Parameters
subsystem

§ addSubsystem() [2/3]

bool openjaus::model::SystemTree::addSubsystem ( const transport::Address address)
inline
Parameters
address

§ addSubsystem() [3/3]

bool openjaus::model::SystemTree::addSubsystem ( short  subsystemId)
Parameters
subsystemId

§ addUnsolicitedSender()

void openjaus::model::SystemTree::addUnsolicitedSender ( const transport::Address source,
const transport::Address destination 
)

§ executeOnAddUnsolicitedSenderCallbacks()

void openjaus::model::SystemTree::executeOnAddUnsolicitedSenderCallbacks ( const transport::Address source,
const transport::Address destination 
)
private

§ executeOnItemAddCallbacks()

void openjaus::model::SystemTree::executeOnItemAddCallbacks ( const openjaus::transport::Address address)
private

§ executeOnLocalComponentAddCallbacks()

void openjaus::model::SystemTree::executeOnLocalComponentAddCallbacks ( const openjaus::transport::Address address)
private

§ findComponent()

ComponentInfo * openjaus::model::SystemTree::findComponent ( short  subsId,
unsigned char  nodeId,
unsigned char  cmptId 
)
protected

§ findNode()

NodeInfo * openjaus::model::SystemTree::findNode ( short  subsId,
unsigned char  nodeId 
)
protected

§ getAvailableComponentId()

unsigned char openjaus::model::SystemTree::getAvailableComponentId ( uint16_t  subsystemId,
uint8_t  nodeId 
)
Parameters
subsystemId
nodeId

§ getAvailableNodeId()

unsigned char openjaus::model::SystemTree::getAvailableNodeId ( uint16_t  subsystemId)
Parameters
subsystemId

§ getAvailableSubsystemId()

uint16_t openjaus::model::SystemTree::getAvailableSubsystemId ( )

§ getComponent() [1/3]

ComponentInfo openjaus::model::SystemTree::getComponent ( ComponentInfo component,
bool &  success 
)
Parameters
component
success

§ getComponent() [2/3]

ComponentInfo openjaus::model::SystemTree::getComponent ( const transport::Address address,
bool &  success 
)
Parameters
address
success

§ getComponent() [3/3]

ComponentInfo openjaus::model::SystemTree::getComponent ( uint16_t  subsystemId,
uint8_t  nodeId,
uint8_t  componentId,
bool &  success 
)
Parameters
subsystemId
nodeId
componentId
success

§ getMutex()

const system::Mutex & openjaus::model::SystemTree::getMutex ( ) const

§ getNode() [1/3]

NodeInfo openjaus::model::SystemTree::getNode ( NodeInfo node,
bool &  success 
)
Parameters
node
success

§ getNode() [2/3]

NodeInfo openjaus::model::SystemTree::getNode ( const transport::Address address,
bool &  success 
)
Parameters
address
success

§ getNode() [3/3]

NodeInfo openjaus::model::SystemTree::getNode ( uint16_t  subsystemId,
uint8_t  nodeId,
bool &  success 
)
Parameters
subsystemId
nodeId
success

§ getSubsystem() [1/3]

SubsystemInfo openjaus::model::SystemTree::getSubsystem ( SubsystemInfo subsystem,
bool &  success 
)
Parameters
subsystem
success

§ getSubsystem() [2/3]

SubsystemInfo openjaus::model::SystemTree::getSubsystem ( const transport::Address address,
bool &  success 
)
Parameters
address
success

§ getSubsystem() [3/3]

SubsystemInfo openjaus::model::SystemTree::getSubsystem ( uint16_t  subsystemId,
bool &  success 
)
Parameters
subsystemId
success

§ getSubsystemIds()

std::vector< uint16_t > openjaus::model::SystemTree::getSubsystemIds ( )

§ getSubsystems()

const std::map< short, SubsystemInfo *> & openjaus::model::SystemTree::getSubsystems ( ) const

§ getThisNode()

uint8_t openjaus::model::SystemTree::getThisNode ( ) const

§ getThisSubsytem()

uint16_t openjaus::model::SystemTree::getThisSubsytem ( ) const

§ hasComponent() [1/2]

bool openjaus::model::SystemTree::hasComponent ( const transport::Address address)
inline
Parameters
address

§ hasComponent() [2/2]

bool openjaus::model::SystemTree::hasComponent ( uint16_t  subsystemId,
uint8_t  nodeId,
uint8_t  componentId 
)
Parameters
subsystemId
nodeId
componentId

§ hasComponentConfiguration() [1/3]

bool openjaus::model::SystemTree::hasComponentConfiguration ( ComponentInfo component)
Parameters
component

§ hasComponentConfiguration() [2/3]

bool openjaus::model::SystemTree::hasComponentConfiguration ( const transport::Address address)
inline
Parameters
address

§ hasComponentConfiguration() [3/3]

bool openjaus::model::SystemTree::hasComponentConfiguration ( uint16_t  subsystemId,
uint8_t  nodeId,
uint8_t  componentId 
)
Parameters
subsystemId
nodeId
componentId

§ hasComponentIdentification() [1/3]

bool openjaus::model::SystemTree::hasComponentIdentification ( ComponentInfo component)
Parameters
component

§ hasComponentIdentification() [2/3]

bool openjaus::model::SystemTree::hasComponentIdentification ( const transport::Address address)
inline
Parameters
address

§ hasComponentIdentification() [3/3]

bool openjaus::model::SystemTree::hasComponentIdentification ( uint16_t  subsystemId,
uint8_t  nodeId,
uint8_t  componentId 
)
Parameters
subsystemId
nodeId
componentId

§ hasNode() [1/2]

bool openjaus::model::SystemTree::hasNode ( const transport::Address address)
inline
Parameters
address

§ hasNode() [2/2]

bool openjaus::model::SystemTree::hasNode ( uint16_t  subsystemId,
uint8_t  nodeId 
)
Parameters
subsystemId
nodeId

§ hasNodeConfiguration() [1/3]

bool openjaus::model::SystemTree::hasNodeConfiguration ( NodeInfo node)
Parameters
node

§ hasNodeConfiguration() [2/3]

bool openjaus::model::SystemTree::hasNodeConfiguration ( const transport::Address address)
inline
Parameters
address

§ hasNodeConfiguration() [3/3]

bool openjaus::model::SystemTree::hasNodeConfiguration ( uint16_t  subsystemId,
uint8_t  nodeId 
)
Parameters
subsystemId
nodeId

§ hasNodeIdentification() [1/3]

bool openjaus::model::SystemTree::hasNodeIdentification ( NodeInfo node)
Parameters
node

§ hasNodeIdentification() [2/3]

bool openjaus::model::SystemTree::hasNodeIdentification ( const transport::Address address)
inline
Parameters
address

§ hasNodeIdentification() [3/3]

bool openjaus::model::SystemTree::hasNodeIdentification ( uint16_t  subsystemId,
uint8_t  nodeId 
)
Parameters
subsystemId
nodeId

§ hasSubsystem() [1/2]

bool openjaus::model::SystemTree::hasSubsystem ( const transport::Address address)
inline
Parameters
address

§ hasSubsystem() [2/2]

bool openjaus::model::SystemTree::hasSubsystem ( uint16_t  subsystemId)
Parameters
subsystemId

§ hasSubsystemConfiguration() [1/3]

bool openjaus::model::SystemTree::hasSubsystemConfiguration ( SubsystemInfo subsystem)
Parameters
subsystem

§ hasSubsystemConfiguration() [2/3]

bool openjaus::model::SystemTree::hasSubsystemConfiguration ( const transport::Address address)
inline
Parameters
address

§ hasSubsystemConfiguration() [3/3]

bool openjaus::model::SystemTree::hasSubsystemConfiguration ( uint16_t  subsystemId)
Parameters
subsystemId

§ hasSubsystemIdentification() [1/3]

bool openjaus::model::SystemTree::hasSubsystemIdentification ( SubsystemInfo subsystem)
Parameters
subsystem

§ hasSubsystemIdentification() [2/3]

bool openjaus::model::SystemTree::hasSubsystemIdentification ( const transport::Address address)
inline
Parameters
address

§ hasSubsystemIdentification() [3/3]

bool openjaus::model::SystemTree::hasSubsystemIdentification ( uint16_t  subsystemId)
Parameters
subsystemId

§ instance()

SystemTree & openjaus::model::SystemTree::instance ( )
static

§ lock()

void openjaus::model::SystemTree::lock ( )

§ lookupComponent()

std::vector< transport::Address > openjaus::model::SystemTree::lookupComponent ( std::string  name,
transport::Address  addressHint = transport::Address(transport::Address::ANY_SUBSYSTEMtransport::Address::ANY_NODE,transport::Address::ANY_COMPONENT) 
)

§ lookupService()

std::vector< transport::Address > openjaus::model::SystemTree::lookupService ( std::string  uri,
int  versionMajor = Service::ANY_VERSION,
int  versionMinor = Service::ANY_VERSION,
transport::Address  addressHint = transport::Address(transport::Address::ANY_SUBSYSTEMtransport::Address::ANY_NODE,transport::Address::ANY_COMPONENT) 
)

§ removeComponent() [1/3]

bool openjaus::model::SystemTree::removeComponent ( ComponentInfo component)
Parameters
component

§ removeComponent() [2/3]

bool openjaus::model::SystemTree::removeComponent ( const transport::Address address)
inline
Parameters
address

§ removeComponent() [3/3]

bool openjaus::model::SystemTree::removeComponent ( uint16_t  subsystemId,
uint8_t  nodeId,
uint8_t  componentId 
)
Parameters
subsystemId
nodeId
componentId

§ removeNode() [1/3]

bool openjaus::model::SystemTree::removeNode ( NodeInfo node)
Parameters
node

§ removeNode() [2/3]

bool openjaus::model::SystemTree::removeNode ( const transport::Address address)
inline
Parameters
address

§ removeNode() [3/3]

bool openjaus::model::SystemTree::removeNode ( uint16_t  subsystemId,
uint8_t  nodeId 
)
Parameters
subsystemId
nodeId

§ removeOnItemAddCallback()

void openjaus::model::SystemTree::removeOnItemAddCallback ( void(*)(void *object, const transport::Address &address)  onAddItemCallback,
void *  object 
)

§ removeOnLocalComponentAddCallback()

void openjaus::model::SystemTree::removeOnLocalComponentAddCallback ( void(*)(void *object, const transport::Address &address)  onAddLocalComponentCallback,
void *  object 
)

§ removeOnUnsolicitedSenderAddCallback()

void openjaus::model::SystemTree::removeOnUnsolicitedSenderAddCallback ( void(*)(void *object, const transport::Address &source, const transport::Address &destination)  onAddUnsolicitedSenderCallback,
void *  object 
)

§ removeSubsystem() [1/3]

bool openjaus::model::SystemTree::removeSubsystem ( SubsystemInfo subsystem)
Parameters
subsystem

§ removeSubsystem() [2/3]

bool openjaus::model::SystemTree::removeSubsystem ( const transport::Address address)
inline
Parameters
address

§ removeSubsystem() [3/3]

bool openjaus::model::SystemTree::removeSubsystem ( uint16_t  subsystemId)
Parameters
subsystemId

§ replaceComponent()

bool openjaus::model::SystemTree::replaceComponent ( ComponentInfo component)
Parameters
component

§ setComponentIdentification()

bool openjaus::model::SystemTree::setComponentIdentification ( const transport::Address address,
std::string  name 
)
Parameters
address
name

§ setIdentification()

void openjaus::model::SystemTree::setIdentification ( const transport::Address address,
std::string  subsystemName,
std::string  nodeName,
std::string  componentName 
)

§ setNodeIdentification()

bool openjaus::model::SystemTree::setNodeIdentification ( const transport::Address address,
std::string  name 
)
Parameters
address
name

§ setSubsystemIdentification()

bool openjaus::model::SystemTree::setSubsystemIdentification ( const transport::Address address,
std::string  name 
)
Parameters
address
name

§ setThisNode()

bool openjaus::model::SystemTree::setThisNode ( uint8_t  thisNode)
Parameters
thisNodeThe value of the new thisNode.

§ setThisSubsytem()

bool openjaus::model::SystemTree::setThisSubsytem ( uint16_t  thisSubsytem)
Parameters
thisSubsytemThe value of the new thisSubsytem.

§ toString()

std::string openjaus::model::SystemTree::toString ( ) const
virtual

§ toXml()

std::string openjaus::model::SystemTree::toXml ( unsigned char  level = 0) const

§ unlock()

void openjaus::model::SystemTree::unlock ( )

Friends And Related Function Documentation

§ operator<< [1/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const SystemTree object 
)
friend

§ operator<< [2/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const SystemTree object 
)
friend

Member Data Documentation

§ mutex

system::Mutex openjaus::model::SystemTree::mutex
protected

§ onItemAddCallbacks

std::vector<SystemTree::Callback> openjaus::model::SystemTree::onItemAddCallbacks
private

§ onItemAddCallbacksLock

system::Mutex openjaus::model::SystemTree::onItemAddCallbacksLock
private

§ onLocalComponentAddCallbacks

std::vector<SystemTree::Callback> openjaus::model::SystemTree::onLocalComponentAddCallbacks
private

§ onLocalComponentAddCallbacksLock

system::Mutex openjaus::model::SystemTree::onLocalComponentAddCallbacksLock
private

§ onUnsolicitedSenderAddCallbacks

std::vector<SystemTree::Callback> openjaus::model::SystemTree::onUnsolicitedSenderAddCallbacks
private

§ onUnsolicitedSenderAddCallbacksLock

system::Mutex openjaus::model::SystemTree::onUnsolicitedSenderAddCallbacksLock
private

§ subsystems

std::map< short, SubsystemInfo * > openjaus::model::SystemTree::subsystems
protected

§ thisNode

uint8_t openjaus::model::SystemTree::thisNode
protected

§ thisSubsytem

uint16_t openjaus::model::SystemTree::thisSubsytem
protected

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