replicode
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mBrane::NodeCon Class Reference

#include <networking.h>

Collaboration diagram for mBrane::NodeCon:
Collaboration graph

Public Member Functions

 NodeCon (Networking *node)
 
virtual ~NodeCon ()
 
bool setSourceNID (uint8_t sourceNID)
 
bool setName (const char *name)
 
bool isInUse ()
 
uint32_t getConnectionStatus ()
 
bool isConnected (module::Node::Network network=module::Node::EITHER)
 
bool disconnect ()
 
bool startNetworkChannel (CommChannel *c, uint8_t type, bool isCopy=false)
 
CommChannelgetNetworkChannel (uint8_t type)
 

Static Public Member Functions

static void ReceiveMessages (ReceiveThreadInfo *info)
 
static void PushJobs (NodeCon *_this)
 

Public Attributes

Networkingnode
 
NetworkIDnetworkID
 
uint8_t sourceNID
 
char * name
 
bool joined
 
bool ready
 
Array< CommChannel *, 6 > commChannels
 
Array< std::thread, 6 > commThreads
 
std::thread pushThread
 
Pipe11< P< _Payload >, MESSAGE_INPUT_BLOCK_SIZEbuffer
 

Constructor & Destructor Documentation

mBrane::NodeCon::NodeCon ( Networking node)
mBrane::NodeCon::~NodeCon ( )
virtual

Member Function Documentation

bool mBrane::NodeCon::disconnect ( )

Here is the caller graph for this function:

uint32_t mBrane::NodeCon::getConnectionStatus ( )
CommChannel * mBrane::NodeCon::getNetworkChannel ( uint8_t  type)
bool mBrane::NodeCon::isConnected ( module::Node::Network  network = module::Node::EITHER)

Here is the caller graph for this function:

bool mBrane::NodeCon::isInUse ( )
void mBrane::NodeCon::PushJobs ( NodeCon _this)
static

Here is the call graph for this function:

void mBrane::NodeCon::ReceiveMessages ( ReceiveThreadInfo info)
static

Here is the call graph for this function:

bool mBrane::NodeCon::setName ( const char *  name)

Here is the caller graph for this function:

bool mBrane::NodeCon::setSourceNID ( uint8_t  sourceNID)

Here is the caller graph for this function:

bool mBrane::NodeCon::startNetworkChannel ( CommChannel c,
uint8_t  type,
bool  isCopy = false 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Pipe11<P<_Payload>, MESSAGE_INPUT_BLOCK_SIZE> mBrane::NodeCon::buffer
Array<CommChannel *, 6> mBrane::NodeCon::commChannels
Array<std::thread, 6> mBrane::NodeCon::commThreads
bool mBrane::NodeCon::joined
char* mBrane::NodeCon::name
NetworkID* mBrane::NodeCon::networkID
Networking* mBrane::NodeCon::node
std::thread mBrane::NodeCon::pushThread
bool mBrane::NodeCon::ready
uint8_t mBrane::NodeCon::sourceNID

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