Public Member Functions | Public Attributes | Protected Types | Protected Attributes
Manager Class Reference

#include <Manager.h>

Inheritance diagram for Manager:
Inheritance graph
[legend]

List of all members.

Public Member Functions

int computeBroadcastDest ()
template<typename Q >
bool deserialize (char *p, int size, Q &pm)
virtual unsigned char getPriority ()
virtual void init_param ()
virtual bool isHost ()
void justOne ()
 Manager (ros::NodeHandle *n, int port, std::string name, unsigned char priority)
virtual void run ()=0
template<typename P >
int serialize (char *p, const boost::shared_ptr< P const > &pm)
template<typename P >
int serialize (char *p, P &pm)
void setBroadcast (bool bc)
void setDecimation (int i)
void setDestination (std::string destination)
virtual void setPriority (unsigned char prio)
void setSource (std::string source)
virtual void start ()
virtual void startRX ()
virtual void stop ()

Public Attributes

ros::NodeHandlen

Protected Types

enum  wmp_commands_t {
  STOP, TOPIC_STOP, TOPIC_START, TOPIC_DECIMATE,
  TOPIC_JUSTONE, SET_PRIORITY, GET_PRIORITY
}

Protected Attributes

bool amIdst
bool amIsrc
bool amIstatic
bool bc
boost::shared_array< uint8_t > dbuff
std::string decimation
std::vector< uint8_t > dests
unsigned char flow_prio
bool justone
std::string name
std::string param_dest
int port
char sbuff [MAX_DATA_SIZE]
bool stopped

Detailed Description

Definition at line 67 of file Manager.h.


Member Enumeration Documentation

enum Manager::wmp_commands_t [protected]
Enumerator:
STOP 
TOPIC_STOP 
TOPIC_START 
TOPIC_DECIMATE 
TOPIC_JUSTONE 
SET_PRIORITY 
GET_PRIORITY 

Definition at line 78 of file Manager.h.


Constructor & Destructor Documentation

Manager::Manager ( ros::NodeHandle n,
int  port,
std::string  name,
unsigned char  priority 
) [inline]

Definition at line 83 of file Manager.h.


Member Function Documentation

Definition at line 134 of file Manager.h.

template<typename Q >
bool Manager::deserialize ( char *  p,
int  size,
Q &  pm 
) [inline]

Definition at line 187 of file Manager.h.

virtual unsigned char Manager::getPriority ( ) [inline, virtual]

Definition at line 162 of file Manager.h.

virtual void Manager::init_param ( ) [inline, virtual]

Reimplemented in ServiceManager< T >, and ServiceManager< ros_rt_wmp_msgs::WMPControl >.

Definition at line 142 of file Manager.h.

virtual bool Manager::isHost ( ) [inline, virtual]
void Manager::justOne ( ) [inline]

Definition at line 100 of file Manager.h.

virtual void Manager::run ( ) [pure virtual]
template<typename P >
int Manager::serialize ( char *  p,
const boost::shared_ptr< P const > &  pm 
) [inline]

Definition at line 208 of file Manager.h.

template<typename P >
int Manager::serialize ( char *  p,
P &  pm 
) [inline]

Definition at line 214 of file Manager.h.

void Manager::setBroadcast ( bool  bc) [inline]

Definition at line 96 of file Manager.h.

void Manager::setDecimation ( int  i) [inline]

Definition at line 219 of file Manager.h.

void Manager::setDestination ( std::string  destination) [inline]

Definition at line 116 of file Manager.h.

virtual void Manager::setPriority ( unsigned char  prio) [inline, virtual]

Definition at line 166 of file Manager.h.

void Manager::setSource ( std::string  source) [inline]

Definition at line 104 of file Manager.h.

virtual void Manager::start ( ) [inline, virtual]

Definition at line 178 of file Manager.h.

virtual void Manager::startRX ( ) [inline, virtual]
virtual void Manager::stop ( ) [inline, virtual]

Definition at line 173 of file Manager.h.


Member Data Documentation

bool Manager::amIdst [protected]

Definition at line 72 of file Manager.h.

bool Manager::amIsrc [protected]

Definition at line 72 of file Manager.h.

bool Manager::amIstatic [protected]

Definition at line 72 of file Manager.h.

bool Manager::bc [protected]

Definition at line 72 of file Manager.h.

boost::shared_array<uint8_t> Manager::dbuff [protected]

Definition at line 76 of file Manager.h.

std::string Manager::decimation [protected]

Definition at line 73 of file Manager.h.

std::vector<uint8_t> Manager::dests [protected]

Definition at line 71 of file Manager.h.

unsigned char Manager::flow_prio [protected]

Definition at line 70 of file Manager.h.

bool Manager::justone [protected]

Definition at line 74 of file Manager.h.

Definition at line 82 of file Manager.h.

std::string Manager::name [protected]

Definition at line 73 of file Manager.h.

std::string Manager::param_dest [protected]

Definition at line 73 of file Manager.h.

int Manager::port [protected]

Definition at line 69 of file Manager.h.

char Manager::sbuff[MAX_DATA_SIZE] [protected]

Definition at line 75 of file Manager.h.

bool Manager::stopped [protected]

Definition at line 72 of file Manager.h.


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


ros_rt_wmp
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Mon Oct 6 2014 08:27:14